Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.15k stars 1.68k forks source link

AVATTO ME168 - bad temperature values when schedule is selected #19787

Open zett93 opened 12 months ago

zett93 commented 12 months ago

What happened?

Hi!

I recently purchased several Avatto thermostatic valves. Everything works fine except for one stupid thing: When I change from heating to automatic, the temperature at my valve always increases to 153.6 degrees.

Changing the hours or temperatures doesn't change anything. I use SONOFF Zigbee 3.0 USB Dongle Plus ZBDongle-P.

The problem was reproduced on my 7 ME168 valves. Always the same.

Below I have pasted an example schedule from my z2m configuration:

00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0

And some logs from my z2m (after setting a schedule)

Look at the last line.

Regards!

What did you expect to happen?

I expected that my schedule will set proper temperature :)

How to reproduce it (minimal and precise)

Just set values on the valve (e.q. via "exposes" tab in z2m, or via MQTT zigbee2mqtt/FRIENDLY_NAME/set

Zigbee2MQTT version

1.33.2 commit: 311ea07

Adapter firmware version

20210708

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus ZBDongle-P

Debug log

debug 2023-11-20 14:55:37Publishing 'set' 'schedule_monday' to 'termostat-gabinet' debug 2023-11-20 14:55:39Received MQTT message on 'zigbee2mqtt/termostat-gabinet/set' with data '{"system_mode":"auto"}' debug 2023-11-20 14:55:39Publishing 'set' 'system_mode' to 'termostat-gabinet' info 2023-11-20 14:55:40MQTT publish: topic 'zigbee2mqtt/termostat-gabinet', payload '{"battery_low":false,"child_lock":"UNLOCK","current_heating_setpoint":21,"error":null,"frost_protection":"OFF","linkquality":75,"local_temperature":21,"local_temperature_calibration":0,"running_state":"heat","scale_protection":"OFF","schedule_friday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","schedule_monday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_saturday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_sunday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_thursday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_tuesday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_wednesday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","system_mode":"heat"}' debug 2023-11-20 14:55:40Received Zigbee message from 'termostat-gabinet', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1,0,0,0,160,7,0,0,180,15,0,0,190,18,0,0,180],"type":"Buffer"},"datatype":0,"dp":28}],"seq":19712}' from endpoint 1 with groupID 0 info 2023-11-20 14:55:40MQTT publish: topic 'zigbee2mqtt/termostat-gabinet', payload '{"battery_low":false,"child_lock":"UNLOCK","current_heating_setpoint":21,"error":null,"frost_protection":"OFF","linkquality":69,"local_temperature":21,"local_temperature_calibration":0,"running_state":"heat","scale_protection":"OFF","schedule_friday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","schedule_monday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_saturday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_sunday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_thursday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_tuesday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_wednesday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","system_mode":"heat"}' info 2023-11-20 14:55:40MQTT publish: topic 'zigbee2mqtt/termostat-gabinet', payload '{"battery_low":false,"child_lock":"UNLOCK","current_heating_setpoint":21,"error":null,"frost_protection":"OFF","linkquality":69,"local_temperature":21,"local_temperature_calibration":0,"running_state":"heat","scale_protection":"OFF","schedule_friday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","schedule_monday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_saturday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_sunday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_thursday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_tuesday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_wednesday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","system_mode":"auto"}' debug 2023-11-20 14:55:40Received Zigbee message from 'termostat-gabinet', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":2}],"seq":19968}' from endpoint 1 with groupID 0 info 2023-11-20 14:55:40MQTT publish: topic 'zigbee2mqtt/termostat-gabinet', payload '{"battery_low":false,"child_lock":"UNLOCK","current_heating_setpoint":21,"error":null,"frost_protection":"OFF","linkquality":69,"local_temperature":21,"local_temperature_calibration":0,"running_state":"heat","scale_protection":"OFF","schedule_friday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","schedule_monday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_saturday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_sunday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_thursday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_tuesday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_wednesday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","system_mode":"auto"}' debug 2023-11-20 14:55:59Received Zigbee message from 'termostat-gabinet', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,6,0],"type":"Buffer"},"datatype":2,"dp":4}],"seq":20224}' from endpoint 1 with groupID 0 info 2023-11-20 14:55:59MQTT publish: topic 'zigbee2mqtt/termostat-gabinet', payload '{"battery_low":false,"child_lock":"UNLOCK","current_heating_setpoint":153.6,"error":null,"frost_protection":"OFF","linkquality":66,"local_temperature":21,"local_temperature_calibration":0,"running_state":"heat","scale_protection":"OFF","schedule_friday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","schedule_monday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_saturday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_sunday":"00:00/16.0 08:00/18.0 10:00/20.0 18:00/18.0","schedule_thursday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_tuesday":"00:00/16.0 07:00/18.0 15:00/19.0 18:00/18.0","schedule_wednesday":"00:00/16.0 07:00/19.0 09:00/20.0 18:00/18.0","system_mode":"auto"}'

StefanLobbenmeier commented 1 month ago

@ToMoHH For me the custom converter broke as well because of an import issue but I could resolve it a few months ago. Are you saying there is yet another issue / can you show the error message?

ToMoHH commented 1 month ago

@StefanLobbenmeier I don't know why, but I reconnected the converter and the error message disappeared. I can operate the thermostat as intended. Sorry for the confusion.

akartla commented 1 week ago

I there a solution for the auto mode problem on _TZE200_rxntag7i? When i switch to auto mode the set point goes to 153°C.

SNX100 commented 1 week ago

Hello everyone. I'm currently facing the same issue with the ME167 thermostats. However, I'm not using HA but rather ioBroker. Unfortunately, I don't have the option to edit the configuration.yaml file, as it doesn't exist. In general, it seems to be set up a bit differently. I've copied the me167.js file to the directory /opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ and changed the values in the object tree to

"type": "ME167", "icon": "img/ME167.png"

and then restarted. However, this did not yield the desired result. On the contrary, after the restart, it reverted back to ME168 in the object tree. Could someone here possibly help me with this?