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

[Bug Report] TuYa TS0601_dimmer errors and won't dim in Z2M - errors in log #13697

Closed
shanelord01 opened this issue Aug 26, 2022 · 5 comments
Closed
Labels
problem Something isn't working stale Stale issues

Comments

@shanelord01
Copy link

shanelord01 commented Aug 26, 2022

What happened?

Paired a new dimmer to my environment. Getting immediate red logs on screen and flooding the logs.

Physical switch working fine. On/Off and dimming controls working via physical buttons on device.

Only On/Off work in Z2M. Dimming produces errors.

What did you expect to happen?

Supported device to allow dimming and function without errors.

https://www.zigbee2mqtt.io/devices/TS0601_dimmer.html
https://www.ozsmartthings.com.au/collections/zigbee/products/zigbee-dimmer-switch-white

How to reproduce it (minimal and precise)

Un-paired and re-paired multiple times - same outcome.

Zigbee2MQTT version

1.27.0-dev commit: c5d54a8
1.27.0-dev commit: 7f198d1

Adapter firmware version

0x26780700

Adapter

ConBee2

Debug log

warn 2022-08-26 11:23:29: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #2 from 0x9035eafffed63d8e with raw data '{"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,3,232]}}': type='commandDataResponse', datatype='value', value='1000', known DP# usage: ["heatingSetpoint","coverPosition","eardaDimmerLevel","moesHold","moesSheatingSetpoint","silvercrestChangeMode","tuyaSabCO2","tuyaSahkMP25","tuyaSabCO","moes105DimmerLevel1","trsSensitivity","trsfSensitivity","tvMode","haozeeHeatingSetpoint","nousHumidity","tthHumidity","tIlluminanceLux","evanellMode","AM02PercentControl","x5hMode","connecteMode","tshpscSensitivity","alectoSmokeValue"]
info 2022-08-26 11:23:29: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":254,"level":1000,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:29: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #3 with invalid value 1 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:23:29: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-2,"level":1,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:29: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #4 from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:23:29: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #4 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:23:29: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #5 from 0x9035eafffed63d8e with raw data '{"dp":5,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,24]}}': type='commandDataResponse', datatype='value', value='24', known DP# usage: ["fanMode","dimmerMaxLevel","motorDirection","config","moesSboostHeatingCountdown","neoAOVolume","silvercrestSetColor","lidlTimer","haozeeBoostHeatingCountdown","evanellLocalTemp","AM02Direction"]
info 2022-08-26 11:23:29: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":4,"level":24,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:29: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #6 from 0x9035eafffed63d8e with raw data '{"dp":6,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,0]}}': type='commandDataResponse', datatype='value', value='0', known DP# usage: ["silvercrestSetEffect","haozeeRunningState","evanellBattery","tshpsSelfTest"]
warn 2022-08-26 11:23:29: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #6 with invalid value 0 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:23:29: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:29: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #14 from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
warn 2022-08-26 11:23:29: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #14 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
info 2022-08-26 11:23:38: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:38: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #2 from 0x9035eafffed63d8e with raw data '{"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,3,232]}}': type='commandDataResponse', datatype='value', value='1000', known DP# usage: ["heatingSetpoint","coverPosition","eardaDimmerLevel","moesHold","moesSheatingSetpoint","silvercrestChangeMode","tuyaSabCO2","tuyaSahkMP25","tuyaSabCO","moes105DimmerLevel1","trsSensitivity","trsfSensitivity","tvMode","haozeeHeatingSetpoint","nousHumidity","tthHumidity","tIlluminanceLux","evanellMode","AM02PercentControl","x5hMode","connecteMode","tshpscSensitivity","alectoSmokeValue"]
info 2022-08-26 11:23:38: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":254,"level":1000,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:38: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #3 with invalid value 1 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:23:38: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-2,"level":1,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:38: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #4 from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:23:38: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #4 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:23:38: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #5 from 0x9035eafffed63d8e with raw data '{"dp":5,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,24]}}': type='commandDataResponse', datatype='value', value='24', known DP# usage: ["fanMode","dimmerMaxLevel","motorDirection","config","moesSboostHeatingCountdown","neoAOVolume","silvercrestSetColor","lidlTimer","haozeeBoostHeatingCountdown","evanellLocalTemp","AM02Direction"]
info 2022-08-26 11:23:38: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":4,"level":24,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:38: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #6 from 0x9035eafffed63d8e with raw data '{"dp":6,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,0]}}': type='commandDataResponse', datatype='value', value='0', known DP# usage: ["silvercrestSetEffect","haozeeRunningState","evanellBattery","tshpsSelfTest"]
warn 2022-08-26 11:23:38: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #6 with invalid value 0 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:23:38: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:38: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #14 from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
warn 2022-08-26 11:23:38: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #14 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
info 2022-08-26 11:23:47: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:47: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #2 from 0x9035eafffed63d8e with raw data '{"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,3,232]}}': type='commandDataResponse', datatype='value', value='1000', known DP# usage: ["heatingSetpoint","coverPosition","eardaDimmerLevel","moesHold","moesSheatingSetpoint","silvercrestChangeMode","tuyaSabCO2","tuyaSahkMP25","tuyaSabCO","moes105DimmerLevel1","trsSensitivity","trsfSensitivity","tvMode","haozeeHeatingSetpoint","nousHumidity","tthHumidity","tIlluminanceLux","evanellMode","AM02PercentControl","x5hMode","connecteMode","tshpscSensitivity","alectoSmokeValue"]
info 2022-08-26 11:23:47: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":254,"level":1000,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:47: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #3 with invalid value 1 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:23:47: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-2,"level":1,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:47: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #4 from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:23:47: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #4 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:23:47: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #5 from 0x9035eafffed63d8e with raw data '{"dp":5,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,24]}}': type='commandDataResponse', datatype='value', value='24', known DP# usage: ["fanMode","dimmerMaxLevel","motorDirection","config","moesSboostHeatingCountdown","neoAOVolume","silvercrestSetColor","lidlTimer","haozeeBoostHeatingCountdown","evanellLocalTemp","AM02Direction"]
info 2022-08-26 11:23:47: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":4,"level":24,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:47: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #6 from 0x9035eafffed63d8e with raw data '{"dp":6,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,0]}}': type='commandDataResponse', datatype='value', value='0', known DP# usage: ["silvercrestSetEffect","haozeeRunningState","evanellBattery","tshpsSelfTest"]
warn 2022-08-26 11:23:47: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #6 with invalid value 0 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:23:47: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"ON"}'
warn 2022-08-26 11:23:47: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #14 from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
warn 2022-08-26 11:23:47: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #14 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
info 2022-08-26 11:23:52: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"OFF"}'
info 2022-08-26 11:23:54: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:23:54: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #2 from 0x9035eafffed63d8e with raw data '{"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,3,232]}}': type='commandDataResponse', datatype='value', value='1000', known DP# usage: ["heatingSetpoint","coverPosition","eardaDimmerLevel","moesHold","moesSheatingSetpoint","silvercrestChangeMode","tuyaSabCO2","tuyaSahkMP25","tuyaSabCO","moes105DimmerLevel1","trsSensitivity","trsfSensitivity","tvMode","haozeeHeatingSetpoint","nousHumidity","tthHumidity","tIlluminanceLux","evanellMode","AM02PercentControl","x5hMode","connecteMode","tshpscSensitivity","alectoSmokeValue"]
info 2022-08-26 11:23:54: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":254,"level":1000,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:23:54: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #3 with invalid value 1 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:23:54: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-2,"level":1,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:23:54: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #4 from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:23:54: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #4 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:23:54: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #5 from 0x9035eafffed63d8e with raw data '{"dp":5,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,24]}}': type='commandDataResponse', datatype='value', value='24', known DP# usage: ["fanMode","dimmerMaxLevel","motorDirection","config","moesSboostHeatingCountdown","neoAOVolume","silvercrestSetColor","lidlTimer","haozeeBoostHeatingCountdown","evanellLocalTemp","AM02Direction"]
info 2022-08-26 11:23:54: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":4,"level":24,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:23:54: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #6 from 0x9035eafffed63d8e with raw data '{"dp":6,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,0]}}': type='commandDataResponse', datatype='value', value='0', known DP# usage: ["silvercrestSetEffect","haozeeRunningState","evanellBattery","tshpsSelfTest"]
warn 2022-08-26 11:23:54: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #6 with invalid value 0 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:23:54: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:23:54: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #14 from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
warn 2022-08-26 11:23:54: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #14 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
info 2022-08-26 11:24:03: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:03: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #2 from 0x9035eafffed63d8e with raw data '{"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,3,232]}}': type='commandDataResponse', datatype='value', value='1000', known DP# usage: ["heatingSetpoint","coverPosition","eardaDimmerLevel","moesHold","moesSheatingSetpoint","silvercrestChangeMode","tuyaSabCO2","tuyaSahkMP25","tuyaSabCO","moes105DimmerLevel1","trsSensitivity","trsfSensitivity","tvMode","haozeeHeatingSetpoint","nousHumidity","tthHumidity","tIlluminanceLux","evanellMode","AM02PercentControl","x5hMode","connecteMode","tshpscSensitivity","alectoSmokeValue"]
info 2022-08-26 11:24:03: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":254,"level":1000,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:03: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #3 with invalid value 1 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:24:03: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-2,"level":1,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:03: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #4 from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:24:03: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #4 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:24:03: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #5 from 0x9035eafffed63d8e with raw data '{"dp":5,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,24]}}': type='commandDataResponse', datatype='value', value='24', known DP# usage: ["fanMode","dimmerMaxLevel","motorDirection","config","moesSboostHeatingCountdown","neoAOVolume","silvercrestSetColor","lidlTimer","haozeeBoostHeatingCountdown","evanellLocalTemp","AM02Direction"]
info 2022-08-26 11:24:03: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":4,"level":24,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:03: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #6 from 0x9035eafffed63d8e with raw data '{"dp":6,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,0]}}': type='commandDataResponse', datatype='value', value='0', known DP# usage: ["silvercrestSetEffect","haozeeRunningState","evanellBattery","tshpsSelfTest"]
warn 2022-08-26 11:24:03: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #6 with invalid value 0 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:24:03: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:03: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #14 from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
warn 2022-08-26 11:24:03: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #14 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
info 2022-08-26 11:24:12: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:12: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #2 from 0x9035eafffed63d8e with raw data '{"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,3,232]}}': type='commandDataResponse', datatype='value', value='1000', known DP# usage: ["heatingSetpoint","coverPosition","eardaDimmerLevel","moesHold","moesSheatingSetpoint","silvercrestChangeMode","tuyaSabCO2","tuyaSahkMP25","tuyaSabCO","moes105DimmerLevel1","trsSensitivity","trsfSensitivity","tvMode","haozeeHeatingSetpoint","nousHumidity","tthHumidity","tIlluminanceLux","evanellMode","AM02PercentControl","x5hMode","connecteMode","tshpscSensitivity","alectoSmokeValue"]
info 2022-08-26 11:24:12: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":254,"level":1000,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:12: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #3 with invalid value 1 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:24:12: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-2,"level":1,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:12: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #4 from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:24:12: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #4 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":4,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["mode","moesSboostHeating","silvercrestSetColorTemp","haozeeBoostHeating","nousBattery","tthBattery","wlsBatteryPercentage","evanellHeatingSetpoint","AM02Mode","tshpsMaximumRange","lmsBattery"]
warn 2022-08-26 11:24:12: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #5 from 0x9035eafffed63d8e with raw data '{"dp":5,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,24]}}': type='commandDataResponse', datatype='value', value='24', known DP# usage: ["fanMode","dimmerMaxLevel","motorDirection","config","moesSboostHeatingCountdown","neoAOVolume","silvercrestSetColor","lidlTimer","haozeeBoostHeatingCountdown","evanellLocalTemp","AM02Direction"]
info 2022-08-26 11:24:12: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":4,"level":24,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:12: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #6 from 0x9035eafffed63d8e with raw data '{"dp":6,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,0]}}': type='commandDataResponse', datatype='value', value='0', known DP# usage: ["silvercrestSetEffect","haozeeRunningState","evanellBattery","tshpsSelfTest"]
warn 2022-08-26 11:24:12: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #6 with invalid value 0 for brightness from 0x9035eafffed63d8e which is outside the expected range from 10 to 1000
info 2022-08-26 11:24:12: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:12: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #14 from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum', value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
warn 2022-08-26 11:24:12: zigbee-herdsman-converters:tuya_dimmer: Received Tuya DataPoint #14 with unexpected datatype from 0x9035eafffed63d8e with raw data '{"dp":14,"datatype":4,"data":{"type":"Buffer","data":[0]}}': type='commandDataResponse', datatype='enum' (instead of 'undefined'), value='0', known DP# usage: ["runningState","moesSbattery","wooxBattery","haozeeFaultAlarm","nousTempAlarm","moesSwitchPowerOnBehavior","alectoBatteryState"]
info 2022-08-26 11:24:13: MQTT publish: topic 'zigbee2mqtt/Pool Filter Smart Plug', payload '{"energy":146.39,"linkquality":255,"power":806,"state":"ON"}'
info 2022-08-26 11:24:20: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":-3,"level":0,"linkquality":255,"state":"OFF"}'
warn 2022-08-26 11:24:21: zigbee-herdsman-converters:tuya_dimmer: Received unexpected Tuya DataPoint #2 from 0x9035eafffed63d8e with raw data '{"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,3,232]}}': type='commandDataResponse', datatype='value', value='1000', known DP# usage: ["heatingSetpoint","coverPosition","eardaDimmerLevel","moesHold","moesSheatingSetpoint","silvercrestChangeMode","tuyaSabCO2","tuyaSahkMP25","tuyaSabCO","moes105DimmerLevel1","trsSensitivity","trsfSensitivity","tvMode","haozeeHeatingSetpoint","nousHumidity","tthHumidity","tIlluminanceLux","evanellMode","AM02PercentControl","x5hMode","connecteMode","tshpscSensitivity","alectoSmokeValue"]
info 2022-08-26 11:24:21: MQTT publish: topic 'zigbee2mqtt/0x9035eafffed63d8e', payload '{"brightness":254,"level":1000,"linkquality":255,"state":"OFF"}'

@shanelord01 shanelord01 added the problem Something isn't working label Aug 26, 2022
@shanelord01
Copy link
Author

shanelord01 commented Aug 26, 2022

Just tried this dimmer in Hubitat using this community made driver. https://raw.githubusercontent.com/C-PS/Hubitat/main/drivers/DimmerSwitchDriver.txt

In Hubitat, On/Off works, as does setting the level %

There is also a device handler available for smartthings from the supplier: https://drive.google.com/file/d/1eqLByV3P_9wEDrZV9bQvIWGg2MIT5ySB/view

Not sure if this code in this driver gives any hints as to what can be done in Z2M

@shanelord01
Copy link
Author

shanelord01 commented Aug 26, 2022

Here is a short clip of what the state in Z2M is doing during these errors:

Ts0601.Dimmer.State-1.mp4

@shanelord01 shanelord01 changed the title TuYa TS0601_dimmer errors and won't dim in Z2M - errors in log [Bug Report] TuYa TS0601_dimmer errors and won't dim in Z2M - errors in log Aug 29, 2022
@shanelord01
Copy link
Author

Zigbee Herdsman debug logs here:
z2m_zh_logs.txt

@shanelord01
Copy link
Author

shanelord01 commented Sep 7, 2022

Looks like ZHA is having the same issue: zigpy/zha-device-handlers#1694

I believe this section of zhaquirks/tuya/mcu/init.py is causing the issue for ZHA - not sure if it helps with Z2M:

 # (move_to_level_with_on_off --> send the on_off command first)
        if command_id == 0x0004:
            cluster_data = TuyaClusterData(
                endpoint_id=self.endpoint.endpoint_id,
                cluster_attr="on_off",
                attr_value=args[1],
                expect_reply=expect_reply,
                manufacturer=manufacturer,
            )
            self.endpoint.device.command_bus.listener_event(
                TUYA_MCU_COMMAND,
                cluster_data,
            )

@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 Oct 13, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 20, 2022
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

1 participant