Skip to content
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

Offset humidity/temp #18

Closed
thkrmr opened this issue Nov 26, 2023 · 7 comments
Closed

Offset humidity/temp #18

thkrmr opened this issue Nov 26, 2023 · 7 comments
Labels
Solved Задача решена

Comments

@thkrmr
Copy link

thkrmr commented Nov 26, 2023

Is it possible to control the offset for humidity and temperature with the Zigbee firmware? With the BLE firmware I can do it directly in Telink Flasher, but obviously you can't use the Flasher anymore once the Zigbee variant is flashed.

I wanted to control the offset on device level, not HA, so that the display on the device itself would be correct as well. I use ZHA. I have 'calibrated' values for a bunch of LYWSD03MMC, because they drift when it comes to humidity.

@pvvx
Copy link
Owner

pvvx commented Nov 26, 2023

Introduce (represent) standard cluster numbers and attributes to Zigbee to change parameters.

@pvvx
Copy link
Owner

pvvx commented Dec 3, 2023

Added to README.md: Home Assistant with ZHA does not have functions for additional configuration of Zigbee devices. Until this changes, there can be no additions to the firmware.


The ZHA toolkit cannot read or change the values of arbitrary clusters.
Write to ZHA and Home Assistant about adding standard Zigbee 3 features.

@thkrmr
Copy link
Author

thkrmr commented Dec 3, 2023

@pvvx Does the zha toolkit help writing to arbitrary/any cluster?

It has the attr_write service command https://github.com/mdeweerd/zha-toolkit#attr_write-writeread-an-attribute-value

I'm wondering what the clusters would be to introduce the offset.

@pvvx
Copy link
Owner

pvvx commented Dec 3, 2023

To get started, try:

9. Switch temperature between Celsius and Fahrenheit (ClusterID: 0x0204, Attr: 0x0000, ENUM8 = 1 in C, = 2 in F)

https://github.com/pvvx/ZigbeeTLc#current-additions


Duplicate topic: devbis/z03mmc#78

On my test Zigbee 3 coordinator, everything is ok with my program.
Errors in the ZHA.

ZigBee Cluster Library Specification
Revision 6
Draft Version 1.0

image

@pvvx
Copy link
Owner

pvvx commented Dec 4, 2023

It will be possible to bypass the ZHA prejudices in the BLE-Zigbee version if a stable version can be created. At the same time, several tests are required on different systems.

@pvvx
Copy link
Owner

pvvx commented Dec 10, 2023

Added for ZHA (fw ver 0.1.1.5)

@pvvx
Copy link
Owner

pvvx commented Dec 10, 2023

ZHA: Setting offsets for temperature and humidity
Available starting from firmware version 0.1.1.6.

@pvvx pvvx closed this as completed Dec 10, 2023
@pvvx pvvx added the Solved Задача решена label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Solved Задача решена
Projects
None yet
Development

No branches or pull requests

2 participants