node-lumi-aqara
node-lumi-aqara copied to clipboard
Stopped working
I am not sure whether it is firmware update of software update, but my setup has stopped working. Running 1.4.0 Xiaomi2MQTT based on Lumi-Aqara. Error messages get logged:
not handled: {"cmd":"report","model":"gateway","sid":"34ce0091f88b","short_id":0,"data":"{"rgb":0,"illumination":529}"} not handled: {"cmd":"report","model":"gateway","sid":"34ce0091f88b","short_id":0,"data":"{"rgb":0,"illumination":514}"} not handled: {"cmd":"report","model":"sensor_ht","sid":"158d0001ddb366","short_id":34090,"data":"{"temperature":"1885"}"} not handled: {"cmd":"report","model":"sensor_ht","sid":"158d0001ddb366","short_id":34090,"data":"{"humidity":"6595"}"} not handled: {"cmd":"report","model":"sensor_switch.aq2","sid":"158d0001b76901","short_id":10905,"data":"{"status":"click"}"} not handled: {"cmd":"report","model":"sensor_switch.aq2","sid":"158d0001b76901","short_id":10905,"data":"{"status":"click"}"} not handled: {"cmd":"report","model":"sensor_ht","sid":"158d0001ddb366","short_id":34090,"data":"{"temperature":"1893"}"} not handled: {"cmd":"report","model":"sensor_ht","sid":"158d0001ddb366","short_id":34090,"data":"{"humidity":"6602"}"}
It seems whether gateway no longer responds to whois commands, or it stopped sending heartbeat notifications.
Also having the same issue, interested to see if there is a fix.
If the application stops working first stop should be to test whether your application can receive multicast UDP packets. In my experience most virtual machines will not pick them up from the network.
You can test this by typing this on a Linux machine elsewhere on the same network:
netcat -u 224.0.0.50 9898
And then some random text on the next line. If this does not cause an error on your library end you are not receiving the multicast heartbeats.