-
Notifications
You must be signed in to change notification settings - Fork 46
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
Enable Fahrenheit in ZHA #78
Comments
While I'm figuring out why it is not exposed to UI, you may try ZHA toolkit https://github.com/mdeweerd/zha-toolkit#attr_write-writeread-an-attribute-value and write 1 (Fahrenheit) to
|
Thanks @devbis - I tried the workaround but ZHA toolkit throws an error Also am not seeing a 0x0204 cluster - there is an 0x0402 though? |
You should use |
https://github.com/mdeweerd/zha-toolkit/blob/main/custom_components/zha_toolkit/utils.py#L444 The ZHA toolkit can't access other clusters it doesn't want to :) |
No worries, I can wait. The degrees on the display is not mission critical for my use case. |
@scarolan At last I was able to check switching to degrees Fahrenheit in ZHA. Unfortunately, raw zha just ignores cluster 0x0204, so I used zha-toolkit. (ieee - any entity from the device, battery, temperature, humidity, doesn't matter) service: zha_toolkit.attr_write
data:
ieee: sensor.xiaomi_lywsd03mmc_battery
cluster: 516
attribute: 0
attr_val: "1" I used developer mode to run services. Can you please try it? |
The cluster 0x0204 is not declared in the lists in the firmware. |
Nice! What should I put for "Target Cluster"? I tried 516 like the example but didn't get a result. |
I'm good with BLE for now, will keep my single Celsius Zigbee device for quick reference ;-) |
@scarolan The latest firmware supports switching via 1 sec pressing on reset-gnd contacts. |
Nice work, @devbis! |
I'm not seeing a cluster for toggling between C and F.
I'm running the latest 1.0.6 firmware. Is it possible to change the display to Fahrenheit with ZHA?
The text was updated successfully, but these errors were encountered: