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

zigbee change offsets of humidity and temp? #154

Open
RMHogervorst opened this issue Jun 21, 2024 · 4 comments
Open

zigbee change offsets of humidity and temp? #154

RMHogervorst opened this issue Jun 21, 2024 · 4 comments

Comments

@RMHogervorst
Copy link

I feel this is a dumb question, but can I modify the temperature and humidity sensor offsets through zigbee?

I flashed a device and realise the temp is off.

@RMHogervorst
Copy link
Author

Preferably through home assistant

@devbis
Copy link
Owner

devbis commented Jun 22, 2024

Yes you can. https://github.com/devbis/z03mmc?tab=readme-ov-file#configuring-the-device
You can write corresponding values to the mentioned clusters/attributes for the result you need.

@RMHogervorst
Copy link
Author

RMHogervorst commented Jun 25, 2024

Okay I've tried several things but I don't know how to change the values through home assistant with ZHA.

Could you help me?

Here is what I tried:

Modify values through the device page

  • Go to device page
  • click on three dots under device info.
  • click on manage zigbee device

In there we have values for temperature measurement 0x0402. and a min, a max and some more attributes, but not attribute: 0x0010.

I can write values but that doesn't seem to have an effect.

use developer tools / call service / issue zigbee cluster command

  • go to developer tools
  • go to tab call service
  • pick issue zigbee cluster command

I know the ieee of the device, I know the cluster id (1) but I am a bit lost on what to do next.
Do you have an example yaml that I can use?

@RMHogervorst
Copy link
Author

oh noo, do I need to translate the hex to integer?

  • cluster_id: 0x0402 = 1026
  • attribute: 0x0010 = 16

This at least gives me a green check mark on execution.

service: zha.set_zigbee_cluster_attribute
data:
  cluster_type: in
  ieee: [mac address]
  cluster_id: 1026
  endpoint_id: 1
  attribute: 16
  value: -1000

But this does not seem to change the values I get back from the device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants