New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SJCGQ11LM (Xiaomi Water Leak Sensor) doesn't report immediately #17
Comments
Work prefect on cc stick. |
@starkun it reports immediately after you drop it into the water? What configuration do you have? |
@Koenkk I'm who posted this in the HA forums. I just tried running cat /dev/ttyACM0 and immediately get feed back when I drop it into water, also get feedback as soon as I dry it off. |
You try to detect leak event with attReport message. But statusChange event is more good for this. |
@kirovilya do you have a description between the differen attrReport, devChange, statusChange? Would be great when adding more devices. |
@ciotlosm Look here: https://github.com/zigbeer/zigbee-shepherd/wiki#event-ind
devIncoming |
@ciotlosm Unfortunately not know. These were obtained by experience and in google. |
Thanks @tb-killa. It seems based on the information there that we should never ignore devChanged. Maybe it's better to recevie two mqtt messages than miss 1 potential sensor message. |
You also need modification of zigbee-shepherd library with this events support. |
Thank you very much @kirovilya, works perfect now! |
But does with the native gateway: https://www.youtube.com/watch?time_continue=149&v=8yGm2vH8HYQ
The text was updated successfully, but these errors were encountered: