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

MOES Thermostat program sensor - State max length is 255 characters #16460

Closed
PeterCicaMolnar opened this issue Feb 1, 2023 · 48 comments
Closed
Labels
problem Something isn't working stale Stale issues

Comments

@PeterCicaMolnar
Copy link

What happened?

Moes BHT series Thermostat (BHT-002-GCLZB)
Program sensor is unavailable because of the error message in HA logger. Please see below.

What did you expect to happen?

No errors like before in HA logger and available program sensor of the thermostat.

How to reproduce it (minimal and precise)

Updated to 1.30.0

Zigbee2MQTT version

1.30.0

Adapter firmware version

0x26680700

Adapter

ConBee2

Debug log

Logger: homeassistant
Source: core.py:1140
First occurred: 20:05:51 (66 occurrences)
Last logged: 20:17:51

Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fb952085770>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fb9520cd2a0>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fb953bf1a10>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fb953c9e180>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fb953bf3140>)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 696, in _mqtt_handle_message
self._mqtt_data.state_write_requests.process_write_state_requests()
File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 267, in process_write_state_requests
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 556, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 673, in _async_write_ha_state
self.hass.states.async_set(
File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in async_set
state = State(
File "/usr/src/homeassistant/homeassistant/core.py", line 1140, in init
raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.moes_termosztat_program. State max length is 255 characters.

@PeterCicaMolnar PeterCicaMolnar added the problem Something isn't working label Feb 1, 2023
@samourai64
Copy link

Hello
I have the same problem with the same Thermostat
My config:
Home Assistant 2023.2.0
Supervisor 2023.01.1
Operating System 9.5
Interface utilisateur : 20230201.0 - latest
Zigbee2MQTT Current version: 1.30.0-1
Adaptateur is SONOFF Zigbee 3.0 USB Dongle Plus

When i send an order to the thermostat i have this problem
`Logger: homeassistant
Source: core.py:1144
First occurred: 10:26:57 (98 occurrences)
Last logged: 11:21:17

Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl... 0x7f7b07ec00>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl... 0x7f7b07c040>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl... 0x7f7b07f7d0>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl... 0x7f7b07c9e0>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl... 0x7f7b07dee0>)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 694, in _mqtt_handle_message
self._mqtt_data.state_write_requests.process_write_state_requests()
File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 267, in process_write_state_requests
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 566, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 683, in _async_write_ha_state
self.hass.states.async_set(
File "/usr/src/homeassistant/homeassistant/core.py", line 1512, in async_set
state = State(
File "/usr/src/homeassistant/homeassistant/core.py", line 1144, in init
raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.thermostat_program. State max length is 255 characters.
`

Thank's for the help

@Mosher23
Copy link

Mosher23 commented Feb 2, 2023

Hello,
I confirm the problem. After update to 1.30 i experience same problem.
`Logger: homeassistant
Source: core.py:1144
First occurred: 11:54:20 (631 occurrences)
Last logged: 11:57:22

Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fe4e3565d90>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fe4df4c2ea0>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fe4df407760>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fe4e37e7a00>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...x7fe4e408fdf0>)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 694, in _mqtt_handle_message
self._mqtt_data.state_write_requests.process_write_state_requests()
File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 267, in process_write_state_requests
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 566, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 683, in _async_write_ha_state
self.hass.states.async_set(
File "/usr/src/homeassistant/homeassistant/core.py", line 1512, in async_set
state = State(
File "/usr/src/homeassistant/homeassistant/core.py", line 1144, in init
raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.office_thermostat_program. State max length is 255 characters.
`

@samourai64
Copy link

samourai64 commented Feb 3, 2023

Hello
I observe 2 other porblems for me

  • that's now not possible for my thermostat to modify the program wiyh the zigbee2mtt web interface/Expose.
    Il i made a modification it's not possible to save the change.
  • My thermostat is always in preset mode "Hold". But now without modification, at each time of the weekdays program hours (i don't use it), it change to the temperature cible with witch is in the programation.
    I have 19° in the hold preset, and 4 times per days it change to the program t° 7°

Mysterious... If some on has solution.... Thank's

@samourai64
Copy link

no bug fix for the moment....
Another users have this problem?
Thank's

@Minims
Copy link

Minims commented Feb 6, 2023

raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.office_thermostat_program. State max length is 255 characters.

Yes I have this error too

@Minims
Copy link

Minims commented Feb 6, 2023

  • that's now not possible for my thermostat to modify the program wiyh the zigbee2mtt web interface/Expose.
    Il i made a modification it's not possible to save the change.

I confirmed the issue, too. unable to apply, my old program is visible in the state

@osre77
Copy link

osre77 commented Feb 7, 2023

I also have an similar issue since 1.30.0
Every 80ms I get this error until after about 10 hours the system stops responding
2023-02-06 21:41:32.000 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...xffff800673e0>) Traceback (most recent call last): File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 693, in _mqtt_handle_message self._mqtt_data.state_write_requests.process_write_state_requests() File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 267, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 566, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 683, in _async_write_ha_state self.hass.states.async_set( File "/usr/src/homeassistant/homeassistant/core.py", line 1512, in async_set state = State( File "/usr/src/homeassistant/homeassistant/core.py", line 1144, in __init__ raise InvalidStateError( homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.thermostat_kinderzimmer_jan_program. State max length is 255 characters.

@KameDomotics
Copy link

At the moment the only solution is to downgrade Zigbee2mqtt (if you have a backup)

@osre77
Copy link

osre77 commented Feb 10, 2023

I did downgrade to 1.29.2.
This solved that HA now works again, but Zigbee2mqtt still has issues, see:
zigbee2mqtt/hassio-zigbee2mqtt#459

@samourai64
Copy link

For me i prefer wait an update. i m not on the same place than my HA, so it's very diffcult to donwngard without risk....
Please, an update to correct this issue....
Thank's

@csszokolai
Copy link

Not possible to modify the program on the zigbee2mqtt web interface/Expose tab. The Apply button is inactive.

@samourai64
Copy link

samourai64 commented Mar 1, 2023

Hello
Not fixed with the les version 1.30.2.1.
It's a big problem ...
I hope a solution

The logs in the last update
`Logger: homeassistant
Source: core.py:1144
First occurred: 21:07:06 (2 occurrences)
Last logged: 21:08:07

Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl... 0x7f6e00c190>)
Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl... 0x7f68b76b90>)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 693, in _mqtt_handle_message
self._mqtt_data.state_write_requests.process_write_state_requests()
File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 267, in process_write_state_requests
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 566, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 683, in _async_write_ha_state
self.hass.states.async_set(
File "/usr/src/homeassistant/homeassistant/core.py", line 1512, in async_set
state = State(
File "/usr/src/homeassistant/homeassistant/core.py", line 1144, in init
raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.thermostat_program. State max length is 255 characters.
`

@M3te0r
Copy link

M3te0r commented Mar 7, 2023

Hi, I'm facing this problem too
Thermostat : Moes BHT series Thermostat (BHT-006GCZB)
Home Assistant : 2023.3.1
Zigbee2MQTT : 1.30.2-1

Here's the traceback from log viewer

2023-03-07 12:24:36.148 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl... 0x7f8c3589e0>)
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/components/mqtt/client.py", line 722, in _mqtt_handle_message
    self._mqtt_data.state_write_requests.process_write_state_requests()
  File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 267, in process_write_state_requests
    entity.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 559, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 676, in _async_write_ha_state
    self.hass.states.async_set(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1537, in async_set
    state = State(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1186, in __init__
    raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.thermostat_program. State max length is 255 characters.

@j-f-d
Copy link

j-f-d commented Mar 10, 2023

  1. My take on this is that components/mqtt/models.py shouldn't call entity.async_write_ha_state() with a state longer than MAX_LENGTH_STATE_STATE, because it can't prevent an MQTT client from posting a longer message.
  2. In helpers/entity.py, async_write_ha_state() should cope gracefully if it is called with a state longer than MAX_LENGTH_STATE_STATE.
  3. If Z2M is to work well with HA and not cause strange problems, it should probably also limit MQTT messages to MAX_LENGTH_STATE_STATE. I.e. another solution is required for handling program messages.

@j-f-d
Copy link

j-f-d commented Mar 10, 2023

At the moment the only solution is to downgrade Zigbee2mqtt (if you have a backup)

Switching to ZHA works, so may also be a work-around for some.

@Koenkk
Copy link
Owner

Koenkk commented Mar 12, 2023

Can someone provide the debug log when the state of this device is published?

See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging.

@samourai64
Copy link

samourai64 commented Mar 12, 2023

Hello
If someone arrived to have the debbug logging. i don't arrived
I don't know where to insert. In HA configuration yaml or in zigbee configuration.yaml?
advanced:
log_level: debug

@osre77
Copy link

osre77 commented Mar 12, 2023

I might remember wrong, but I think I tried this and did not get a single extra line of logging.

@M3te0r
Copy link

M3te0r commented Mar 12, 2023

Hi @Koenkk, I enabled the debug log, I think this is what you're looking for ?

Zigbee2MQTT:info 2023-03-12 18:03:08: MQTT publish: topic 'zigbee2mqtt/Thermostat', payload '{"child_lock":"UNLOCK","current_heating_setpoint":20,"deadzone_temperature":null,"heat":"OFF","linkquality":255,"local_temperature":21.5,"local_temperature_calibration":-4,"max_temperature":45,"max_temperature_limit":null,"min_temperature_limit":1,"preset":"hold","preset_mode":"hold","program":{"saturday_p1_hour":6,"saturday_p1_minute":0,"saturday_p1_temperature":24,"saturday_p2_hour":12,"saturday_p2_minute":0,"saturday_p2_temperature":23,"saturday_p3_hour":14,"saturday_p3_minute":30,"saturday_p3_temperature":22,"saturday_p4_hour":17,"saturday_p4_minute":30,"saturday_p4_temperature":21,"sunday_p1_hour":6,"sunday_p1_minute":0,"sunday_p1_temperature":19,"sunday_p2_hour":12,"sunday_p2_minute":30,"sunday_p2_temperature":20,"sunday_p3_hour":14,"sunday_p3_minute":30,"sunday_p3_temperature":21,"sunday_p4_hour":18,"sunday_p4_minute":30,"sunday_p4_temperature":20,"weekdays_p1_hour":6,"weekdays_p1_minute":0,"weekdays_p1_temperature":20,"weekdays_p2_hour":11,"weekdays_p2_minute":30,"weekdays_p2_temperature":21,"weekdays_p3_hour":13,"weekdays_p3_minute":30,"weekdays_p3_temperature":22,"weekdays_p4_hour":17,"weekdays_p4_minute":30,"weekdays_p4_temperature":23},"running_state":"idle","sensor":"AL","system_mode":"heat"}'

@danielszilagyi
Copy link

Can someone provide the debug log when the state of this device is published?

See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging.

Hi @Koenkk, I removed one from the network and joined it with debug enabled, hope it helps revealing the issue.
I have had a filter previously configured for this device not to publish "program" to mqtt though, to stop it from choking.
So if a new debug log is required with this filter removed, let me know.

Zigbee2MQTT:info  2023-03-13 00:43:24: Device 'Eloszoba_Floor' joined
Zigbee2MQTT:info  2023-03-13 00:43:25: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Eloszoba_Floor","ieee_address":"0x50325ffffe289f0c"},"type":"device_joined"}'
Zigbee2MQTT:info  2023-03-13 00:43:25: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"Eloszoba_Floor"},"type":"device_connected"}'
Zigbee2MQTT:info  2023-03-13 00:43:25: Starting interview of 'Eloszoba_Floor'
Zigbee2MQTT:info  2023-03-13 00:43:25: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Eloszoba_Floor","ieee_address":"0x50325ffffe289f0c","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:info  2023-03-13 00:43:25: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"Eloszoba_Floor"},"type":"pairing"}'
Zigbee2MQTT:debug 2023-03-13 00:43:25: Device 'Eloszoba_Floor' announced itself
Zigbee2MQTT:info  2023-03-13 00:43:25: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Eloszoba_Floor","ieee_address":"0x50325ffffe289f0c"},"type":"device_announce"}'
Zigbee2MQTT:info  2023-03-13 00:43:25: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"Eloszoba_Floor"},"type":"device_announced"}'
Zigbee2MQTT:debug 2023-03-13 00:43:25: Received Zigbee message from 'Eloszoba_Floor', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"_TZE200_aoclfnxz","modelId":"TS0601"}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:43:25: Received Zigbee message from 'Eloszoba_Floor', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:43:26: Received Zigbee message from 'Eloszoba_Floor', type 'readResponse', cluster 'genBasic', data '{"dateCode":""}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:43:26: Received Zigbee message from 'Eloszoba_Floor', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:26: Successfully interviewed 'Eloszoba_Floor', device has successfully been paired
Zigbee2MQTT:info  2023-03-13 00:43:26: Device 'Eloszoba_Floor' is supported, identified as: Moes Moes BHT series Thermostat (BHT-002-GCLZB)
Zigbee2MQTT:info  2023-03-13 00:43:26: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Moes BHT series Thermostat","exposes":[{"features":[{"access":3,"description":"Enables/disables physical input on the device","name":"state","property":"child_lock","type":"binary","value_off":"UNLOCK","value_on":"LOCK"}],"type":"lock"},{"access":3,"description":"The delta between local_temperature and current_heating_setpoint to trigger Heat","name":"deadzone_temperature","property":"deadzone_temperature","type":"numeric","unit":"°C","value_max":5,"value_min":0,"value_step":1},{"access":3,"description":"Maximum temperature limit. Cuts the thermostat out regardless of air temperature if the external floor sensor exceeds this temperature. Only used by the thermostat when in AL sensor mode.","name":"max_temperature_limit","property":"max_temperature_limit","type":"numeric","unit":"°C","value_max":35,"value_min":0},{"access":3,"description":"Minimum temperature limit for frost protection. Turns the thermostat on regardless of setpoint if the tempreature drops below this.","name":"min_temperature_limit","property":"min_temperature_limit","type":"numeric","unit":"°C","value_max":5,"value_min":1},{"features":[{"access":3,"description":"Temperature setpoint","name":"current_heating_setpoint","property":"current_heating_setpoint","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":1},{"access":1,"description":"Current temperature measured on the device","name":"local_temperature","property":"local_temperature","type":"numeric","unit":"°C"},{"access":3,"description":"Offset to be used in the local_temperature","name":"local_temperature_calibration","property":"local_temperature_calibration","type":"numeric","unit":"°C","value_max":30,"value_min":-30,"value_step":0.1},{"access":3,"description":"Mode of this device","name":"system_mode","property":"system_mode","type":"enum","values":["off","heat"]},{"access":1,"description":"The current running state","name":"running_state","property":"running_state","type":"enum","values":["idle","heat","cool"]},{"access":3,"description":"Mode of this device (similar to system_mode)","name":"preset","property":"preset","type":"enum","values":["hold","program"]}],"type":"climate"},{"access":3,"description":"Select temperature sensor to use","name":"sensor","property":"sensor","type":"enum","values":["IN","AL","OU"]},{"access":3,"description":"Time of day and setpoint to use when in program mode","features":[{"access":3,"name":"weekdays_p1_hour","property":"weekdays_p1_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"weekdays_p1_minute","property":"weekdays_p1_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"weekdays_p1_temperature","property":"weekdays_p1_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"weekdays_p2_hour","property":"weekdays_p2_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"weekdays_p2_minute","property":"weekdays_p2_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"weekdays_p2_temperature","property":"weekdays_p2_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"weekdays_p3_hour","property":"weekdays_p3_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"weekdays_p3_minute","property":"weekdays_p3_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"weekdays_p3_temperature","property":"weekdays_p3_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"weekdays_p4_hour","property":"weekdays_p4_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"weekdays_p4_minute","property":"weekdays_p4_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"weekdays_p4_temperature","property":"weekdays_p4_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"saturday_p1_hour","property":"saturday_p1_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"saturday_p1_minute","property":"saturday_p1_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"saturday_p1_temperature","property":"saturday_p1_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"saturday_p2_hour","property":"saturday_p2_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"saturday_p2_minute","property":"saturday_p2_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"saturday_p2_temperature","property":"saturday_p2_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"saturday_p3_hour","property":"saturday_p3_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"saturday_p3_minute","property":"saturday_p3_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"saturday_p3_temperature","property":"saturday_p3_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"saturday_p4_hour","property":"saturday_p4_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"saturday_p4_minute","property":"saturday_p4_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"saturday_p4_temperature","property":"saturday_p4_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"sunday_p1_hour","property":"sunday_p1_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"sunday_p1_minute","property":"sunday_p1_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"sunday_p1_temperature","property":"sunday_p1_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"sunday_p2_hour","property":"sunday_p2_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"sunday_p2_minute","property":"sunday_p2_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"sunday_p2_temperature","property":"sunday_p2_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"sunday_p3_hour","property":"sunday_p3_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"sunday_p3_minute","property":"sunday_p3_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"sunday_p3_temperature","property":"sunday_p3_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5},{"access":3,"name":"sunday_p4_hour","property":"sunday_p4_hour","type":"numeric","unit":"h","value_max":23,"value_min":0},{"access":3,"name":"sunday_p4_minute","property":"sunday_p4_minute","type":"numeric","unit":"m","value_max":59,"value_min":0},{"access":3,"name":"sunday_p4_temperature","property":"sunday_p4_temperature","type":"numeric","unit":"°C","value_max":35,"value_min":5,"value_step":0.5}],"name":"program","property":"program","type":"composite"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"BHT-002-GCLZB","options":[],"supports_ota":false,"vendor":"Moes"},"friendly_name":"Eloszoba_Floor","ieee_address":"0x50325ffffe289f0c","status":"successful","supported":true},"type":"device_interview"}'
Zigbee2MQTT:info  2023-03-13 00:43:26: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Moes BHT series Thermostat","friendly_name":"Eloszoba_Floor","model":"BHT-002-GCLZB","supported":true,"vendor":"Moes"},"type":"pairing"}'
Zigbee2MQTT:debug 2023-03-13 00:43:28: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":1}],"seq":15616}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:28: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:28: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":2}],"seq":15872}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:28: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:28: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":3}],"seq":16128}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:28: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:28: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":16384}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:28: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:28: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,32],"type":"Buffer"},"datatype":2,"dp":18}],"seq":16640}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:28: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:28: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,35],"type":"Buffer"},"datatype":2,"dp":19}],"seq":16896}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:28: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:29: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,1],"type":"Buffer"},"datatype":2,"dp":20}],"seq":17152}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:29: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:29: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,220],"type":"Buffer"},"datatype":2,"dp":24}],"seq":17408}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:29: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:29: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[255,255,255,253],"type":"Buffer"},"datatype":2,"dp":27}],"seq":17664}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:29: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:29: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":17920}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:29: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:29: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":40}],"seq":18176}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:29: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:29: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":43}],"seq":18432}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:29: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:29: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[8,30,52,10,30,44,12,30,47,23,30,42,9,0,50,17,0,46,21,5,46,23,30,42,9,0,50,22,30,50,23,30,46,23,59,40],"type":"Buffer"},"datatype":0,"dp":101}],"seq":18688}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:29: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"off"}'
Zigbee2MQTT:debug 2023-03-13 00:43:30: Received Zigbee message from 'Eloszoba_Floor', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:43:35: Received Zigbee message from 'Eloszoba_Floor', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":15616}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:43:35: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":1,"dp":1}],"seq":18688}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:35: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:35: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,220],"type":"Buffer"},"datatype":2,"dp":24}],"seq":18944}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:35: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":18944}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":19200}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":19456}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":19712}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:39: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":18944}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:39: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:39: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":19200}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:39: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":120,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:39: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":19456}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:39: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:39: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":19712}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:39: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:45: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":19712}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:45: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:45: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":19968}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:45: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":75,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:45: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":20224}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:45: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:45: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":20480}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:45: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:45: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":20736}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:45: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:46: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":20992}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:46: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:46: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":21248}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:46: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:46: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":21504}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:46: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":75,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:46: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":21760}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:46: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:46: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":36}],"seq":22016}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:43:46: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:43:53: Received Zigbee message from 'Eloszoba_Floor', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:44:07: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,220],"type":"Buffer"},"datatype":2,"dp":24}],"seq":22016}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:44:07: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:44:15: Received Zigbee message from 'Eloszoba_Floor', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:44:39: Received Zigbee message from 'Eloszoba_Floor', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:45:01: Received Zigbee message from 'Eloszoba_Floor', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:45:07: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,220],"type":"Buffer"},"datatype":2,"dp":24}],"seq":22016}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:07: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":78,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:45:17: Received Zigbee message from 'Eloszoba_Floor', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:45:35: Received Zigbee message from 'Eloszoba_Floor', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-03-13 00:45:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":22016}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:45:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":22272}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:45:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":22528}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:45:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":22784}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:45:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":23040}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:45:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":23296}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":120,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:45:38: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":23552}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:38: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:45:39: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":23808}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:39: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'
Zigbee2MQTT:debug 2023-03-13 00:45:39: Received Zigbee message from 'Eloszoba_Floor', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,22],"type":"Buffer"},"datatype":2,"dp":16}],"seq":24064}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-03-13 00:45:39: MQTT publish: topic 'zigbee2mqtt/Eloszoba_Floor', payload '{"child_lock":"UNLOCK","current_heating_setpoint":22,"deadzone_temperature":1,"device":{"applicationVersion":65,"dateCode":"","friendlyName":"Eloszoba_Floor","hardwareVersion":1,"ieeeAddr":"0x50325ffffe289f0c","manufacturerID":4098,"manufacturerName":"_TZE200_aoclfnxz","model":"BHT-002-GCLZB","networkAddress":53406,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"heat":"OFF","linkquality":117,"local_temperature":22,"local_temperature_calibration":-3,"max_temperature":35,"max_temperature_limit":32,"min_temperature_limit":null,"preset":"hold","preset_mode":"hold","running_state":"idle","sensor":"AL","system_mode":"heat"}'

@Koenkk
Copy link
Owner

Koenkk commented Mar 13, 2023

The state is long because of the program.

As a workaround you can filter the program attribute using filtered_attributes (https://www.zigbee2mqtt.io/guide/configuration/devices-groups.html#common-device-options) but ideally HA should allow for longer states.

@osre77
Copy link

osre77 commented Mar 13, 2023

if 255 is really the maximum for the MQTT message content, then tis is way too short. Even without the program part I think the message is longer than 255 characters.
Does anyone know if this 255 character limit was introduced with HA 2023.2 ?

@j-f-d
Copy link

j-f-d commented Mar 14, 2023

if 255 is really the maximum for the MQTT message content, then tis is way too short. Even without the program part I think the message is longer than 255 characters. Does anyone know if this 255 character limit was introduced with HA 2023.2 ?

It might be around May 25th 2021, This commit is when the valid_state() function in core.py was changed from using a length of 256 to MAX_LENGTH_STATE_STATE.

@PeterCicaMolnar
Copy link
Author

Hi @Koenkk!
First of all, thanbk you for the Z2M, this great piece of software!

Regarding this thermostat I would say, that's really great you introduced the option to program the thermostat from Z2M GUI.
From the other hand, this option is not used daily. I can say many of us just set up some programs on the thermostat and done.
What I ususally do is set to hold if we are not at home for longer time or just set back to program mode to let it run. I did not touched the programs in the last 2 years. I would be surprised if someone change the programs frequently.
I would suggest here a switch or an option to supress the programming option on the GUI or somewhere if it's not a big deal to implement it.
Just an idea :)
Thank you again and have a great day,
Peter

@samourai64
Copy link

Hello
Problem not solved in the last update 1.30.3....

@KameDomotics
Copy link

I'm still using Zigbee2mqtt version 1.29.2-1, it's the latest version that doesn't have this problem.

@KameDomotics
Copy link

I don't think it's ONLY a limitation of Home Assistant, with the latest version of HA (2023.4.6) and an old version of Z2M (1.29.2-1) this problem doesn't exist. Z2M 1.29.2-1 is the latest version that doesn't have this problem.

@samourai64
Copy link

hello
Ca you explain how t o apply this workaround please
In Parameters i have

  • Attributs publish filtrés
  • Attributs filtrés du cache
  • Attributs optimistes filtrés
    And how write the filter: "Program" [Program] ....
    My HA is not in my house and i dont want "brick" my instalation

Thank's for your help

@miklosbagi
Copy link

miklosbagi commented May 3, 2023

@samourai64, I'm not sure on the FR version unfortunately, in EN, it looks like:

  1. Go to dashboard and find your termostat device, click it
  2. Go to settings, and find Filtered publish attributes, click +
  3. Type program like that
  4. Hit Submit on the bottom of the page to save this.

That is it.
I'd be great if we could change that program to something shorter, but given how it's rendered out, I don't think we can. This solution will result in a warning message from what I can see:

2023-05-03 12:27:15.840 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'program' when rendering '{{ value_json.program }}'

A lot better than big red error though :)

@Koenkk,

but ideally HA should allow for longer states.

Word.
I've got way too many {{ ns.names| truncate (254,true) }}s in my config.

The 255 Char limit unfortunately comes form HA max length for state.

@j-f-d
Copy link

j-f-d commented May 3, 2023

In the Z2M configuration.yaml, I have:

    friendly_name: Palm Thermostat
    debounce: 1
    filtered_attributes:
      - program
    homeassistant: {}
    legacy: false
    optimistic: true

In HA, I also had to disable the 'Program' sensor in the MQTT Device page to prevent an annoying message in the HA System Log.

@KameDomotics
Copy link

KameDomotics commented May 7, 2023

`
friendly_name: Termostato

debounce:
optimistic: true
filtered_attributes:
- program
homeassistant: {}
filtered_cache:
- program `

It's correct?

@Koenkk
Copy link
Owner

Koenkk commented May 7, 2023

@miklosbagi the truncate is a very elegant solution, I've added a default truncate(254, True, '', 0) for the program sensor now. So no need to apply a manual fix anymore

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2023

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

@github-actions github-actions bot added the stale Stale issues label Jun 7, 2023
@gorbunovav
Copy link

