[Fixed] Tuya / Moes TS004F 21/34
Posted: Saturday 13 November 2021 10:40
Edit 11/1/21 - just to say this is resolved - see later post
Does anyone have any idea on making this device work nicely with Zigate?
I would just throw it in the bin but there aren't any other good 4 button scene controllers known to work and this also looks quite neat (available in different colours as well as being cheap)
Product Name
TS004F - MOES Wireless Scene Switch 21/34 - ESW-0ZBA-EU - 4 button scene controller
(n.b. this looks like the TS0044 but behaves differently in pairing see the following links. Apparently the TS0044 is no longer available. That had the code ESW-OZAA-EU)
Brand
Moes (but gets rebranded as TUYA, Yagosmart, Zemismart)
URL on a web site
https://www.aliexpress.com/item/1005002870643901.html
Versions:
Zigate firmware v0320 (v1 hardware)
Zigate plugin 5.2.274 (was on stable 5.09 with same issue - switched to beta to see if recently fixed)
Domoticz 2021.1
What do you expect
Device to pair and show up in domoticz as a 4 button selector switch. Each button should have a short press, double press and long press action.
See the following links for other Zigbee implementation support pages for further information. It would seem the revised TS004F device defaults to a dimmer device but through some handshake with the Tuya zigbee gateway changes it's mode to a 4 button scene controller.
https://community.hubitat.com/t/yagusma ... /57237/150
https://community.home-assistant.io/t/z ... /274735/45
https://github.com/Koenkk/zigbee2mqtt/discussions/7158
(Hubitat apparently have a solution, Github link perhaps the most informative)
What happens instead
Device shows up as a voltage and a dimmer switch and no button presses are shown in the log or update the switch. I tried changing the switch type to selector switch within Domoticz - but as expected this didn't improve the situation
The logs from the pairing process
export.json from Zigate plugin (changed extension json-->log so it would attach)
Domoticz: See below
Does anyone have any idea on making this device work nicely with Zigate?
I would just throw it in the bin but there aren't any other good 4 button scene controllers known to work and this also looks quite neat (available in different colours as well as being cheap)
Product Name
TS004F - MOES Wireless Scene Switch 21/34 - ESW-0ZBA-EU - 4 button scene controller
(n.b. this looks like the TS0044 but behaves differently in pairing see the following links. Apparently the TS0044 is no longer available. That had the code ESW-OZAA-EU)
Brand
Moes (but gets rebranded as TUYA, Yagosmart, Zemismart)
URL on a web site
https://www.aliexpress.com/item/1005002870643901.html
Versions:
Zigate firmware v0320 (v1 hardware)
Zigate plugin 5.2.274 (was on stable 5.09 with same issue - switched to beta to see if recently fixed)
Domoticz 2021.1
What do you expect
Device to pair and show up in domoticz as a 4 button selector switch. Each button should have a short press, double press and long press action.
See the following links for other Zigbee implementation support pages for further information. It would seem the revised TS004F device defaults to a dimmer device but through some handshake with the Tuya zigbee gateway changes it's mode to a 4 button scene controller.
https://community.hubitat.com/t/yagusma ... /57237/150
https://community.home-assistant.io/t/z ... /274735/45
https://github.com/Koenkk/zigbee2mqtt/discussions/7158
(Hubitat apparently have a solution, Github link perhaps the most informative)
What happens instead
Device shows up as a voltage and a dimmer switch and no button presses are shown in the log or update the switch. I tried changing the switch type to selector switch within Domoticz - but as expected this didn't improve the situation
The logs from the pairing process
export.json from Zigate plugin (changed extension json-->log so it would attach)
Domoticz: See below
Code: Select all
2021-11-13 09:07:01.661 Zigate: (Zigate) --> Adding device db43 in self.DevicesInPairingMode
2021-11-13 09:07:01.661 Zigate: (Zigate) --> ['9a99', 'db43']
2021-11-13 09:07:01.662 Status: Zigate: (Zigate) [None] NEW OBJECT: db43 None
2021-11-13 09:07:02.639 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Active Endpoint Response Ep: 01 LQI: 99
2021-11-13 09:07:02.640 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Request Simple Descriptor for Ep: 01
2021-11-13 09:07:03.162 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Simple Descriptor Response EP: 0x01 LQI: 102
2021-11-13 09:07:03.162 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 ProfileID 0104
2021-11-13 09:07:03.162 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 ZDeviceID 0104
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Application Version 0001
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster IN Count: 06
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster In 1: 0000 (Basic)
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster In 2: 0001 (Power Configuration)
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster In 3: 0003 (Identify)
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster In 4: 0004 (Groups)
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster In 5: 0006 (On/Off)
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster In 6: 1000 (Touchlink)
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster OUT Count: 08
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster Out 1: 0019 (Over-the-Air Upgrade)
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster Out 2: 000a (Time)
2021-11-13 09:07:03.163 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster Out 3: 0003 (Identify)
2021-11-13 09:07:03.164 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster Out 4: 0004 (Groups)
2021-11-13 09:07:03.164 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster Out 5: 0005 (Scenes)
2021-11-13 09:07:03.164 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster Out 6: 0006 (On/Off)
2021-11-13 09:07:03.164 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster Out 7: 0008 (Level Control)
2021-11-13 09:07:03.164 Status: Zigate: (Zigate) [-] NEW OBJECT: db43 Cluster Out 8: 1000 (Touchlink)
2021-11-13 09:07:04.104 Zigate: (Zigate) Request Basic Manufacturer via Read Attribute request: 0004
2021-11-13 09:07:04.104 Zigate: (Zigate) EP: {'01': {'0000': {}, '0001': {}, '0003': {}, '0004': {}, '0006': {}, '1000': {}, '0019': {}, '000a': {}, '0005': {}, '0008': {}}}
2021-11-13 09:07:04.104 Status: Zigate: (Zigate) [None] NEW OBJECT: db43 Request Node Descriptor
2021-11-13 09:07:09.099 Zigate: (Zigate) EP: {'01': {'0000': {'0004': '_TZ3000_xabckq1v', '0005': 'TS004F'}, '0001': {}, '0003': {}, '0004': {}, '0006': {}, '1000': {}, '0019': {}, '000a': {}, '0005': {}, '0008': {}}}
2021-11-13 09:07:09.098 Status: Zigate: (Zigate) [1] NEW OBJECT: db43 Model Name: TS004F
2021-11-13 09:07:14.087 Zigate: (Zigate) EP: {'01': {'0000': {'0004': '_TZ3000_xabckq1v', '0005': 'TS004F'}, '0001': {}, '0003': {}, '0004': {}, '0006': {}, '1000': {}, '0019': {}, '000a': {}, '0005': {}, '0008': {}}}
2021-11-13 09:07:14.123 Zigate: (Zigate) WARNING - send_zigatecmd : [122] 0100 02db430101000100000000010000 db43 ZigateQueue: 16
2021-11-13 09:07:14.124 Zigate: (Zigate) WARNING - send_zigatecmd : [123] 0100 02db430101000100000000010001 db43 ZigateQueue: 17
2021-11-13 09:07:14.125 Zigate: (Zigate) WARNING - send_zigatecmd : [124] 0100 02db430101000100000000010003 db43 ZigateQueue: 18
2021-11-13 09:07:14.126 Zigate: (Zigate) WARNING - send_zigatecmd : [125] 0100 02db430101000100000000010020 db43 ZigateQueue: 19
2021-11-13 09:07:14.127 Zigate: (Zigate) WARNING - send_zigatecmd : [126] 0100 02db430101000100000000010021 db43 ZigateQueue: 20
2021-11-13 09:07:14.127 Zigate: (Zigate) WARNING - send_zigatecmd : [127] 0100 02db430101000100000000010033 db43 ZigateQueue: 21
2021-11-13 09:07:14.128 Zigate: (Zigate) WARNING - send_zigatecmd : [128] 0100 02db430101000100000000010035 db43 ZigateQueue: 22
2021-11-13 09:07:14.130 Zigate: (Zigate) WARNING - send_zigatecmd : [129] 0100 02db430101001900000000010001 db43 ZigateQueue: 23
2021-11-13 09:07:14.131 Zigate: (Zigate) WARNING - send_zigatecmd : [130] 0100 02db430101001900000000010002 db43 ZigateQueue: 24
2021-11-13 09:07:14.133 Zigate: (Zigate) WARNING - send_zigatecmd : [131] 0100 02db430101001900000000010003 db43 ZigateQueue: 25
2021-11-13 09:07:14.134 Zigate: (Zigate) WARNING - send_zigatecmd : [132] 0100 02db430101001900000000010004 db43 ZigateQueue: 26
2021-11-13 09:07:14.135 Zigate: (Zigate) WARNING - send_zigatecmd : [133] 0100 02db430101001900000000010005 db43 ZigateQueue: 27
2021-11-13 09:07:14.135 Zigate: (Zigate) WARNING - send_zigatecmd : [134] 0100 02db430101001900000000010006 db43 ZigateQueue: 28
2021-11-13 09:07:14.136 Zigate: (Zigate) WARNING - send_zigatecmd : [135] 0100 02db430101001900000000010007 db43 ZigateQueue: 29
2021-11-13 09:07:14.137 Zigate: (Zigate) WARNING - send_zigatecmd : [136] 0100 02db430101001900000000010008 db43 ZigateQueue: 30
2021-11-13 09:07:14.138 Zigate: (Zigate) WARNING - send_zigatecmd : [137] 0100 02db430101001900000000010009 db43 ZigateQueue: 31
2021-11-13 09:07:14.138 Zigate: (Zigate) WARNING - send_zigatecmd : [138] 0100 02db43010100190000000001000a db43 ZigateQueue: 32
2021-11-13 09:07:14.140 Zigate: (Zigate) WARNING - send_zigatecmd : [139] 0100 02db430101000600000000010000 db43 ZigateQueue: 33
2021-11-13 09:07:14.141 Zigate: (Zigate) WARNING - send_zigatecmd : [140] 0100 02db430101000600000000014001 db43 ZigateQueue: 34
2021-11-13 09:07:14.141 Zigate: (Zigate) WARNING - send_zigatecmd : [141] 0100 02db430101000600000000014002 db43 ZigateQueue: 35
2021-11-13 09:07:14.143 Zigate: (Zigate) WARNING - send_zigatecmd : [142] 0100 02db430101000800000000010000 db43 ZigateQueue: 36
2021-11-13 09:07:14.144 Zigate: (Zigate) WARNING - send_zigatecmd : [143] 0100 02db430101000000000000010004 db43 ZigateQueue: 37
2021-11-13 09:07:14.144 Zigate: (Zigate) WARNING - send_zigatecmd : [144] 0100 02db430101000000000000010005 db43 ZigateQueue: 38
2021-11-13 09:07:14.144 Zigate: (Zigate) WARNING - send_zigatecmd : [145] 0100 02db430101000000000000010000 db43 ZigateQueue: 39
2021-11-13 09:07:14.145 Zigate: (Zigate) WARNING - send_zigatecmd : [146] 0100 02db430101000000000000010001 db43 ZigateQueue: 40
2021-11-13 09:07:14.145 Zigate: (Zigate) WARNING - send_zigatecmd : [147] 0100 02db430101000000000000010002 db43 ZigateQueue: 41
2021-11-13 09:07:14.145 Zigate: (Zigate) WARNING - send_zigatecmd : [148] 0100 02db430101000000000000010003 db43 ZigateQueue: 42
2021-11-13 09:07:14.145 Zigate: (Zigate) WARNING - send_zigatecmd : [149] 0100 02db430101000000000000010006 db43 ZigateQueue: 43
2021-11-13 09:07:14.145 Zigate: (Zigate) WARNING - send_zigatecmd : [150] 0100 02db430101000000000000010007 db43 ZigateQueue: 44
2021-11-13 09:07:14.146 Zigate: (Zigate) WARNING - send_zigatecmd : [151] 0100 02db43010100000000000001000a db43 ZigateQueue: 45
2021-11-13 09:07:14.146 Zigate: (Zigate) WARNING - send_zigatecmd : [152] 0100 02db43010100000000000001000f db43 ZigateQueue: 46
2021-11-13 09:07:14.146 Zigate: (Zigate) WARNING - send_zigatecmd : [153] 0100 02db430101000000000000010010 db43 ZigateQueue: 47
2021-11-13 09:07:14.146 Zigate: (Zigate) WARNING - send_zigatecmd : [154] 0100 02db430101000000000000010015 db43 ZigateQueue: 48
2021-11-13 09:07:14.147 Zigate: (Zigate) WARNING - send_zigatecmd : [155] 0100 02db430101000000000000014000 db43 ZigateQueue: 49
2021-11-13 09:07:14.147 Zigate: (Zigate) WARNING - send_zigatecmd : [156] 0100 02db43010100000000000001f000 db43 ZigateQueue: 50
2021-11-13 09:07:14.147 Zigate: (Zigate) WARNING - send_zigatecmd : [157] 0140 07db430101000000000000000001 db43 ZigateQueue: 51
2021-11-13 09:07:14.147 Zigate: (Zigate) WARNING - send_zigatecmd : [158] 0140 07db430101000100000000000001 db43 ZigateQueue: 52
2021-11-13 09:07:14.147 Zigate: (Zigate) WARNING - send_zigatecmd : [159] 0140 07db430101000300000000000001 db43 ZigateQueue: 53
2021-11-13 09:07:14.147 Zigate: (Zigate) WARNING - send_zigatecmd : [160] 0140 07db430101000400000000000001 db43 ZigateQueue: 54
2021-11-13 09:07:14.148 Zigate: (Zigate) WARNING - send_zigatecmd : [161] 0140 07db430101000600000000000001 db43 ZigateQueue: 55
2021-11-13 09:07:14.148 Zigate: (Zigate) WARNING - send_zigatecmd : [162] 0140 07db430101100000000000000001 db43 ZigateQueue: 56
2021-11-13 09:07:14.148 Zigate: (Zigate) WARNING - send_zigatecmd : [163] 0140 07db430101001900000000000001 db43 ZigateQueue: 57
2021-11-13 09:07:14.148 Zigate: (Zigate) WARNING - send_zigatecmd : [164] 0140 07db430101000a00000000000001 db43 ZigateQueue: 58
2021-11-13 09:07:14.148 Zigate: (Zigate) WARNING - send_zigatecmd : [165] 0140 07db430101000500000000000001 db43 ZigateQueue: 59
2021-11-13 09:07:14.148 Zigate: (Zigate) WARNING - send_zigatecmd : [166] 0140 07db430101000800000000000001 db43 ZigateQueue: 60
2021-11-13 09:07:14.157 Zigate: (Zigate) WARNING - send_zigatecmd : [167] 0530 02db430000003300000200020700 None ZigateQueue: 61
2021-11-13 09:07:14.166 Zigate: (Zigate) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2021-11-13 09:07:14.166 Zigate: (Zigate) is_domoticz_db_available: True
2021-11-13 09:07:14.087 Status: Zigate: (Zigate) [2] NEW OBJECT: db43 Model Name: TS004F
2021-11-13 09:07:15.616 Zigate: (Zigate) WARNING - send_zigatecmd : [168] 0530 02db430000003300000200020803 None ZigateQueue: 59
2021-11-13 09:07:16.605 Zigate: (Zigate) WARNING - send_zigatecmd : [169] 0530 02db430000003300000200020903 None ZigateQueue: 58
2021-11-13 09:07:17.598 Zigate: (Zigate) WARNING - send_zigatecmd : [170] 0530 02db430000003300000200020a03 None ZigateQueue: 57
2021-11-13 09:07:18.588 Zigate: (Zigate) WARNING - send_zigatecmd : [171] 0530 02db430000003300000200020b03 None ZigateQueue: 56
2021-11-13 09:07:19.594 Zigate: (Zigate) WARNING - send_zigatecmd : [172] 0530 02db430000003300000200020c03 None ZigateQueue: 55
2021-11-13 09:07:20.585 Zigate: (Zigate) WARNING - send_zigatecmd : [173] 0530 02db430000003300000200020d03 None ZigateQueue: 54
2021-11-13 09:07:22.578 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Voltage-60a423fffefc9492-01) 0:0.0;0.0
2021-11-13 09:07:24.086 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Voltage-60a423fffefc9492-01) 0:30.0;30.0