-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Support for other sensors #17
Comments
Could sensor components be ported from ESPHome? https://github.com/esphome/esphome Also check out the code for the projects linked in this discussion: These DIY device projects use other custom Zigbee firmware with different sensors: https://github.com/rbaron/b-parasite https://www.tindie.com/stores/diyberk/ https://github.com/mattlokes/zwallremote https://github.com/MattWestb/DIY-ZigBee-smoke-dektor https://github.com/pvvx/ZigbeeTLc https://www.zigbee2mqtt.io/supported-devices/#v=Custom%20devices%20(DiY) |
Hello, For now adding new sensors could fall into one of two categories based on the fact if the sensor is supported(or otherwise has drivers) for Zephyr:
In both cases the sensor should also have Zigbee cluster(s) defined, and that could also be something that should be implemented, if necessary cluster is not yet available. I will add a section on support for new sensors and will update this issue to add a link to it.
Not directly, at least. ESPHome uses C++, while currently this project is C. I also have plans to switch to C++ for zigbee_home, but have higher priorities for now. |
For near future this will be the doc on supporting new sensors: https://ffenix113.github.io/zigbee_home/sensors/supporting_new_sensors/ It is not complete, as I want to try and describe as much as possible related to supporting sensors, so keep an eye on updates. |
Hi,
I find your project really useful for building custom home automation on zigbee.
I'd like to contribute by implementing more sensor/actuator support. I'm especially interested in rotary encoders as sensors and light outputs. I suppose interrupt support for encoders would be useful, but will this break any other parts of the application?
Any pointers where I should start to look to implement these?
The text was updated successfully, but these errors were encountered: