-
Notifications
You must be signed in to change notification settings - Fork 28
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
Can't set Zigbee Attributes #101
Comments
ClusterID: 0x0204 (HEX) -> 516 (DEC)
ZHA Toolkit:
|
Ah, of course the HA values aren't in hex, woops. I got ZHA toolkit, tried it as well, and the response had the error: |
Have you changed "Measurement interval"? This is the interval after which communication with the device will occur. If the interval is large (over 6 sec), then the command must be repeated or the button on the device must be briefly pressed. The LYWSD03MMC has "Gnd" and "Reset" contacts instead of a button. I'm using Coordinator EZSP by Silicon Labs (EFR32MG21). With the correct firmware there are fewer problems with it. |
I haven't changed Measurement Interval. Checking it with ZHA toolkit's read attribute, it's set to 10. Bizarrely, I was able to set the min comfort temp just now through ZHA toolkit.... by removing the quotes around the value. Confirmed it has been set by reading the attribute. |
These attributes are not standard in the Zigbee 3.0 specification. Because of this disgrace, we have to exclude some standard clusters in the device code, since ZHA installs them incorrectly (without checking device restrictions specified in the Zigbee 3.0 specification) - PoolControl And there are several hundred such deviations in the current versions of ZHA and Z2M... |
Ahhh that makes sense! Thanks. Not entirely sure why removing the quotes around the value was important, but hey, it works. |
According to the docs, I should be able to set min/max comfort temp/humidity values via Zigbee attributes, but those attributes don't seem to exist. In ZHA, looking at the UserInterface cluster, I only see these three attributes:
I tried setting the value manually with the zha.set_zigbee_cluster_attribute service call, but I get this error:
Unexpected error for call_service at pos 1: Cluster 204 not found on endpoint 1 while writing attribute 102 with value 1800
My device is a LYWSD03MMC-z by Xiaomi, and I have just flashed the latest firmware (reported as 0x01213001 in HA)
The text was updated successfully, but these errors were encountered: