-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add entities for Input, Output and Value Clusters #133
Comments
This is created as a summary. When I start on this I will create individual Issues and PRs for each implementation. |
Hey I've been working on writing an Arduino library(for public release) for the Espressif Zigbee chips to support Multistate and Analog values and I've come across a bit of a roadblock when trying to integrate them with ZHA. Currently working on the Multistate Value implementation and noticed that the current ZHA SelectEntity mappings all rely on using an enum to provide the name of the selector and the options that is has. As you probably already know the ZCL standard has the 0x0055(State Text) for providing the wording of the options and 0x001C(Description) for providing the description of what the cluster represents (limited to 16 chars) I was hoping to use these fields so that people making their own Zigbee devices have less to write in their custom quirks and the Zigbee device itself could be more self describing. Unfortunately I'm kind of a scrub when it comes to Python so I only know enough to have worked out that either in it's current state it won't do what I need (accept the options list and option name from the Zigbee Cluster Attributes) or I simply don't know enough Python to implement an appropriate quirk to achieve the same. |
This is in work. See: #197 and zigpy/zigpy#1456 |
Thanks! Sorry I didn't notice that one sooner. You might want to also note the issue I opened on zigpy if you're doing work in that space: zigpy/zigpy#1526 |
We already have entities OOTB for AnalogOutput (number entities). We should add implementations for the rest of the clusters in this section of ZCL. It may make sense to have these all start disabled by default.
Analog Input Add support for entities derived from AnalogInput cluster #146 - sensor?
Analog Value - number?
Binary Input - binary sensor?
Binary Output - switch?
Binary Value - switch?
Multistate Input - enum sensor?
Multistate Output - enum select entity?
Multistate Value - enum select entity?
The text was updated successfully, but these errors were encountered: