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 HVAC endpoint support #10875

Open
1 task done
P-R-O-C-H-Y opened this issue Jan 17, 2025 · 4 comments
Open
1 task done

Zigbee HVAC endpoint support #10875

P-R-O-C-H-Y opened this issue Jan 17, 2025 · 4 comments
Assignees
Labels
Area: Zigbee Issues and Feature Request about Zigbee Type: Feature request Feature request for Arduino ESP32
Milestone

Comments

@P-R-O-C-H-Y
Copy link
Member

Related area

Zigbee

Hardware specification

C6/H2

Is your feature request related to a problem?

Add support of HVAC endpoint to the Zigbee library.

Describe the solution you'd like

Add support of HVAC endpoint to the Zigbee library.

Describe alternatives you've considered

No response

Additional context

Discussed in #10869

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.
@P-R-O-C-H-Y P-R-O-C-H-Y added the Type: Feature request Feature request for Arduino ESP32 label Jan 17, 2025
@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Jan 17, 2025
@P-R-O-C-H-Y P-R-O-C-H-Y added this to the 3.2.0 milestone Jan 17, 2025
@P-R-O-C-H-Y P-R-O-C-H-Y added the Area: Zigbee Issues and Feature Request about Zigbee label Jan 17, 2025
@P-R-O-C-H-Y
Copy link
Member Author

cc @mvermand22

@MatAtBread
Copy link

I'd be interested in this too. I'm half way through building one that kind of works, but struggling to understand how to implement the setReporting(...) functionality for things like runningMode.

As far as I can see, the HVAC spec doesn't specify a valve_position attribute. I've implemented this as a manufacturer-specific attribute on my HVAC cluster, but this is very much a work in progress and having a working example would be great 😃

@Danixu
Copy link

Danixu commented Feb 7, 2025

Just what I need. I want to convert my current ESP32 device which is controlling my A/C using ESPHome to Zigbee. I've located the used library and the only that I need is to have support for HVAC.

@mvermand22
Copy link

This is what I've got so far:

https://gist.github.com/mvermand22/18778bf1601e6c03f50a9cf72a3fd606
https://gist.github.com/mvermand22/4a81239b6037dcd73e3ed93d185feb63

sendReport does send ESP_ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_ID, but ESP_ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_HEATING_SETPOINT_ID doesn't seem to be sent... strange.
I also need to use address_mode = ESP_ZB_APS_ADDR_MODE_16_ENDP_PRESENT, else if I use ESP_ZB_APS_ADDR_MODE_DST_ADDR_ENDP_NOT_PRESENT nothing is sent too even for ESP_ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_ID.

It's really still some trail & error code. I'm not a Zigbee / Arduino / C++ expert :-)
I'm trying to get it working together with Samsung SmartThings hub.

On/Off works and changing temperature setpoint works... sometimes.
Sometimes I get INVALID_VALUE and then suddenly it works for the same value.
Haven't figured that one out yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Zigbee Issues and Feature Request about Zigbee Type: Feature request Feature request for Arduino ESP32
Projects
None yet
Development

No branches or pull requests

4 participants