Koenkk / zigbee-herdsman-converters

Collection of device converters to be used with zigbee-herdsman
MIT License
914 stars 3.03k forks source link

MOES HY368 : Tuya thermostat errors #2184

Closed albinpopote closed 3 years ago

albinpopote commented 3 years ago

Hello,

I have a new MOES HY368 which is recognized as TS0601_thermostat (manufacturerName: '_TZE200_ckud7u2l'), but when I try to get or set property I have errors:

Setting child_lock to UNLOCK:

debug 2021-01-31 09:26:34: Received MQTT message on 'zigbee2mqtt/0x5c0272fffec04031/set' with data '{"child_lock": "UNLOCK"}'
debug 2021-01-31 09:26:34: Publishing 'set' 'child_lock' to '0x5c0272fffec04031'
error 2021-01-31 09:26:34: Publish 'set' 'child_lock' to '0x5c0272fffec04031' failed: 'TypeError: Command 0x5c0272fffec04031/1 manuSpecificTuya.setData({"status":0,"transid":0,"dp":7,"datatype":1,"length_hi":0,"length_lo":1,"data":[0]}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Cannot read property 'length' of undefined)'
debug 2021-01-31 09:26:34: TypeError: Command 0x5c0272fffec04031/1 manuSpecificTuya.setData({"status":0,"transid":0,"dp":7,"datatype":1,"length_hi":0,"length_lo":1,"data":[0]}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Cannot read property 'length' of undefined)
    at Function.fromBuffer (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/zcl/zclFrame.js:151:20)
    at ZiGateAdapter.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/zigate/adapter/zigateAdapter.js:524:50)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/zigate/adapter/zigateAdapter.js:24:58)
info  2021-01-31 09:26:34: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'child_lock' to '0x5c0272fffec04031' failed: 'TypeError: Command 0x5c0272fffec04031/1 manuSpecificTuya.setData({\"status\":0,\"transid\":0,\"dp\":7,\"datatype\":1,\"length_hi\":0,\"length_lo\":1,\"data\":[0]}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null}) failed (Cannot read property 'length' of undefined)'","meta":{"friendly_name":"0x5c0272fffec04031"},"type":"zigbee_publish_error"}'
debug 2021-01-31 09:26:35: Received Zigbee message from '0x5c0272fffec04031', type 'commandSetDataResponse', cluster 'manuSpecificTuya', data '{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":7,"fn":0,"status":7,"transid":19}' from endpoint 1 with groupID null
info  2021-01-31 09:26:35: MQTT publish: topic 'zigbee2mqtt/0x5c0272fffec04031', payload '{"auto_lock":"MANUAL","away_mode":"OFF","away_preset_days":1,"away_preset_temperature":15,"battery_low":false,"boost_time":300,"child_lock":"UNLOCKED","comfort_temperature":20,"current_heating_setpoint":22.5,"eco_temperature":15,"force":"normal","holidays":[{"hour":6,"minute":0,"temperature":20},{"hour":8,"minute":0,"temperature":15},{"hour":11,"minute":30,"temperature":15},{"hour":12,"minute":30,"temperature":15},{"hour":17,"minute":30,"temperature":20},{"hour":22,"minute":0,"temperature":15}],"last_seen":1612081595879,"linkquality":117,"local_temperature":20.5,"local_temperature_calibration":-1,"max_temperature":35,"min_temperature":5,"position":100,"preset":"manual","system_mode":"auto","week":"5+2","window_detection":"OFF","window_detection_params":{"minutes":10,"temperature":5},"workdays":[{"hour":6,"minute":0,"temperature":20},{"hour":8,"minute":0,"temperature":15},{"hour":11,"minute":30,"temperature":15},{"hour":12,"minute":30,"temperature":15},{"hour":17,"minute":30,"temperature":20},{"hour":22,"minute":0,"temperature":15}]}'

Also tryied with confort_temperature. All publishing raise the same error but command is applied to zigbee device.

Getting any property:

debug 2021-01-31 10:44:56: Received MQTT message on 'zigbee2mqtt/0x5c0272fffec04031/get' with data '{"system_mode": ""}'
error 2021-01-31 10:44:56: No converter available for 'get' 'system_mode' ()
debug 2021-01-31 10:45:08: Received MQTT message on 'zigbee2mqtt/0x5c0272fffec04031/get' with data '{"local_temperature": ""}'
error 2021-01-31 10:45:08: No converter available for 'local_temperature' ()

I don't know if it can help but I have sometime the following messages on logs:

debug 2021-01-31 09:20:27: Received Zigbee message from '0x5c0272fffec04031', type 'raw', cluster 'manuSpecificTuya', data '{"data":[25,117,36,0,122],"type":"Buffer"}' from endpoint 1 with groupID null
debug 2021-01-31 09:20:27: No converter available for 'TS0601_thermostat' with cluster 'manuSpecificTuya' and type 'raw' and data '{"data":[25,117,36,0,122],"type":"Buffer"}'
deusyv commented 3 years ago

Hello,

I have 4 new MOES HY368 which is recognized as TS0601_thermostat (manufacturerName: '_TZE200_ywdxldoj'), but when I try to get or set property I have errors:

and I don't understand i set "zigbee_shepherd_devices: true" in Home Assistant Add-on: Zigbee2mqtt When set, the add-on will scan your data_path for a devices.js file, and will run zigbee2mqtt using this custom file. my zigbee2mqtt does not start . so I leave it to you to integrate the model HY368. thank you!

warn 2021-01-31 20:48:15: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:15: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:15: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,20],"type":"Buffer"},"datatype":2,"dp":107,"fn":0,"status":0,"transid":186}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:15: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:15: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:15: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,15],"type":"Buffer"},"datatype":2,"dp":108,"fn":0,"status":0,"transid":187}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:15: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:15: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:16: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,35],"type":"Buffer"},"datatype":2,"dp":109,"fn":0,"status":0,"transid":188}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:16: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":110,"fn":0,"status":0,"transid":189}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:16: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":111,"fn":0,"status":0,"transid":190}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:16: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[6,0,20,8,0,15,11,30,15,12,30,15,17,30,20,22,0,15],"type":"Buffer"},"datatype":0,"dp":112,"fn":0,"status":0,"transid":191}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:16: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[134,0,20,8,0,15,11,30,15,12,30,15,17,30,20,22,0,15],"type":"Buffer"},"datatype":0,"dp":113,"fn":0,"status":0,"transid":192}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:16: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,15],"type":"Buffer"},"datatype":2,"dp":114,"fn":0,"status":0,"transid":193}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:16: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":115,"fn":0,"status":0,"transid":194}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:16: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":116,"fn":0,"status":0,"transid":195}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:17: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,1],"type":"Buffer"},"datatype":2,"dp":117,"fn":0,"status":0,"transid":196}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:17: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:17: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:17: Received Zigbee message from '0x847127fffe0ebccf', type 'commandSetTimeRequest', cluster 'manuSpecificTuya', data '{"payload":[],"payloadSize":0}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:17: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:17: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:48:29: Received Zigbee message from '0x847127fffe0ebccf', type 'raw', cluster 'manuSpecificTuya', data '{"data":[9,63,17,0,32,128],"type":"Buffer"}' from endpoint 1 with groupID 0 warn 2021-01-31 20:48:29: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:48:29: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:49:15: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,245],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":118}' from endpoint 1 with groupID 0

warn 2021-01-31 20:52:47: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:52:47: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:52:57: Received Zigbee message from '0x847127fffe0ebccf', type 'commandSetTimeRequest', cluster 'manuSpecificTuya', data '{"payload":[],"payloadSize":0}' from endpoint 1 with groupID 0 warn 2021-01-31 20:52:57: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:52:57: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:02: Device '0x847127fffe0d1d33' announced itself

warn 2021-01-31 20:53:03: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:03: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:08: Received Zigbee message from '0x847127fffe0d1d33', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0

warn 2021-01-31 20:53:12: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:12: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:12: Device '0x847127fffe100582' announced itself

warn 2021-01-31 20:53:13: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:13: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:15: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,5],"type":"Buffer"},"datatype":2,"dp":102,"fn":0,"status":0,"transid":193}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:15: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:15: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:16: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,5],"type":"Buffer"},"datatype":2,"dp":102,"fn":0,"status":0,"transid":193}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:16: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,35],"type":"Buffer"},"datatype":2,"dp":103,"fn":0,"status":0,"transid":194}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:16: Received Zigbee message from '0x847127fffe100582', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:16: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,35],"type":"Buffer"},"datatype":2,"dp":103,"fn":0,"status":0,"transid":194}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:16: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,200],"type":"Buffer"},"datatype":2,"dp":2,"fn":0,"status":0,"transid":195}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:16: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:16: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:17: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,255],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":196}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:17: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:17: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:17: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,255],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":197}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:17: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:17: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:17: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":4,"fn":0,"status":0,"transid":198}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:17: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:17: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:17: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":4,"fn":0,"status":0,"transid":199}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:17: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:17: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:17: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":7,"fn":0,"status":0,"transid":200}' from endpoint 1 with groupID 0 warn 2021-01-31 20:53:17: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:17: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:21: Received Zigbee message from 'Prise Sas', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":54529536,"imageType":17,"manufacturerCode":4129}' from endpoint 1 with groupID 0

warn 2021-01-31 20:53:29: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:29: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:53:33: Received Zigbee message from 'Prise Sas', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":54529536,"imageType":17,"manufacturerCode":4129}' from endpoint 1 with groupID 0

warn 2021-01-31 20:53:53: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:53:53: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:54:18: Saving state to file /share/zigbee2mqtt/state.json

warn 2021-01-31 20:57:45: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:57:45: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:57:45: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,230],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":206}' from endpoint 1 with groupID 0 warn 2021-01-31 20:57:45: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:57:45: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:57:45: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,25],"type":"Buffer"},"datatype":2,"dp":109,"fn":0,"status":0,"transid":207}' from endpoint 1 with groupID 0 warn 2021-01-31 20:57:45: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:57:45: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:58:05: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,245],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":219}' from endpoint 1 with groupID 0 warn 2021-01-31 20:58:05: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:58:05: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:58:05: Received Zigbee message from '0x847127fffe0d1d33', type 'commandSetTimeRequest', cluster 'manuSpecificTuya', data '{"payload":[],"payloadSize":0}' from endpoint 1 with groupID 0 warn 2021-01-31 20:58:05: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:58:05: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:58:14: Received Zigbee message from '0x847127fffe100582', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,245],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":50}' from endpoint 1 with groupID 0 warn 2021-01-31 20:58:14: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:58:14: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:58:14: Received Zigbee message from '0x847127fffe100582', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,245],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":51}' from endpoint 1 with groupID 0 warn 2021-01-31 20:58:14: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:58:14: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:58:14: Received Zigbee message from '0x847127fffe100582', type 'commandSetTimeRequest', cluster 'manuSpecificTuya', data '{"payload":[],"payloadSize":0}' from endpoint 1 with groupID 0 warn 2021-01-31 20:58:14: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 20:58:14: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 20:58:38: Received Zigbee message from 'Contact Velux Amis', type 'attributeReport', cluster 'genBasic', data '{"65281":{"1":3005,"10":0,"100":0,"3":21,"4":5032,"5":90,"6":[0,1]}}' from endpoint 1 with groupID 0

warn 2021-01-31 21:02:48: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 21:02:48: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 21:02:48: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,230],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":210}' from endpoint 1 with groupID 0 warn 2021-01-31 21:02:48: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 21:02:48: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 21:02:48: Received Zigbee message from '0x847127fffe0ebccf', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,20],"type":"Buffer"},"datatype":2,"dp":109,"fn":0,"status":0,"transid":211}' from endpoint 1 with groupID 0 warn 2021-01-31 21:02:48: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 21:02:48: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 21:03:07: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,240],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":221}' from endpoint 1 with groupID 0 warn 2021-01-31 21:03:07: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 21:03:07: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 21:03:07: Received Zigbee message from '0x847127fffe0d1d33', type 'commandGetData', cluster 'manuSpecificTuya', data '{"data":{"data":[0,0,0,240],"type":"Buffer"},"datatype":2,"dp":3,"fn":0,"status":0,"transid":222}' from endpoint 1 with groupID 0 warn 2021-01-31 21:03:07: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 21:03:07: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. debug 2021-01-31 21:03:07: Received Zigbee message from '0x847127fffe0d1d33', type 'commandSetTimeRequest', cluster 'manuSpecificTuya', data '{"payload":[],"payloadSize":0}' from endpoint 1 with groupID 0 warn 2021-01-31 21:03:07: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_ywdxldoj' warn 2021-01-31 21:03:07: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.

insipiens commented 3 years ago

Hello,

I have a new MOES HY368 which is recognized as TS0601_thermostat (manufacturerName: '_TZE200_ckud7u2l'), but when I try to get or set property I have errors:

Setting child_lock to UNLOCK:

debug 2021-01-31 09:26:34: Received MQTT message on 'zigbee2mqtt/0x5c0272fffec04031/set' with data '{"child_lock": "UNLOCK"}'
debug 2021-01-31 09:26:34: Publishing 'set' 'child_lock' to '0x5c0272fffec04031'
error 2021-01-31 09:26:34: Publish 'set' 'child_lock' to '0x5c0272fffec04031' failed: 'TypeError: Command 0x5c0272fffec04031/1 manuSpecificTuya.setData({"status":0,"transid":0,"dp":7,"datatype":1,"length_hi":0,"length_lo":1,"data":[0]}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Cannot read property 'length' of undefined)'
debug 2021-01-31 09:26:34: TypeError: Command 0x5c0272fffec04031/1 manuSpecificTuya.setData({"status":0,"transid":0,"dp":7,"datatype":1,"length_hi":0,"length_lo":1,"data":[0]}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Cannot read property 'length' of undefined)
    at Function.fromBuffer (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/zcl/zclFrame.js:151:20)
    at ZiGateAdapter.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/zigate/adapter/zigateAdapter.js:524:50)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/zigate/adapter/zigateAdapter.js:24:58)
