Zen Zen-01-W lacks cool / cooling
Bug Report
What happened
Device can support Heat / Cool, but mqtt (and HASS) can only support heat
What did you expect to happen
The device to be able to do more than heat.
How to reproduce it (minimal and precise)
Docs and HASS MQTT discover both only have HEAT mode.
Debug Info
Zigbee2MQTT version: 1.14.4 Adapter hardware: LAUNCHXL CC1352P-2 Adapter firmware version: Z-Stack_3.x.0 (commit f4a0d30302b4757771f01420272b6ced89001dbc)
Is there something more I can provide to help move this forward? :)
@brubaked do you still have this device? Could you help with this issue?
Alright, my setup since I switched to back from smartthings to Zigbee2MQTT only has heating, so I hadn't noticed this before. I can confirm that when the thermostat is configured to support cooling (page 19 of this document) the auto discovery only exposes the heating mode. If I manually configure the thermostat in the configuration.yaml file, the heating and cooling functions work as expected.
climate:
- platform: "mqtt"
name: "Zen Thermostat"
availability_topic: "zigbee2mqtt/bridge/state"
temperature_unit: "C"
min_temp: "10"
max_temp: "30"
mode_state_topic: "zigbee2mqtt/<FriendlyName>"
mode_state_template: "{{ value_json.system_mode }}"
mode_command_topic: "zigbee2mqtt/<FriendlyName>"
current_temperature_topic: "zigbee2mqtt/<FriendlyName>"
current_temperature_template: "{{ value_json.local_temperature }}"
temp_step: 0.5
action_topic: "zigbee2mqtt/<FriendlyName>"
action_template: "{% set values = {'idle':'off','heat':'heating','cool':'cooling','fan only':'fan'} %}{{ values[value_json.running_state] }}"
modes:
- "off"
- "heat"
- "cool"
- "fan only"
temperature_state_topic: "zigbee2mqtt/<FriendlyName>"
temperature_state_template: "{{ value_json.occupied_heating_setpoint }}"
temperature_command_topic: "zigbee2mqtt/<FriendlyName>/set/occupied_heating_setpoint"
The debug log during pairing when the thermostat is configured for heating and cooling is below:
Zigbee2MQTT:info 2020-09-14 08:03:41: Device '<FriendlyName>' joined
Zigbee2MQTT:info 2020-09-14 08:03:41: Starting interview of '<FriendlyName>'
Zigbee2MQTT:info 2020-09-14 08:03:41: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"<FriendlyName>"},"type":"device_connected"}'
Zigbee2MQTT:info 2020-09-14 08:03:41: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"<FriendlyName>"},"type":"pairing"}'
Zigbee2MQTT:debug 2020-09-14 08:03:41: Device '<FriendlyName>' announced itself
Zigbee2MQTT:info 2020-09-14 08:03:41: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"<FriendlyName>"},"type":"device_announced"}'
Zigbee2MQTT:debug 2020-09-14 08:03:55: Received Zigbee message from '<FriendlyName>', type 'readResponse', cluster 'genBasic', data '{"modelId":"Zen-01"}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-09-14 08:03:55: No converter available for 'Zen-01-W' with cluster 'genBasic' and type 'readResponse' and data '{"modelId":"Zen-01"}'
Zigbee2MQTT:info 2020-09-14 08:03:55: MQTT publish: topic 'homeassistant/climate/<FriendlyName>/climate/config', payload '{"action_template":"{% set values = {'idle':'off','heat':'heating','cool':'cooling','fan only':'fan'} %}{{ values[value_json.running_state] }}","action_topic":"zigbee2mqtt/<FriendlyName>","availability_topic":"zigbee2mqtt/bridge/state","current_temperature_template":"{{ value_json.local_temperature }}","current_temperature_topic":"zigbee2mqtt/<FriendlyName>","device":{"identifiers":["zigbee2mqtt_<FriendlyName>"],"manufacturer":"Zen","model":"Thermostat (Zen-01-W)","name":"<FriendlyName>","sw_version":"Zigbee2MQTT 1.14.4"},"json_attributes_topic":"zigbee2mqtt/<FriendlyName>","max_temp":"30","min_temp":"10","mode_command_topic":"zigbee2mqtt/<FriendlyName>/set/system_mode","mode_state_template":"{{ value_json.system_mode }}","mode_state_topic":"zigbee2mqtt/<FriendlyName>","modes":["off","auto","heat"],"name":"<FriendlyName>_climate","temp_step":0.5,"temperature_command_topic":"zigbee2mqtt/<FriendlyName>/set/occupied_heating_setpoint","temperature_state_template":"{{ value_json.occupied_heating_setpoint }}","temperature_state_topic":"zigbee2mqtt/<FriendlyName>","temperature_unit":"C","unique_id":"<FriendlyName>_climate_zigbee2mqtt"}'
Zigbee2MQTT:info 2020-09-14 08:03:55: MQTT publish: topic 'homeassistant/sensor/<FriendlyName>/linkquality/config', payload '{"availability_topic":"zigbee2mqtt/bridge/state","device":{"identifiers":["zigbee2mqtt_<FriendlyName>"],"manufacturer":"Zen","model":"Thermostat (Zen-01-W)","name":"<FriendlyName>","sw_version":"Zigbee2MQTT 1.14.4"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/<FriendlyName>","name":"<FriendlyName>_linkquality","state_topic":"zigbee2mqtt/<FriendlyName>","unique_id":"<FriendlyName>_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Zigbee2MQTT:debug 2020-09-14 08:03:55: Received MQTT message on 'homeassistant/climate/<FriendlyName>/climate/config' with data '{"action_template":"{% set values = {'idle':'off','heat':'heating','cool':'cooling','fan only':'fan'} %}{{ values[value_json.running_state] }}","action_topic":"zigbee2mqtt/<FriendlyName>","availability_topic":"zigbee2mqtt/bridge/state","current_temperature_template":"{{ value_json.local_temperature }}","current_temperature_topic":"zigbee2mqtt/<FriendlyName>","device":{"identifiers":["zigbee2mqtt_<FriendlyName>"],"manufacturer":"Zen","model":"Thermostat (Zen-01-W)","name":"<FriendlyName>","sw_version":"Zigbee2MQTT 1.14.4"},"json_attributes_topic":"zigbee2mqtt/<FriendlyName>","max_temp":"30","min_temp":"10","mode_command_topic":"zigbee2mqtt/<FriendlyName>/set/system_mode","mode_state_template":"{{ value_json.system_mode }}","mode_state_topic":"zigbee2mqtt/<FriendlyName>","modes":["off","auto","heat"],"name":"<FriendlyName>_climate","temp_step":0.5,"temperature_command_topic":"zigbee2mqtt/<FriendlyName>/set/occupied_heating_setpoint","temperature_state_template":"{{ value_json.occupied_heating_setpoint }}","temperature_state_topic":"zigbee2mqtt/<FriendlyName>","temperature_unit":"C","unique_id":"<FriendlyName>_climate_zigbee2mqtt"}'
Zigbee2MQTT:debug 2020-09-14 08:03:55: Received MQTT message on 'homeassistant/sensor/<FriendlyName>/linkquality/config' with data '{"availability_topic":"zigbee2mqtt/bridge/state","device":{"identifiers":["zigbee2mqtt_<FriendlyName>"],"manufacturer":"Zen","model":"Thermostat (Zen-01-W)","name":"<FriendlyName>","sw_version":"Zigbee2MQTT 1.14.4"},"icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/<FriendlyName>","name":"<FriendlyName>_linkquality","state_topic":"zigbee2mqtt/<FriendlyName>","unique_id":"<FriendlyName>_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Zigbee2MQTT:debug 2020-09-14 08:03:55: Received Zigbee message from '<FriendlyName>', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"Zen Within"}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-09-14 08:03:55: No converter available for 'Zen-01-W' with cluster 'genBasic' and type 'readResponse' and data '{"manufacturerName":"Zen Within"}'
Zigbee2MQTT:debug 2020-09-14 08:03:55: Received Zigbee message from '<FriendlyName>', type 'readResponse', cluster 'genBasic', data '{"powerSource":129}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-09-14 08:03:55: No converter available for 'Zen-01-W' with cluster 'genBasic' and type 'readResponse' and data '{"powerSource":129}'
Zigbee2MQTT:debug 2020-09-14 08:03:56: Received Zigbee message from '<FriendlyName>', type 'readResponse', cluster 'genBasic', data '{"zclVersion":1}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-09-14 08:03:56: No converter available for 'Zen-01-W' with cluster 'genBasic' and type 'readResponse' and data '{"zclVersion":1}'
Zigbee2MQTT:debug 2020-09-14 08:03:56: Received Zigbee message from '<FriendlyName>', type 'readResponse', cluster 'genBasic', data '{"appVersion":23}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-09-14 08:03:56: No converter available for 'Zen-01-W' with cluster 'genBasic' and type 'readResponse' and data '{"appVersion":23}'
Zigbee2MQTT:debug 2020-09-14 08:03:56: Received Zigbee message from '<FriendlyName>', type 'readResponse', cluster 'genBasic', data '{"stackVersion":2}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-09-14 08:03:56: No converter available for 'Zen-01-W' with cluster 'genBasic' and type 'readResponse' and data '{"stackVersion":2}'
Zigbee2MQTT:debug 2020-09-14 08:03:56: Received Zigbee message from '<FriendlyName>', type 'readResponse', cluster 'genBasic', data '{"hwVersion":2}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-09-14 08:03:56: No converter available for 'Zen-01-W' with cluster 'genBasic' and type 'readResponse' and data '{"hwVersion":2}'
Zigbee2MQTT:debug 2020-09-14 08:03:56: Received Zigbee message from '<FriendlyName>', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-09-14 08:03:56: No converter available for 'Zen-01-W' with cluster 'genBasic' and type 'readResponse' and data '{}'
Zigbee2MQTT:debug 2020-09-14 08:03:56: Received Zigbee message from '<FriendlyName>', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2020-09-14 08:03:56: No converter available for 'Zen-01-W' with cluster 'genBasic' and type 'readResponse' and data '{}'
Zigbee2MQTT:info 2020-09-14 08:03:56: Successfully interviewed '<FriendlyName>', device has successfully been paired
Zigbee2MQTT:info 2020-09-14 08:03:56: Device '<FriendlyName>' is supported, identified as: Zen Thermostat (Zen-01-W)
Zigbee2MQTT:info 2020-09-14 08:03:56: Configuring '<FriendlyName>'
Zigbee2MQTT:info 2020-09-14 08:03:56: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Thermostat","friendly_name":"<FriendlyName>","model":"Zen-01-W","supported":true,"vendor":"Zen"},"type":"pairing"}'
Zigbee2MQTT:info 2020-09-14 08:04:08: Successfully configured '<FriendlyName>'
Zigbee2MQTT:debug 2020-09-14 08:04:58: Received Zigbee message from '<FriendlyName>', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":544,"imageType":2,"manufacturerCode":4440}' from endpoint 1 with groupID 0
It seems like the thermostat is indeed only reporting that it has off, auto and heat modes available:
"modes":["off","auto","heat"]
So does this mean it needs to be fixed at zigbee-herdsman level? Or a flaw with the device?
@Koenkk @brubaked Following up on this. I hate having to poke people. Thank you for the help. :)
@JasonSwindle Sorry! I haven't had time to dive into this deeper and figure out where the lack of feature autodetection lies. In the meantime, using the YAML code I posted above should give you access to cooling control in Home Assistant.
Howdy,
I will give this a test. By configuration.yaml do you mean Zigbee2MQTT or HASS? They both have a configuration.yaml file, but I figure it goes into HASS, as it looks like a config for it.
** EDIT **
Testing the supplied override now. Seems to be working. Thank you @brubaked
I'm not sure if this is the dev version, or something else, but I can update MQTT but the device never gets the update. I'm seeing this in the log:
ERROR: Publish 'set' 'occupied_heating_setpoint' to 'zen-thermostat' failed: 'Error: Write 0x00244600000eaea7/1 hvacThermostat({"occupiedHeatingSetpoint":1600}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Timeout - 56085 - 1 - 10 - 513 - 4 after 10000ms)'
@brubaked Using your setup, I can see MQTT is updated, but the unit never updates to the correct temp. Any advice?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
Not stale, but cannot get movement. Bump.
I.have problem with integration also. Thermostat reporting temp and heating/idle status correctly, but set_temp works only 1 of 5 times and very laggy...I used deconz soft before and it works better with setting occupied temp.
Bring this back, as this is still not working correctly.
Having this same issue as well
@Koenkk Can we get this re-opened? The device still not work correctly.
Hey all! I submitted a fix for this to zigbee-herdsman-converters and it was merged, so you should be able to use cool mode now. I'm also working on getting a cooling setpoint added.
Thank you so much @gunnarsundberg !
I'm unfortunately having this issue with a Zen stat. Current version of Zigbee2MQTT and experiencing the exact same issues as OP.
@ctjameson the problem is in zigbee-herdsman-converters. There's no cooling setpoint for the Zen thermostat. I am running a custom version that adds a cooling setpoint. I'll submit a PR when I get the chance
Thanks @gunnarsundberg. How complicated is it for me to do the same until it's been integrated? Would you be willing to assist me with that? If not, that's fine as well. I can just wait.