Giter VIP home page Giter VIP logo

Comments (7)

Mr-Markus avatar Mr-Markus commented on July 17, 2024

I have no idea about binding, sorry. When I began this project I thought that I need to bind a device to send and receive data, but then I realised that it is no necessary.

I read data from a device by using an endpoints cluster methods. I described it here:
https://github.com/Mr-Markus/ZigbeeNet/wiki/Read-attributes

But I think it is not a good idea to read data every few seconds (polling), but believe that there is something like binding, that notifies the coordinator or our programm about value changing.

Maybe you can found more information in the official Zigbee docs here:
https://github.com/Mr-Markus/ZigbeeNet/tree/develop/docs/zigbee-protocol

from zigbeenet.

spudwebb avatar spudwebb commented on July 17, 2024

But I think it is not a good idea to read data every few seconds (polling), but believe that there is something like binding, that notifies the coordinator or our programm about value changing.

yes this done by using the ZclCluster.SetReporting method to configure what attribute should be reported and when.

after some googling it looks like the Hue bulb that I'm testing with do not handle this feature, so this is probably why I get the UNREPORTABLE_ATTRIBUTE status. So I guess I need to get some other zigbee devices to test with.

if you can test this feature with the devices you have, that would be great.

from zigbeenet.

Mr-Markus avatar Mr-Markus commented on July 17, 2024

I own Hue, Ikea and Osram devices and will test it with them. Is it enough to use your code below to do this? And should the reported attributes be displayed in the console logging when it toggles on/off for example? Just that I know what I should test.

after some googling it looks like the Hue bulb that I'm testing with do not handle this feature, so this is probably why I get the UNREPORTABLE_ATTRIBUTE status. So I guess I need to get some other zigbee devices to test with.
Yes, I learned that some manufacturers do not support some special features. But it is documented in official Zigbee docs: https://zigbee.org/zigbee-products-2/

Then take a look on the documents, where the manufacturers answered some common questions (e.g. if they implement an attribute)
image

from zigbeenet.

Mr-Markus avatar Mr-Markus commented on July 17, 2024

Do you have further questions or can this issue be closed?

from zigbeenet.

spudwebb avatar spudwebb commented on July 17, 2024

Did you had a chance to test reporting on your devices? If so does it work?

from zigbeenet.

Mr-Markus avatar Mr-Markus commented on July 17, 2024

At the moment I have only Osram bulbs for testing. Also I am moving within next weeks, so that my equipment and time is limited. But if I have the chance to test it I will comment it here

from zigbeenet.

spudwebb avatar spudwebb commented on July 17, 2024

Attribute reporting works fine. Closing this issue

from zigbeenet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.