Replies: 3 comments 2 replies
-
Also one interesting tuya device:
Its one dimmer switch and can not using group and OnOff cluster as input. Some tuya switches (and remotes) have one OnOff in cluster for the back light of the switch and can dim it in the night but its coming later for tuya "normal" zigbee device (i dont knowing but as its one tzya its very likely is using command 0-2 (on/off/toggle) for dimming the panel lights as they is using on there "scene switches" for "scene commands (short double and long pressing)). |
Beta Was this translation helpful? Give feedback.
-
All tuya TS004X device is "remotes" (in Zigbee controllers) and all looks the same and is having very strange cluster layout like this (TS0044):
And all cluster is putted as in cluster in replace (not time then its deleted for getting the device working OK). The problem is that ZHA GUI is getting not working switches on the device card and they is only making problem. I finding its better putting the OnOff cluster as the out clusters and only adding the PowerConfiguration cluster on the EP 1. Then the "switch" is being exposed ad one "normal" switch that is sending events and hopefully is having one battery sensor and no extra devices that is only making problems. Back side is that its not possible adding the "switches" in ZHA groups (that is not working then its not lights) and can being possible they is being available for binding (depends of the device type i think) but they is very likely not supporting group bindings then its no light switches. |
Beta Was this translation helpful? Give feedback.
-
Zigbee modules used for DP (ts0601) devicesFound but it can being more types out there:
By Zigbee standard shall all End points having basic is in and Identify as in and can having Identify aso out. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
All implanted devices that is using tuya MCU commands (=DPs) is (for the moment) using 2 different Zigbee modules that is TYST11:
(its have the input TuyaManufClusterAttributes.cluster hidden) and
(example from valve.py)
I think easiest is saying its the "TS0601 family" and is one ON_OFF_SWITCH or SMART_PLUG with some basic cluster and the tuya cluster for tuya commands and can having more used or unused cluster on the endpoint.
Then "decoding" the tuya DPs and adding the new virtual tuya function clusters all ts0601 quirks still having the not used
Groups.cluster_id
andScenes.cluster_id
,Basic and Identify cluster (then its implanted) shall being left as both is moderate in ZCL.
Time cluster i dont knowing but i think most ts0601 MCU devices is getting the time from the DP commands and is not needed but the OTA can being used for firmware upgrading of the Zigbee module in the future so i think it shall being left.
I think in the long run we shall deleting the time, group and scene cluster in the replace then its not making any good and can making problems for the user in the future then ZHA is (hopefully) starting using scenes and advance us of groups with scenes.
I have only tuya TRVs with TYST11 module so i cant testing if its good or bad but i think its one "policy question" how to implanting tuya ts0061 device quirks and not letting "junk" in the system that can making problems in the future.
Guidelines pleas !!
Mvh MW
Beta Was this translation helpful? Give feedback.
All reactions