-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Question: fromZigbee.js type 'devChange' vs. 'attReport'? #289
Comments
I could be wrong, but AFAIK I would recommend to base your converter on |
attReport events happen on attribute changes when device.report() has been issued. devChange happens as a response after you write an attribute, when you specifically read a particular attribute, or when the device decides to send it to the coordinator even though it hasn't been specifically requested. To be as comprehensive as possible, there is also statusChange which doesn't seem to be documented on the zigbee-shepherd wiki but is the message type you get from a report after using the enroll procedure. To my knowledge, this only happens with ssIasZone cids, but, I could be wrong. |
When trying to take first steps to implement support for ubisys J1 (window cover) devices, I noticed that I get identical notifications of type 'devChange' and 'attReport' whenever an attribute configured for reporting changes.
What is the difference between the two and which one would you suggest I implement (and probably ignore the other)?
Thanks,
Felix
The text was updated successfully, but these errors were encountered: