The API seems to be fine.
Today I deleted 2 of the sensors and re-paired them and had to restart fhem/deconz server several times.
Now I can see websocket messages for both deconz/phoscon on 192.168.1.120 and
for fhem webbrowser window on 192.168.1.45 for the smoke sensors and every other.
Funny thing is.
Nothing happens (no new timestamps for lastseen, battery and so on) on the fhem side if this message arrives:
12:29:41:741 Websocket 192.168.1.120:49582 send message: {"attr":{"ddf_hash":null,"ddf_policy":"latest_prefer_stable","lastannounced":null,"lastseen":"2025-04-26T10:29Z","manufacturername":"Heiman","modelid":"SMOK_YDLV10","name":"OG.Sz.Rauchmelder","nwkaddress":26547,"swversion":"20150330","type":"ZHAFire","uniqueid":"00:50:43:c9:03:35:65:3d-01-0500","zonetype":40},"e":"changed","id":"174","r":"sensors","t":"event","uniqueid":"00:50:43:c9:03:35:65:3d-01-0500"} (ret = 407)
12:29:41:744 Websocket 192.168.1.45:54520 send message: {"attr":{"ddf_hash":null,"ddf_policy":"latest_prefer_stable","lastannounced":null,"lastseen":"2025-04-26T10:29Z","manufacturername":"Heiman","modelid":"SMOK_YDLV10","name":"OG.Sz.Rauchmelder","nwkaddress":26547,"swversion":"20150330","type":"ZHAFire","uniqueid":"00:50:43:c9:03:35:65:3d-01-0500","zonetype":40},"e":"changed","id":"174","r":"sensors","t":"event","uniqueid":"00:50:43:c9:03:35:65:3d-01-0500"} (ret = 407)
12:29:41:749 DEV Binding read bindings /devices/0x005043C90335653D
Only if this message is send with the battery values fhem recognizes, that there is new actual data - that was the reason I always checked the battery timestamp for my own value NotSeen4hours:
12:13:11:536 SensorNode id: 174 (OG.Sz.Rauchmelder) available
12:13:11:538 SensorNode id: 173 (OG.Ar.Rauchmelder) available
12:13:11:542 rule event /config/localtime: 12:13:10.536 -> 12:13:11.536 (1000ms)
12:13:11:544 Websocket 192.168.1.120:49582 send message: {"config":{"battery":100,"on":true,"pending":[],"reachable":true},"e":"changed","id":"174","r":"sensors","t":"event","uniqueid":"00:50:43:c9:03:35:65:3d-01-0500"} (ret = 162)
12:13:11:545 Websocket 192.168.1.45:54520 send message: {"config":{"battery":100,"on":true,"pending":[],"reachable":true},"e":"changed","id":"174","r":"sensors","t":"event","uniqueid":"00:50:43:c9:03:35:65:3d-01-0500"} (ret = 162)
12:13:11:547 Websocket 192.168.1.120:49582 send message: {"config":{"battery":100,"on":true,"pending":[],"reachable":true},"e":"changed","id":"173","r":"sensors","t":"event","uniqueid":"80:4b:50:ff:fe:ff:e8:06-01-0500"} (ret = 162)
12:13:11:550 Websocket 192.168.1.45:54520 send message: {"config":{"battery":100,"on":true,"pending":[],"reachable":true},"e":"changed","id":"173","r":"sensors","t":"event","uniqueid":"80:4b:50:ff:fe:ff:e8:06-01-0500"} (ret = 162)
Lastseen gets not refreshed on the fhem side - although rest-api did send correct data.
BUT Only for the smoke sensors!
Heiman GASSensor-EM for example makes all the refreshing of all values even lastseen. Real strange - canāt find the difference.