-
Notifications
You must be signed in to change notification settings - Fork 45
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
esp_zigbee_type.h seems to be missing Zigbee HA standard illuminance sensor clusters. (TZ-1050) #401
Comments
Hello @elgerg, I couldn't find the definition for an illuminance sensor in the Zigbee Home Automation specification. Did you mean a light sensor? If so, adding the structure is straightforward. You can follow the code below.
We also will consider adding it in next version. |
Ah, my bad. I assume light sensor was illuminance based on this being in the header:
So, to add your code do I need to edit my local version of esp_zigbee_type.h? Sorry for the dumb questions, I'm trying to get this working under Arduino until the official wrapper is available. Thanks in advance! |
@elgerg ,
I suggest adding the code to your local file. I'm concerned that adding it to |
Hi @xieqinan, the light sensor is defined in Zigbee Home Automation specification as 0x0106. Can this be added please? |
The Light Sensor Number will also be added in the next release. In the meantime, please add it to your local file. |
@elgerg , This issue has been resolved in esp-zigbee-sdk v1.5.0. Please update to this version and test again. |
Answers checklist.
IDF version.
n/a
esp-zigbee-lib version.
Current
esp-zboss-lib version.
Unknown, looking at the source in this repo
Espressif SoC revision.
ESP32-H2
What is the expected behavior?
I'd expect a illuminance section in esp_zigbee_type.h similar to:
What is the actual behavior?
Nothing, it's not there
Steps to reproduce.
open esp_zigbee_type.h and search for illuminance, there is only one section for attributes but not one for the cluster.
More Information.
No response
The text was updated successfully, but these errors were encountered: