Closed FKint closed 7 years ago
In the case of an energenie motion sensor, when you request to show the subdevice info (/api/v1/subdevices/show) this is part of the returned json:
"data": { "historical_sensor_data": { 10: 0, 11: 1, 12: 0, 13: 0, 14: 0, 15: 0, 16: 0, 17: 0, 18: 0, 19: 0, 20: 0, 21: 0, 22: 11, 23: 3, 00: 3, 01: 34, 02: 7, 03: 3, 04: 3, 05: 8, 06: 19, 07: 13, 08: 0, 09: 0, "recent": 0 } }
where the returned info is of the form hour : number of sensor events
So it should be part of the status field, right?
Yeah I guess so, I'll do this
What does the sensor_data field for MotionSensor represent? It is never used and there is no documentation.