info  2021-01-31 09:26:34: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'child_lock' to '0x5c0272fffec04031' failed: 'TypeError: Command 0x5c0272fffec04031/1 manuSpecificTuya.setData({\"status\":0,\"transid\":0,\"dp\":7,\"datatype\":1,\"length_hi\":0,\"length_lo\":1,\"data\":[0]}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null}) failed (Cannot read property 'length' of undefined)'","meta":{"friendly_name":"0x5c0272fffec04031"},"type":"zigbee_publish_error"}'
debug 2021-01-31 09:26:35: Received Zigbee message from '0x5c0272fffec04031', type 'commandSetDataResponse', cluster 'manuSpecificTuya', data '{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":7,"fn":0,"status":7,"transid":19}' from endpoint 1 with groupID null
info  2021-01-31 09:26:35: MQTT publish: topic 'zigbee2mqtt/0x5c0272fffec04031', payload '{"auto_lock":"MANUAL","away_mode":"OFF","away_preset_days":1,"away_preset_temperature":15,"battery_low":false,"boost_time":300,"child_lock":"UNLOCKED","comfort_temperature":20,"current_heating_setpoint":22.5,"eco_temperature":15,"force":"normal","holidays":[{"hour":6,"minute":0,"temperature":20},{"hour":8,"minute":0,"temperature":15},{"hour":11,"minute":30,"temperature":15},{"hour":12,"minute":30,"temperature":15},{"hour":17,"minute":30,"temperature":20},{"hour":22,"minute":0,"temperature":15}],"last_seen":1612081595879,"linkquality":117,"local_temperature":20.5,"local_temperature_calibration":-1,"max_temperature":35,"min_temperature":5,"position":100,"preset":"manual","system_mode":"auto","week":"5+2","window_detection":"OFF","window_detection_params":{"minutes":10,"temperature":5},"workdays":[{"hour":6,"minute":0,"temperature":20},{"hour":8,"minute":0,"temperature":15},{"hour":11,"minute":30,"temperature":15},{"hour":12,"minute":30,"temperature":15},{"hour":17,"minute":30,"temperature":20},{"hour":22,"minute":0,"temperature":15}]}'

Also tryied with confort_temperature. All publishing raise the same error but command is applied to zigbee device.

Getting any property:

debug 2021-01-31 10:44:56: Received MQTT message on 'zigbee2mqtt/0x5c0272fffec04031/get' with data '{"system_mode": ""}'
error 2021-01-31 10:44:56: No converter available for 'get' 'system_mode' ()
debug 2021-01-31 10:45:08: Received MQTT message on 'zigbee2mqtt/0x5c0272fffec04031/get' with data '{"local_temperature": ""}'
error 2021-01-31 10:45:08: No converter available for 'local_temperature' ()

I don't know if it can help but I have sometime the following messages on logs:

debug 2021-01-31 09:20:27: Received Zigbee message from '0x5c0272fffec04031', type 'raw', cluster 'manuSpecificTuya', data '{"data":[25,117,36,0,122],"type":"Buffer"}' from endpoint 1 with groupID null
debug 2021-01-31 09:20:27: No converter available for 'TS0601_thermostat' with cluster 'manuSpecificTuya' and type 'raw' and data '{"data":[25,117,36,0,122],"type":"Buffer"}'

Can you post the entire message you are trying to publish? It works fine for me with the same device on the latest stable version 1.17.1

topic: zigbee2mqtt/radiator1/set/child_lock Payload: LOCK or UNLOCK

insipiens commented 3 years ago

@deusyv

I don’t use the add on but from what it says, like here https://awesomeopensource.com/project/danielwelch/hassio-zigbee2mqtt you need to download the devices.js file , you can then amend it putting the finger print of your device _TZE200_ywdxldoj in place of _TZE200_ckud7u21

sstefanowski commented 3 years ago

I have also a small improvement proposition about the integration of TS0601 thermostat valves with Home Assistant.

Missing hvac_action

The HA climate entity has a state attribute called hvac_action (https://www.home-assistant.io/integrations/climate/#attributes). It should get the value heatingwhen the valve is opened and idlewhen the valve is closed. Based on this attribute a few nice thermostat UI controls are rendering the state and you can also do standard automation (blueprints) based on hvac_action.

I know that TS0601 thermostats expose a position sensor (% of valve opening), which can be used for the same purpose, but hvac_actionis a standardized way of reporting the current activity of climate entities. Therefore I think the new attribute hvac_actionshould be added and set to heating when positionis greater than 0.

BTW. There is a workaround.... I have configured currently automation in HA setting hvac_action based on position but I think this should be done internally in Zigbee2MQTT. Don't you think?

Besides this small issue, I think the integration of Zigbee2MQTT of TS0601 thermostat valves is brilliant!

github-actions[bot] commented 3 years ago

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