@Koenkk hmm. It seems that on HA 2023.6.1 if the program value is null this template fails with:

File "/usr/local/lib/python3.11/site-packages/jinja2/filters.py", line 870, in do_truncate
  if len(s) <= length + leeway:
    ^^^^^^
 
TypeError: object of type 'NoneType' has no len()

@github-actions github-actions bot removed the stale Stale issues label Jun 12, 2023
@Koenkk
Copy link
Owner

Koenkk commented Jun 12, 2023

@gorbunovav pushed a fix, could you check if it works?

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@thargy
Copy link

thargy commented Jul 8, 2023

I still get this exact same error in 1.32.1

08T20:04:17.080Z","linkquality":98,"local_temperature":24.5,"local_temperature_calibration":-1,"max_temperature_limit":30,"min_temperature_limit":5,"preset":"hold","preset_mode":"hold","program":null,"running_state":"idle","sensor":"IN","system_mode":"heat"}'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/mqtt/debug_info.py", line 44, in wrapper
    msg_callback(msg)
  File "/usr/src/homeassistant/homeassistant/components/mqtt/sensor.py", line 292, in message_received
    _update_state(msg)
  File "/usr/src/homeassistant/homeassistant/components/mqtt/sensor.py", line 243, in _update_state
    payload = self._template(msg.payload, PayloadSentinel.DEFAULT)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 251, in async_render_with_possible_json_value
    rendered_payload = self._value_template.async_render_with_possible_json_value(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 735, in async_render_with_possible_json_value
    return _render_with_context(self.template, compiled, **variables).strip()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2179, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "
  File "/usr/local/lib/python3.11/site-packages/jinja2/filters.py", line 870, in do_truncate
    if len(s) <= length + leeway:
       ^^^^^^
TypeError: object of type 'NoneType' has no len()

Happens every 7 seconds.

@csszokolai
Copy link

csszokolai commented Jul 16, 2023

I tried to "reprograming" the device directly with it's buttons. I just tap through until the end the earlier saved program. After that I checked what I see in the z2m and it recovered! Now I see the whole program.

-- update: it doesn't solved the problem

`Logger: homeassistant.components.mqtt.models
Source: core.py:1269
Integration: MQTT (documentation, issues)
First occurred: 11:31:49 (408 occurrences)
Last logged: 11:41:17

Exception raised when updating state of sensor.termosztat_program, topic: 'zigbee2mqtt/Termosztát' with payload: b'{"child_lock":"UNLOCK","current_heating_setpoint":21,"deadzone_temperature":0,"heat":"OFF","last_seen":"2023-07-16T11:41:08+02:00","linkquality":87,"local_temperature":29,"local_temperature_calibration":-2,"max_temperature_limit":25,"min_temperature_limit":5,"preset":"program","preset_mode":"program","program":{"saturday_p1_hour":6,"saturday_p1_minute":30,"saturday_p1_temperature":21.5,"saturday_p2_hour":8,"saturday_p2_minute":0,"saturday_p2_temperature":21.5,"saturday_p3_hour":17,"saturday_p3_minute":0,"saturday_p3_temperature":21.5,"saturday_p4_hour":22,"saturday_p4_minute":0,"saturday_p4_temperature":20,"sunday_p1_hour":6,"sunday_p1_minute":30,"sunday_p1_temperature":21.5,"sunday_p2_hour":8,"sunday_p2_minute":0,"sunday_p2_temperature":21.5,"sunday_p3_hour":17,"sunday_p3_minute":0,"sunday_p3_temperature":21.5,"sunday_p4_hour":22,"sunday_p4_minute":0,"sunday_p4_temperature":20,"weekdays_p1_hour":6,"weekdays_p1_minute":30,"weekdays_p1_temperature":21.5,"weekdays_p2_hour":8,"weekdays_p2_minute":0,"weekdays_p2_temperature":21.5,"weekdays_p3_hour":17,"weekdays_p3_minute":0,"weekdays_p3_temperature":21.5,"weekdays_p4_hour":22,"weekdays_p4_minute":0,"weekdays_p4_temperature":20},"running_state":"idle","sensor":"IN","system_mode":"heat"}'
Exception raised when updating state of sensor.termosztat_program, topic: 'zigbee2mqtt/Termosztát' with payload: b'{"child_lock":"UNLOCK","current_heating_setpoint":21,"deadzone_temperature":0,"heat":"OFF","last_seen":"2023-07-16T11:41:09+02:00","linkquality":87,"local_temperature":29,"local_temperature_calibration":-2,"max_temperature_limit":25,"min_temperature_limit":5,"preset":"program","preset_mode":"program","program":{"saturday_p1_hour":6,"saturday_p1_minute":30,"saturday_p1_temperature":21.5,"saturday_p2_hour":8,"saturday_p2_minute":0,"saturday_p2_temperature":21.5,"saturday_p3_hour":17,"saturday_p3_minute":0,"saturday_p3_temperature":21.5,"saturday_p4_hour":22,"saturday_p4_minute":0,"saturday_p4_temperature":20,"sunday_p1_hour":6,"sunday_p1_minute":30,"sunday_p1_temperature":21.5,"sunday_p2_hour":8,"sunday_p2_minute":0,"sunday_p2_temperature":21.5,"sunday_p3_hour":17,"sunday_p3_minute":0,"sunday_p3_temperature":21.5,"sunday_p4_hour":22,"sunday_p4_minute":0,"sunday_p4_temperature":20,"weekdays_p1_hour":6,"weekdays_p1_minute":30,"weekdays_p1_temperature":21.5,"weekdays_p2_hour":8,"weekdays_p2_minute":0,"weekdays_p2_temperature":21.5,"weekdays_p3_hour":17,"weekdays_p3_minute":0,"weekdays_p3_temperature":21.5,"weekdays_p4_hour":22,"weekdays_p4_minute":0,"weekdays_p4_temperature":20},"running_state":"idle","sensor":"IN","system_mode":"heat"}'
Exception raised when updating state of sensor.termosztat_program, topic: 'zigbee2mqtt/Termosztát' with payload: b'{"child_lock":"UNLOCK","current_heating_setpoint":21,"deadzone_temperature":0,"heat":"OFF","last_seen":"2023-07-16T11:41:09+02:00","linkquality":93,"local_temperature":29,"local_temperature_calibration":-2,"max_temperature_limit":25,"min_temperature_limit":5,"preset":"program","preset_mode":"program","program":{"saturday_p1_hour":6,"saturday_p1_minute":30,"saturday_p1_temperature":21.5,"saturday_p2_hour":8,"saturday_p2_minute":0,"saturday_p2_temperature":21.5,"saturday_p3_hour":17,"saturday_p3_minute":0,"saturday_p3_temperature":21.5,"saturday_p4_hour":22,"saturday_p4_minute":0,"saturday_p4_temperature":20,"sunday_p1_hour":6,"sunday_p1_minute":30,"sunday_p1_temperature":21.5,"sunday_p2_hour":8,"sunday_p2_minute":0,"sunday_p2_temperature":21.5,"sunday_p3_hour":17,"sunday_p3_minute":0,"sunday_p3_temperature":21.5,"sunday_p4_hour":22,"sunday_p4_minute":0,"sunday_p4_temperature":20,"weekdays_p1_hour":6,"weekdays_p1_minute":30,"weekdays_p1_temperature":21.5,"weekdays_p2_hour":8,"weekdays_p2_minute":0,"weekdays_p2_temperature":21.5,"weekdays_p3_hour":17,"weekdays_p3_minute":0,"weekdays_p3_temperature":21.5,"weekdays_p4_hour":22,"weekdays_p4_minute":0,"weekdays_p4_temperature":20},"running_state":"idle","sensor":"IN","system_mode":"heat"}'
Exception raised when updating state of sensor.termosztat_program, topic: 'zigbee2mqtt/Termosztát' with payload: b'{"child_lock":"UNLOCK","current_heating_setpoint":21,"deadzone_temperature":0,"heat":"OFF","last_seen":"2023-07-16T11:41:09+02:00","linkquality":90,"local_temperature":29,"local_temperature_calibration":-2,"max_temperature_limit":25,"min_temperature_limit":5,"preset":"program","preset_mode":"program","program":{"saturday_p1_hour":6,"saturday_p1_minute":30,"saturday_p1_temperature":21.5,"saturday_p2_hour":8,"saturday_p2_minute":0,"saturday_p2_temperature":21.5,"saturday_p3_hour":17,"saturday_p3_minute":0,"saturday_p3_temperature":21.5,"saturday_p4_hour":22,"saturday_p4_minute":0,"saturday_p4_temperature":20,"sunday_p1_hour":6,"sunday_p1_minute":30,"sunday_p1_temperature":21.5,"sunday_p2_hour":8,"sunday_p2_minute":0,"sunday_p2_temperature":21.5,"sunday_p3_hour":17,"sunday_p3_minute":0,"sunday_p3_temperature":21.5,"sunday_p4_hour":22,"sunday_p4_minute":0,"sunday_p4_temperature":20,"weekdays_p1_hour":6,"weekdays_p1_minute":30,"weekdays_p1_temperature":21.5,"weekdays_p2_hour":8,"weekdays_p2_minute":0,"weekdays_p2_temperature":21.5,"weekdays_p3_hour":17,"weekdays_p3_minute":0,"weekdays_p3_temperature":21.5,"weekdays_p4_hour":22,"weekdays_p4_minute":0,"weekdays_p4_temperature":20},"running_state":"idle","sensor":"IN","system_mode":"heat"}'
Exception raised when updating state of sensor.termosztat_program, topic: 'zigbee2mqtt/Termosztát' with payload: b'{"child_lock":"UNLOCK","current_heating_setpoint":21,"deadzone_temperature":0,"heat":"OFF","last_seen":"2023-07-16T11:41:17+02:00","linkquality":90,"local_temperature":29,"local_temperature_calibration":-2,"max_temperature_limit":25,"min_temperature_limit":5,"preset":"program","preset_mode":"program","program":{"saturday_p1_hour":6,"saturday_p1_minute":30,"saturday_p1_temperature":21.5,"saturday_p2_hour":8,"saturday_p2_minute":0,"saturday_p2_temperature":21.5,"saturday_p3_hour":17,"saturday_p3_minute":0,"saturday_p3_temperature":21.5,"saturday_p4_hour":22,"saturday_p4_minute":0,"saturday_p4_temperature":20,"sunday_p1_hour":6,"sunday_p1_minute":30,"sunday_p1_temperature":21.5,"sunday_p2_hour":8,"sunday_p2_minute":0,"sunday_p2_temperature":21.5,"sunday_p3_hour":17,"sunday_p3_minute":0,"sunday_p3_temperature":21.5,"sunday_p4_hour":22,"sunday_p4_minute":0,"sunday_p4_temperature":20,"weekdays_p1_hour":6,"weekdays_p1_minute":30,"weekdays_p1_temperature":21.5,"weekdays_p2_hour":8,"weekdays_p2_minute":0,"weekdays_p2_temperature":21.5,"weekdays_p3_hour":17,"weekdays_p3_minute":0,"weekdays_p3_temperature":21.5,"weekdays_p4_hour":22,"weekdays_p4_minute":0,"weekdays_p4_temperature":20},"running_state":"idle","sensor":"IN","system_mode":"heat"}'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 742, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 867, in _async_write_ha_state
hass.states.async_set(entity_id, state, attr, self.force_update, self._context)
File "/usr/src/homeassistant/homeassistant/core.py", line 1651, in async_set
state = State(
^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 1269, in init
raise InvalidStateError(
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.termosztat_program. State max length is 255 characters.
`

@SSG1111
Copy link

SSG1111 commented Jul 19, 2023

I'm facing exactly the same issue here after update to 1.32.1-1. Disabling "program" sensor fixes one thing, but then "max length" errors come. Log is identical to above.

@github-actions
Copy link
Contributor

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

@github-actions github-actions bot added the stale Stale issues label Aug 19, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2023
@SSG1111
Copy link

SSG1111 commented Sep 4, 2023

issue is still valid

@Spica2000
Copy link

Spica2000 commented Sep 30, 2024

I also have same issue with MOES Thermostat [BHT-002/BHT-006]
HA 2024.9.3
Zigbee2MQTT Current version: 1.40.1-1
Mosquitto broker Current version: 6.4.1

The only temporal workaround like posted here (not to overload logs): #19788 (comment)

Log:

2024-09-28 15:24:22.646 WARNING (MainThread) [homeassistant.components.mqtt.sensor] Cannot update state for entity sensor.floorheatredbathroom_program after processing payload on topic zigbee2mqtt/FloorHeatRedBathroom. The requested state (941) exceeds the maximum allowed length (255). Fall back to unknown, failed state: {'saturday_p1_hour': 6, 'saturday_p1_minute': 0, 'saturday_p1_temperature': 24, 'saturday_p2_hour': 12, 'saturday_p2_minute': 0, 'saturday_p2_temperature': 23, 'saturday_p3_hour': 14, 'saturday_p3_minute': 30, 'saturday_p3_temperature': 22, 'saturday_p4_hour': 17, 'saturday_p4_minute': 30, 'saturday_p4_temperature': 21, 'sunday_p1_hour': 6, 'sunday_p1_minute': 0, 'sunday_p1_temperature': 19, 'sunday_p2_hour': 12, 'sunday_p2_minute': 30, 'sunday_p2_temperature': 20, 'sunday_p3_hour': 14, 'sunday_p3_minute': 30, 'sunday_p3_temperature': 21, 'sunday_p4_hour': 18, 'sunday_p4_minute': 30, 'sunday_p4_temperature': 20, 'weekdays_p1_hour': 6, 'weekdays_p1_minute': 0, 'weekdays_p1_temperature': 20, 'weekdays_p2_hour': 11, 'weekdays_p2_minute': 30, 'weekdays_p2_temperature': 21, 'weekdays_p3_hour': 13, 'weekdays_p3_minute': 30, 'weekdays_p3_temperature': 22, 'weekdays_p4_hour': 17, 'weekdays_p4_minute': 30, 'weekdays_p4_temperature': 23}
2024-09-28 15:24:22.647 WARNING (MainThread) [homeassistant.components.mqtt.sensor] Invalid state message '{'saturday_p1_hour': 6, 'saturday_p1_minute': 0, 'saturday_p1_temperature': 24, 'saturday_p2_hour': 12, 'saturday_p2_minute': 0, 'saturday_p2_temperature': 23, 'saturday_p3_hour': 14, 'saturday_p3_minute': 30, 'saturday_p3_temperature': 22, 'saturday_p4_hour': 17, 'saturday_p4_minute': 30, 'saturday_p4_temperature': 21, 'sunday_p1_hour': 6, 'sunday_p1_minute': 0, 'sunday_p1_temperature': 19, 'sunday_p2_hour': 12, 'sunday_p2_minute': 30, 'sunday_p2_temperature': 20, 'sunday_p3_hour': 14, 'sunday_p3_minute': 30, 'sunday_p3_temperature': 21, 'sunday_p4_hour': 18, 'sunday_p4_minute': 30, 'sunday_p4_temperature': 20, 'weekdays_p1_hour': 6, 'weekdays_p1_minute': 0, 'weekdays_p1_temperature': 20, 'weekdays_p2_hour': 11, 'weekdays_p2_minute': 30, 'weekdays_p2_temperature': 21, 'weekdays_p3_hour': 13, 'weekdays_p3_minute': 30, 'weekdays_p3_temperature': 22, 'weekdays_p4_hour': 17, 'weekdays_p4_minute': 30, 'weekdays_p4_temperature': 23}' from 'zigbee2mqtt/FloorHeatRedBathroom'

@maciekdnd
Copy link

maciekdnd commented Sep 30, 2024

@Spica2000 if you don' t need "program" you may exclude it from the mqtt message. Open device settings in Z2M, go to settings and add "program" to Filter attributes section as others already mentioned it. Should help. If you need that part, you have to probably wait.

@Spica2000
Copy link

@Spica2000 if you don' t need "program" you may exclude it from the mqtt message. Open device settings in Z2M, go to settings and add "program" to Filter attributes section as others already mentioned it. Should help. If you need that part, you have to probably wait.

Thank you for your comment. I don't understand completely what this filter actually does. Seems something with program mode of the thermostat.

@maciekdnd
Copy link

@Spica2000 On actual device you have program memory to keep all your settings for the week. This is a lot of data to transfer in one message on the mqtt protocol. If you don't need to see or change those specific settings on the HA dashboard, you can filter whole "program" from being transferred in every message from your thermostat to Z2M and HA. If you filter it (which means you don't have access on Z2M to those values, and in most cases you don't need to) then you don't overflow your message with big payload and you don't get this warning.

@samourai64
Copy link

Hello
I have the same probleme but my z2mqtt is in french. So can you confirm witch is the flter to apply with program. First? Second or the two?
image

@M3te0r
Copy link

M3te0r commented Oct 1, 2024

Bonjour (Hello)!
The setting in french is under "Attributs publish filtrés", a bit upper
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working stale Stale issues
Projects
None yet
Development

No branches or pull requests