WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

Thermostat target temperature is set only based on `occupied_heating_setpoint` #311

Closed gunnarsundberg closed 6 months ago

gunnarsundberg commented 3 years ago

Currently, the target temperature in the UI only controls the occupied_heating_setpoint for zigbee2mqtt thermostats (see this code). On the Zen thermostat, I am only able to change the target temperature for cooling using the separate occupied_cooling_setpoint property. Is there a way to make the target temperature setting apply to both cooling and heating?

tim-hellhake commented 3 years ago

If I understand you correctly, your thermostat has an occupied_cooling_setpoint property but no occupied_heating_setpoint? I checked the Zen-01-W docs, but there is no mention of an occupied_cooling_setpoint. Do you have the legacy mode active in your zigbee2mqtt instance?

gunnarsundberg commented 3 years ago

Sorry I wasn't very clear. I have both, and occupied_heating_setpoint only works for heating and occupied_cooling_setpoint only works for cooling. If I update occupied_heating_setpoint (which shows up as the target temp in the UI), then the thermostat does not change its target temp while in cooling mode.

The reason it's not in the docs is that I went through the trouble of making a new config for the Zen thermostat in zigbee-herdsman-converters that exposes occupied_cooling_setpoint and adds 'cool' to the system modes. This allowed me to control the cooling function of my Zen thermostat, which hadn't been working. Maybe I'm running in legacy mode and that's messing everything up 🤦🏻

tim-hellhake commented 3 years ago

The reason it's not in the docs is that I went through the trouble of making a new config for the Zen thermostat in zigbee-herdsman-converters that exposes 'occupied_cooling_setpoint and adds 'cool' to the system modes.

Nice!

Is there a way to make the target temperature setting apply to both cooling and heating

That's not possible. If it's really the same thing you should expose it as a single property in the zigbee-herdsman-converters. What is the use-case for having two different target temperatures?

gunnarsundberg commented 2 years ago

It's not the same thing. There is a cooling setpoint property on Zen thermostats that is not exposed by zigbee-herdsman-converters, meaning that you cannot control the temperature in cool mode. I have opened an issue in their repo and there's nothing to be done here until that is resolved.