{ "Arg":"NAME=Bewegungsmelder", "Results": [ { "Name":"Bewegungsmelder", "PossibleSets":"", "PossibleAttrs":"alias comment:textField-long eventMap group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 IODev follow-on-for-timer:1,0 follow-on-timer do_not_notify:1,0 ignore:1,0 dummy:1,0 showtime:1,0 valueFn:textField-long event-on-change-reading event-on-update-reading event-aggregator event-min-interval stateFormat:textField-long timestamp-on-change-reading alexaName alexaRoom cmdIcon devStateIcon devStateStyle fhem_widget_command, fhem_widget_command_2 fm_type fp_Haus genericDeviceType:security,ignore,switch,outlet,light,blind,thermometer,thermostat,contact,garage,window,lock homebridgeMapping:textField-long icon sortby webCmd widgetOverride userattr", "Internals": { "DEF": "1001d5c843 sensor_motion.aq2 SmartHome", "LASTInputDev": "SmartHome", "MODEL": "sensor_motion.aq2", "MSGCNT": "15", "NAME": "Bewegungsmelder", "NR": "65", "SID": "1001d5c843", "STATE": "motion", "SmartHome_MSGCNT": "15", "SmartHome_TIME": "2017-08-01 20:08:18", "TYPE": "XiaomiSmartHome_Device", "VERSION": "1.05" }, "Readings": { "battery": { "Value":"3.045", "Time":"2017-08-01 19:54:56" }, "heartbeat": { "Value":"1001d5c843", "Time":"2017-08-01 19:34:52" }, "motionOffTimer": { "Value":"5", "Time":"2017-08-01 15:46:57" }, "no_motion": { "Value":"300", "Time":"2017-08-01 20:04:05" }, "state": { "Value":"motion", "Time":"2017-08-01 20:08:18" } }, "Attributes": { "IODev": "SmartHome", "devStateIcon": "no_motion:motion_detector@red motion:motion_detector@green", "genericDeviceType": "MotionSensor", "group": "06_Motion Sensor", "homebridgeMapping": "MotionDetectedState=state,values=no_motion:off;/motion/:on", "room": "Wohnzimmer" } } ], "totalResultsReturned":1 } |
MotionDetected=state,values=no_motion:off;motion:on
homebridgeMapping MotionDetected=state,values=open:1;;closed:0