Pourtant dans les données brutes j’ai battery
{
"3": {
"config": {
"battery": 100,
"on": true,
"reachable": true,
"temperature": 2600,
"tholddark": 12000,
"tholdoffset": 7000
},
"ep": 1,
"etag": "7xxxxxxxxxxxxxxxxxxxxxxxxxx",
"lastseen": "2020-12-27T17:34Z",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_motion.aq2",
"name": "Motion Sensor",
"state": {
"dark": false,
"daylight": true,
"lastupdated": "2020-12-27T17:34:10.518",
"lightlevel": 20900,
"lux": 123
},
"swversion": "20170627",
"type": "ZHALightLevel",
"uniqueid": "0xxxxxxxxxxxxxxxxxxxxxxxxxx0"
},
"4": {
"config": {
"battery": 100,
"duration": 90,
"on": true,
"reachable": true,
"temperature": 2600
},
"ep": 1,
"etag": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"lastseen": "2020-12-27T17:34Z",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_motion.aq2",
"name": "Presence 4",
"state": {
"lastupdated": "2020-12-27T17:35:40.591",
"presence": false
},
"swversion": "20170627",
"type": "ZHAPresence",
"uniqueid": "xxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
« dark »: false,
« daylight »: true,
Jour / nuit ?