Page 1 of 1

[Fixed] Tuya / Moes TS004F 21/34

Posted: Saturday 13 November 2021 10:40
by gorstj
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.
devices.JPEG
devices.JPEG (104.07 KiB) Viewed 2446 times
switch.JPEG
switch.JPEG (31.37 KiB) Viewed 2446 times
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
export.log
(158.96 KiB) Downloaded 27 times
(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

Re: Tuya / Moes TS004F 21/34

Posted: Saturday 13 November 2021 13:48
by pipiche
I can have a look but only next week.


Envoyé de mon iPhone en utilisant Tapatalk

Re: Tuya / Moes TS004F 21/34

Posted: Saturday 13 November 2021 19:21
by pipiche
Can you try to retrieve the latest beta 5.2.275
Then remove all widgets previously created
Finally redo the pairing

Let me know the result. In case it doesn't work I would appreciate if you could:

1/ enable debugInput

try to press one button and look at the log and then share it here

Re: Tuya / Moes TS004F 21/34

Posted: Wednesday 17 November 2021 22:22
by gorstj
Great progress with new beta of Zigate plugin.

The device now appears in Domoticz as four selector switches each with click/double-click/long-click options

However only one button (the top left) registers anything in Domoticz.

This button only works after I put the switch into 'scene switch' mode by holding both the top & bottom right hand keys until the bottom left hand light flashes on.
There seems to be a way to send a Zigbee command, during pairing, to enable this behaviour - will this enable the other buttons also?
https://community.home-assistant.io/t/h ... /310579/54

Pressing the other three buttons does not produce any entry in the Domoticz log

Code: Select all

2021-11-17 20:35:46.294 Zigate: (Zigate) --> Adding device 7749 in self.DevicesInPairingMode
2021-11-17 20:35:46.295 Zigate: (Zigate) --> ['7749']
2021-11-17 20:35:46.295 Status: Zigate: (Zigate) [None] NEW OBJECT: 7749 None
2021-11-17 20:35:46.714 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Active Endpoint Response Ep: 01 LQI: 105
2021-11-17 20:35:46.714 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Request Simple Descriptor for Ep: 01
2021-11-17 20:35:47.289 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Simple Descriptor Response EP: 0x01 LQI: 111
2021-11-17 20:35:47.289 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 ProfileID 0104
2021-11-17 20:35:47.289 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 ZDeviceID 0104
2021-11-17 20:35:47.289 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Application Version 0001
2021-11-17 20:35:47.289 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster IN Count: 06
2021-11-17 20:35:47.289 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster In 1: 0000 (Basic)
2021-11-17 20:35:47.289 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster In 2: 0001 (Power Configuration)
2021-11-17 20:35:47.289 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster In 3: 0003 (Identify)
2021-11-17 20:35:47.289 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster In 4: 0004 (Groups)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster In 5: 0006 (On/Off)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster In 6: 1000 (Touchlink)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster OUT Count: 08
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster Out 1: 0019 (Over-the-Air Upgrade)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster Out 2: 000a (Time)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster Out 3: 0003 (Identify)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster Out 4: 0004 (Groups)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster Out 5: 0005 (Scenes)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster Out 6: 0006 (On/Off)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster Out 7: 0008 (Level Control)
2021-11-17 20:35:47.290 Status: Zigate: (Zigate) [-] NEW OBJECT: 7749 Cluster Out 8: 1000 (Touchlink)
2021-11-17 20:35:52.091 Zigate: (Zigate) Request Basic Manufacturer via Read Attribute request: 0004
2021-11-17 20:35:52.092 Zigate: (Zigate) EP: {'01': {'0000': {}, '0001': {}, '0003': {}, '0004': {}, '0006': {}, '1000': {}, '0019': {}, '000a': {}, '0005': {}, '0008': {}}}
2021-11-17 20:35:52.092 Status: Zigate: (Zigate) [None] NEW OBJECT: 7749 Request Node Descriptor
2021-11-17 20:35:57.091 Zigate: (Zigate) binding_needed_clusters_with_zigate 7749 based on Device Configuration
2021-11-17 20:35:57.091 Zigate: (Zigate) 7749 Binding cluster based on Conf: ['0001', '0006']
2021-11-17 20:35:57.093 Zigate: (Zigate) WARNING - send_zigatecmd : [84] 0100 0277490101001900000000010005 7749 ZigateQueue: 16
2021-11-17 20:35:57.094 Zigate: (Zigate) WARNING - send_zigatecmd : [85] 0100 0277490101001900000000010006 7749 ZigateQueue: 17
2021-11-17 20:35:57.103 Zigate: (Zigate) WARNING - send_zigatecmd : [86] 0100 0277490101001900000000010007 7749 ZigateQueue: 18
2021-11-17 20:35:57.103 Zigate: (Zigate) WARNING - send_zigatecmd : [87] 0100 0277490101001900000000010008 7749 ZigateQueue: 19
2021-11-17 20:35:57.103 Zigate: (Zigate) WARNING - send_zigatecmd : [88] 0100 0277490101001900000000010009 7749 ZigateQueue: 20
2021-11-17 20:35:57.104 Zigate: (Zigate) WARNING - send_zigatecmd : [89] 0100 027749010100190000000001000a 7749 ZigateQueue: 21
2021-11-17 20:35:57.104 Zigate: (Zigate) WARNING - send_zigatecmd : [90] 0100 0277490101000000000000010000 7749 ZigateQueue: 22
2021-11-17 20:35:57.104 Zigate: (Zigate) WARNING - send_zigatecmd : [91] 0100 0277490101000000000000010001 7749 ZigateQueue: 23
2021-11-17 20:35:57.104 Zigate: (Zigate) WARNING - send_zigatecmd : [92] 0100 0277490101000000000000010004 7749 ZigateQueue: 24
2021-11-17 20:35:57.105 Zigate: (Zigate) WARNING - send_zigatecmd : [93] 0100 0277490101000000000000010005 7749 ZigateQueue: 25
2021-11-17 20:35:57.105 Zigate: (Zigate) WARNING - send_zigatecmd : [94] 0530 0277490000003300000200020100 None ZigateQueue: 26
2021-11-17 20:35:57.116 Zigate: (Zigate) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2021-11-17 20:35:57.116 Zigate: (Zigate) is_domoticz_db_available: True
2021-11-17 20:35:57.080 Status: Zigate: (Zigate) [2] NEW OBJECT: 7749 Model Name: TS004F
2021-11-17 20:38:33.560 Zigate: (Zigate) UpdateDevice - (Zigate - lumi.ctrl_ln2.aq1_Meter-00158d000396135d-03) 0:57.66;142738
2021-11-17 20:39:22.099 Zigate: (Zigate) Decode8095 - Tuya TS004F Addr: 7749, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 00
2021-11-17 20:39:22.106 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Button_3-60a423fffefc9492-01) 1:10
2021-11-17 20:39:22.127 Error: dzVents: Error: (3.1.7) Discarding device. No last update info found: {["lastUpdate"]="", ["switchTypeValue"]=18, ["name"]="Zigate - TS004F_Button_3-60a423fffefc9492-01", ["lastLevel"]=255, ["switchType"]="Selector", ["data"]={["levelOffHidden"]=false, ["levelNames"]="Off|Click|Double Click|Long Click", ["hardwareTypeValue"]=94, ["customImage"]=0, ["unit"]=8, ["maxDimLevel"]=100, ["_nValue"]=1, ["levelVal"]=10, ["usedByCamera"]=false, ["icon"]="Light", ["Image"]="Light", ["levelActions"]="|||", ["hardwareName"]="Zigate", ["hardwareID"]=-1610628368, ["protected"]=false, ["hardwareType"]="Zigate plugin", ["_state"]="Click"}, ["description"]="", ["signalLevel"]=-70392079, ["image"]="", ["iconNumber"]=85, ["batteryLevel"]=-1744652480, ["baseType"]="device", ["deviceID"]="", ["protected"]=false, ["timedOut"]=false, ["changed"]=true, ["subType"]="Selector Switch", ["rawData"]={"10"}, ["deviceType"]="Light/Switch", ["id"]=2288}
2021-11-17 20:39:55.951 Zigate: (Zigate) Decode8095 - Tuya TS004F Addr: 7749, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 00
2021-11-17 20:39:55.958 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Button_3-60a423fffefc9492-01) 1:10
2021-11-17 20:40:05.219 Zigate: (Zigate) Decode8095 - Tuya TS004F Addr: 7749, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 01
2021-11-17 20:40:05.224 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Button_3-60a423fffefc9492-01) 2:20
2021-11-17 20:40:11.389 Zigate: (Zigate) Decode8095 - Tuya TS004F Addr: 7749, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 02
2021-11-17 20:40:11.395 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Button_3-60a423fffefc9492-01) 3:30
2021-11-17 20:40:21.372 Zigate: (Zigate) Decode8095 - Tuya TS004F Addr: 7749, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 00
2021-11-17 20:40:21.380 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Button_3-60a423fffefc9492-01) 1:10
2021-11-17 20:40:26.879 Zigate: (Zigate) Decode8095 - Tuya TS004F Addr: 7749, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 00
2021-11-17 20:40:26.884 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Button_3-60a423fffefc9492-01) 1:10
2021-11-17 20:40:33.411 Zigate: (Zigate) Decode8095 - Tuya TS004F Addr: 7749, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 01
2021-11-17 20:40:33.418 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Button_3-60a423fffefc9492-01) 2:20
2021-11-17 20:40:41.160 Zigate: (Zigate) Decode8095 - Tuya TS004F Addr: 7749, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 02
2021-11-17 20:40:41.166 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Button_3-60a423fffefc9492-01) 3:30
2021-11-17 20:41:20.355 Zigate: (Zigate) Decode8095 - Tuya TS004F Addr: 7749, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 00
2021-11-17 20:41:20.361 Zigate: (Zigate) UpdateDevice - (Zigate - TS004F_Button_3-60a423fffefc9492-01) 1:10
I did a log of the 'enable debug input' (and the others recommended in the plugin wiki)

There only appears to be log activity when the top-left button is pressed (single, double or long press).

There seems to be repeated reports of the battery strength of the switch ([ MainThread] ------> NwkId: 9362 Battery: 100 Type: <class 'int'>) is that normal?

Code: Select all

john@kit:~/domoticz/plugins/Domoticz-Zigate/Logs$ sudo tail -f ./PluginZigate_12.log
2021-11-17 21:02:41,927 INFO    : [       MainThread] ZigateTransport: Serial Connection open: Serial<id=0x7f55f824ba60, open=True>(port='/dev/seri                              al/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None,                               xonxoff=False, rtscts=False, dsrdtr=False)
2021-11-17 21:02:41,929 INFO    : [  ZiGateWriter_12] ZigateTransport: writer_thread Thread start.
2021-11-17 21:02:41,929 INFO    : [ZiGateForwarder_12] ZigateTransport: thread_processing_and_sending Thread start.
2021-11-17 21:02:41,930 INFO    : [       MainThread] Connection open: Serial<id=0x7f55f824ba60, open=True>(port='/dev/serial/by-id/usb-Silicon_Lab                              s_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=F                              alse, dsrdtr=False)
2021-11-17 21:02:41,931 INFO    : [       MainThread] Start Web Server connection
2021-11-17 21:02:41,938 INFO    : [       MainThread] Web backend for Web User Interface started on port: 9440
2021-11-17 21:02:46,156 INFO    : [  ZiGateSerial_12] ==> Transport Mode switch to full mode
2021-11-17 21:02:46,157 INFO    : [ZiGateForwarder_12] ZiGate Classic PDM (legacy)
2021-11-17 21:02:46,158 INFO    : [ZiGateForwarder_12] Installer Version Number: 0320
2021-11-17 21:02:46,158 INFO    : [ZiGateForwarder_12] Branch Version: ==> Production <==
2021-11-17 21:02:56,211 INFO    : [ZiGateForwarder_12] Zigate addresses ieee: 00158d0001ede838 , short addr: 0000
2021-11-17 21:02:56,211 INFO    : [ZiGateForwarder_12] Network state UP, PANID: 4acc extPANID: 0x52bf966d947af081 Channel: 19
2021-11-17 21:03:01,094 INFO    : [       MainThread] Request Disabling Accepting new Hardware
2021-11-17 21:03:01,528 DEBUG   : [ZiGateForwarder_12] Decode8014 - Permit Join status: False
2021-11-17 21:03:01,529 INFO    : [ZiGateForwarder_12] Accepting new Hardware: Disable (Off)
2021-11-17 21:03:01,529 DEBUG   : [ZiGateForwarder_12] ---> self.permitTojoin['Starttime']: 1637182981
2021-11-17 21:03:01,530 DEBUG   : [ZiGateForwarder_12] ---> self.permitTojoin['Duration']: 0
2021-11-17 21:03:01,530 DEBUG   : [ZiGateForwarder_12] ---> Current time                  : 1637182981
2021-11-17 21:03:01,530 DEBUG   : [ZiGateForwarder_12] ---> self.Ping['Permit']  (prev)   : None
2021-11-17 21:03:01,531 DEBUG   : [ZiGateForwarder_12] ---> self.Ping['Permit']  (new )   : Off
2021-11-17 21:03:01,531 DEBUG   : [ZiGateForwarder_12] ---> _to_notify                    : True
2021-11-17 21:03:01,531 DEBUG   : [ZiGateForwarder_12] Ping - received
2021-11-17 21:03:01,641 INFO    : [ZiGateForwarder_12] Number of devices recently active in Zigate = 18
2021-11-17 21:03:01,642 INFO    : [ZiGateForwarder_12] [00] DevID: 00 Network addr: c51f IEEE: 00158d0003503792 LQI: 116 power: 00 Model: lumi.sens                              or_motion ( Utility PIR )
2021-11-17 21:03:01,642 INFO    : [ZiGateForwarder_12] [01] DevID: 01 Network addr: 220b IEEE: 00158d00035038e8 LQI: 130 power: 00 Model: lumi.sens                              or_motion ( Kitchen PIR )
2021-11-17 21:03:01,643 INFO    : [ZiGateForwarder_12] [02] DevID: 02 Network addr: c0c3 IEEE: 000d6ffffef03625 LQI: 152 power: 00 Model: TRADFRI o                              penclose remote ( Tradfri openclose )
2021-11-17 21:03:01,643 INFO    : [ZiGateForwarder_12] [03] DevID: 03 Network addr: a01f IEEE: 847127fffe13bacd LQI: 122 power: 00 Model: TS0043 (                               Olivias Button )
2021-11-17 21:03:01,644 INFO    : [ZiGateForwarder_12] [04] DevID: 04 Network addr: 2d35 IEEE: 84fd27fffe69734a LQI: 096 power: 00 Model: ZB-DoorSe                              nsor-D0003 ( Linkind sensor )
2021-11-17 21:03:01,644 INFO    : [ZiGateForwarder_12] [05] DevID: 05 Network addr: 547d IEEE: 00158d00031c51f8 LQI: 070 power: 00 Model: lumi.sens                              or_motion ( Garage PIR )
2021-11-17 21:03:01,644 INFO    : [ZiGateForwarder_12] [06] DevID: 06 Network addr: 9362 IEEE: 60a423fffefc9492 LQI: 089 power: 00 Model: TS004F (                                )
2021-11-17 21:03:01,645 INFO    : [ZiGateForwarder_12] [07] DevID: 07 Network addr: 0949 IEEE: 00158d00035038ad LQI: 101 power: 00 Model: lumi.sens                              or_motion ( Bedroom PIR )
2021-11-17 21:03:01,645 INFO    : [ZiGateForwarder_12] [08] DevID: 28 Network addr: bf9f IEEE: 086bd7fffe5d2cbe LQI: 113 power: 01 Model: Dimmer-Sw                              itch-ZB3.0 ( Olivia's main dimmer )
2021-11-17 21:03:01,646 INFO    : [ZiGateForwarder_12] [09] DevID: 29 Network addr: 318b IEEE: 086bd7fffe5dfe7c LQI: 092 power: 01 Model: Dimmer-Sw                              itch-ZB3.0 ( Emma's main dimmer )
2021-11-17 21:03:01,646 INFO    : [ZiGateForwarder_12] [10] DevID: 2a Network addr: 76ae IEEE: 00158d0001271c1e LQI: 057 power: 01 Model: ICZB-FC (                               Hall light )
2021-11-17 21:03:01,646 INFO    : [ZiGateForwarder_12] [11] DevID: 2b Network addr: 3b42 IEEE: 00158d000396135d LQI: 094 power: 01 Model: lumi.ctrl                              _ln2.aq1 ( Front/Outside Lights )
2021-11-17 21:03:01,647 INFO    : [ZiGateForwarder_12] [12] DevID: 2c Network addr: 74fa IEEE: 7cb03eaa0a04df4b LQI: 124 power: 01 Model: Classic A                              60 W clear - LIGHTIFY ( Dining Lamb Bulb )
2021-11-17 21:03:01,647 INFO    : [ZiGateForwarder_12] [13] DevID: 2d Network addr: f255 IEEE: 00158d00012f55c6 LQI: 125 power: 01 Model: ICZB-FC (                               Olivia's lamp )
2021-11-17 21:03:01,647 INFO    : [ZiGateForwarder_12] [14] DevID: 2e Network addr: 756c IEEE: 680ae2fffe3af5bf LQI: 082 power: 01 not found in plu                              gin database!
2021-11-17 21:03:01,648 INFO    : [ZiGateForwarder_12] [15] DevID: 2f Network addr: e43c IEEE: 842e14fffecd0792 LQI: 088 power: 01 Model: TS011F (                               Plug1 )
2021-11-17 21:03:06,082 INFO    : [       MainThread] Switch Blue Led On
2021-11-17 21:03:06,084 INFO    : [       MainThread] Zigate set to Certification : CE
2021-11-17 21:03:06,084 INFO    : [       MainThread] Start Group Management
2021-11-17 21:03:06,086 INFO    : [       MainThread] Plugin with Zigate, firmware 0320 correctly initialized
2021-11-17 21:03:06,295 INFO    : [ZiGateForwarder_12] TxPower Attenuation: 0 dBm
2021-11-17 21:03:11,127 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:11,128 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:11,128 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:11,128 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:16,082 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:16,083 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:16,083 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:16,083 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:17,564 INFO    : [ZiGateForwarder_12] timeout_widget unit Emma's Lamp -> True from 0:Off
2021-11-17 21:03:17,572 INFO    : [ZiGateForwarder_12] Receive NACK from Emma's lamp (4330) clusterId: 0000 Status: a7
2021-11-17 21:03:17,768 DEBUG   : [ZiGateForwarder_12] Decode8095 - SQN: 20, Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, Payload: 00 Unknown: 02
2021-11-17 21:03:17,772 INFO    : [ZiGateForwarder_12] Decode8095 - Tuya TS004F  Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 00
2021-11-17 21:03:17,772 DEBUG   : [ZiGateForwarder_12] MajDomoDevice NwkId: 9362 Ep: 01 ClusterId: 0006 Value: 01 ValueType: <class 'str'> Attribut                              e:  Color:  ModelName: TS004F
2021-11-17 21:03:17,773 DEBUG   : [ZiGateForwarder_12] ------> ClusterType = Switch
2021-11-17 21:03:17,773 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2288': 'Button_3'}
2021-11-17 21:03:17,773 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2289': 'Button_3'}
2021-11-17 21:03:17,774 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2290': 'Button_3'}
2021-11-17 21:03:17,774 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2291': 'Button_3'}
2021-11-17 21:03:17,774 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 01, WidgetId: 2288, WidgetType: Button_3
2021-11-17 21:03:17,774 DEBUG   : [ZiGateForwarder_12] ------> ClusterType: Switch WidgetEp: 01 WidgetId: 2288 WidgetType: Button_3 Attribute_:
2021-11-17 21:03:17,775 DEBUG   : [ZiGateForwarder_12] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:17,775 DEBUG   : [ZiGateForwarder_12] ------> SignalLevel: 5 , BatteryLevel: 100
2021-11-17 21:03:17,775 DEBUG   : [ZiGateForwarder_12] ------> Generic Widget for 9362 ClusterType: Switch WidgetType: Button_3 Value: 01
2021-11-17 21:03:17,776 DEBUG   : [ZiGateForwarder_12] ------> Switch update WidgetType: Button_3 with {'00': (0, '00'), 1: (1, '10'), '1': (1, '10                              '), '01': (1, '10'), 2: (2, '20'), '2': (2, '20'), '02': (2, '20'), 3: (3, '30'), '3': (3, '30'), '03': (3, '30'), 'ForceUpdate': True, 'LevelNames                              ': 'Off|Click|Double Click|Long Click', 'Language': {'fr-FR': {'LevelNames': 'Arrêt|Click|Double Click|Long Click'}}}
2021-11-17 21:03:17,776 DEBUG   : [ZiGateForwarder_12] UpdateDevice_v2 1:10:   100:  5: True (Zigate - TS004F_Button_3-60a423fffefc9492-01)
2021-11-17 21:03:17,778 DEBUG   : [ZiGateForwarder_12] --->  [Unit: 8] 1:10: 100:5 True (Zigate - TS004F_Button_3-60a423fffefc9492-01)
2021-11-17 21:03:17,778 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 02, WidgetId: 2289, WidgetType: Button_3
2021-11-17 21:03:17,778 DEBUG   : [ZiGateForwarder_12] ------> skiping this WidgetEp as do not match Ep : 02 01
2021-11-17 21:03:17,778 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 03, WidgetId: 2290, WidgetType: Button_3
2021-11-17 21:03:17,778 DEBUG   : [ZiGateForwarder_12] ------> skiping this WidgetEp as do not match Ep : 03 01
2021-11-17 21:03:17,778 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 04, WidgetId: 2291, WidgetType: Button_3
2021-11-17 21:03:17,779 DEBUG   : [ZiGateForwarder_12] ------> skiping this WidgetEp as do not match Ep : 04 01
2021-11-17 21:03:18,482 DEBUG   : [ZiGateForwarder_12] Decode8095 - SQN: 20, Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, Payload: 00 Unknown: 02
2021-11-17 21:03:19,195 DEBUG   : [ZiGateForwarder_12] Decode8095 - SQN: 20, Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, Payload: 00 Unknown: 02
2021-11-17 21:03:21,084 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:21,086 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:21,086 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:21,087 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:21,345 DEBUG   : [ZiGateForwarder_12] Decode8095 - SQN: 21, Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, Payload: 01 Unknown: 02
2021-11-17 21:03:21,348 INFO    : [ZiGateForwarder_12] Decode8095 - Tuya TS004F  Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 01
2021-11-17 21:03:21,348 DEBUG   : [ZiGateForwarder_12] MajDomoDevice NwkId: 9362 Ep: 01 ClusterId: 0006 Value: 02 ValueType: <class 'str'> Attribut                              e:  Color:  ModelName: TS004F
2021-11-17 21:03:21,349 DEBUG   : [ZiGateForwarder_12] ------> ClusterType = Switch
2021-11-17 21:03:21,349 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2288': 'Button_3'}
2021-11-17 21:03:21,349 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2289': 'Button_3'}
2021-11-17 21:03:21,350 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2290': 'Button_3'}
2021-11-17 21:03:21,350 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2291': 'Button_3'}
2021-11-17 21:03:21,350 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 01, WidgetId: 2288, WidgetType: Button_3
2021-11-17 21:03:21,351 DEBUG   : [ZiGateForwarder_12] ------> ClusterType: Switch WidgetEp: 01 WidgetId: 2288 WidgetType: Button_3 Attribute_:
2021-11-17 21:03:21,351 DEBUG   : [ZiGateForwarder_12] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:21,351 DEBUG   : [ZiGateForwarder_12] ------> SignalLevel: 5 , BatteryLevel: 100
2021-11-17 21:03:21,351 DEBUG   : [ZiGateForwarder_12] ------> Generic Widget for 9362 ClusterType: Switch WidgetType: Button_3 Value: 02
2021-11-17 21:03:21,352 DEBUG   : [ZiGateForwarder_12] ------> Switch update WidgetType: Button_3 with {'00': (0, '00'), 1: (1, '10'), '1': (1, '10                              '), '01': (1, '10'), 2: (2, '20'), '2': (2, '20'), '02': (2, '20'), 3: (3, '30'), '3': (3, '30'), '03': (3, '30'), 'ForceUpdate': True, 'LevelNames                              ': 'Off|Click|Double Click|Long Click', 'Language': {'fr-FR': {'LevelNames': 'Arrêt|Click|Double Click|Long Click'}}}
2021-11-17 21:03:21,352 DEBUG   : [ZiGateForwarder_12] UpdateDevice_v2 2:20:   100:  5: True (Zigate - TS004F_Button_3-60a423fffefc9492-01)
2021-11-17 21:03:21,354 DEBUG   : [ZiGateForwarder_12] --->  [Unit: 8] 2:20: 100:5 True (Zigate - TS004F_Button_3-60a423fffefc9492-01)
2021-11-17 21:03:21,355 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 02, WidgetId: 2289, WidgetType: Button_3
2021-11-17 21:03:21,355 DEBUG   : [ZiGateForwarder_12] ------> skiping this WidgetEp as do not match Ep : 02 01
2021-11-17 21:03:21,355 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 03, WidgetId: 2290, WidgetType: Button_3
2021-11-17 21:03:21,355 DEBUG   : [ZiGateForwarder_12] ------> skiping this WidgetEp as do not match Ep : 03 01
2021-11-17 21:03:21,355 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 04, WidgetId: 2291, WidgetType: Button_3
2021-11-17 21:03:21,355 DEBUG   : [ZiGateForwarder_12] ------> skiping this WidgetEp as do not match Ep : 04 01
2021-11-17 21:03:22,058 DEBUG   : [ZiGateForwarder_12] Decode8095 - SQN: 21, Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, Payload: 01 Unknown: 02
2021-11-17 21:03:22,721 DEBUG   : [ZiGateForwarder_12] Decode8095 - SQN: 21, Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, Payload: 01 Unknown: 02
2021-11-17 21:03:26,084 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:26,085 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:26,087 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:26,087 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:28,890 DEBUG   : [ZiGateForwarder_12] Decode8095 - SQN: 22, Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, Payload: 02 Unknown: 02
2021-11-17 21:03:28,893 INFO    : [ZiGateForwarder_12] Decode8095 - Tuya TS004F  Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, MsgPayload: 02
2021-11-17 21:03:28,893 DEBUG   : [ZiGateForwarder_12] MajDomoDevice NwkId: 9362 Ep: 01 ClusterId: 0006 Value: 03 ValueType: <class 'str'> Attribut                              e:  Color:  ModelName: TS004F
2021-11-17 21:03:28,893 DEBUG   : [ZiGateForwarder_12] ------> ClusterType = Switch
2021-11-17 21:03:28,894 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2288': 'Button_3'}
2021-11-17 21:03:28,894 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2289': 'Button_3'}
2021-11-17 21:03:28,894 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2290': 'Button_3'}
2021-11-17 21:03:28,895 DEBUG   : [ZiGateForwarder_12] ------> 'ClusterType': {'2291': 'Button_3'}
2021-11-17 21:03:28,895 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 01, WidgetId: 2288, WidgetType: Button_3
2021-11-17 21:03:28,895 DEBUG   : [ZiGateForwarder_12] ------> ClusterType: Switch WidgetEp: 01 WidgetId: 2288 WidgetType: Button_3 Attribute_:
2021-11-17 21:03:28,896 DEBUG   : [ZiGateForwarder_12] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:28,896 DEBUG   : [ZiGateForwarder_12] ------> SignalLevel: 5 , BatteryLevel: 100
2021-11-17 21:03:28,896 DEBUG   : [ZiGateForwarder_12] ------> Generic Widget for 9362 ClusterType: Switch WidgetType: Button_3 Value: 03
2021-11-17 21:03:28,897 DEBUG   : [ZiGateForwarder_12] ------> Switch update WidgetType: Button_3 with {'00': (0, '00'), 1: (1, '10'), '1': (1, '10                              '), '01': (1, '10'), 2: (2, '20'), '2': (2, '20'), '02': (2, '20'), 3: (3, '30'), '3': (3, '30'), '03': (3, '30'), 'ForceUpdate': True, 'LevelNames                              ': 'Off|Click|Double Click|Long Click', 'Language': {'fr-FR': {'LevelNames': 'Arrêt|Click|Double Click|Long Click'}}}
2021-11-17 21:03:28,897 DEBUG   : [ZiGateForwarder_12] UpdateDevice_v2 3:30:   100:  5: True (Zigate - TS004F_Button_3-60a423fffefc9492-01)
2021-11-17 21:03:28,900 DEBUG   : [ZiGateForwarder_12] --->  [Unit: 8] 3:30: 100:5 True (Zigate - TS004F_Button_3-60a423fffefc9492-01)
2021-11-17 21:03:28,900 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 02, WidgetId: 2289, WidgetType: Button_3
2021-11-17 21:03:28,900 DEBUG   : [ZiGateForwarder_12] ------> skiping this WidgetEp as do not match Ep : 02 01
2021-11-17 21:03:28,901 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 03, WidgetId: 2290, WidgetType: Button_3
2021-11-17 21:03:28,901 DEBUG   : [ZiGateForwarder_12] ------> skiping this WidgetEp as do not match Ep : 03 01
2021-11-17 21:03:28,901 DEBUG   : [ZiGateForwarder_12] ----> processing WidgetEp: 04, WidgetId: 2291, WidgetType: Button_3
2021-11-17 21:03:28,901 DEBUG   : [ZiGateForwarder_12] ------> skiping this WidgetEp as do not match Ep : 04 01
2021-11-17 21:03:29,604 DEBUG   : [ZiGateForwarder_12] Decode8095 - SQN: 22, Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, Payload: 02 Unknown: 02
2021-11-17 21:03:30,269 DEBUG   : [ZiGateForwarder_12] Decode8095 - SQN: 22, Addr: 9362, Ep: 01, Cluster: 0006, Cmd: fd, Payload: 02 Unknown: 02
2021-11-17 21:03:31,087 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:31,088 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:31,089 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>
2021-11-17 21:03:31,089 DEBUG   : [       MainThread] ------>  NwkId: 9362 Battery: 100 Type: <class 'int'>

Re: Tuya / Moes TS004F 21/34

Posted: Thursday 18 November 2021 13:17
by pipiche
I’ll try to push some update on beta branch this evening


Envoyé de mon iPhone en utilisant Tapatalk

Re: Tuya / Moes TS004F 21/34

Posted: Thursday 18 November 2021 18:42
by pipiche
I have push an update on the beta branch. Would be interesting to redo the test. Please redo the all pairing from scratch

Re: Tuya / Moes TS004F 21/34

Posted: Thursday 18 November 2021 21:40
by gorstj
Upgraded to latest beta 5.5.290 and restarted domotiz
I removed all four of the selector switches from Domoticz and then re-paired.

Same behaviour as before.
Only the top-left button does anything.
Nothing in the domoticz or plugin log when I press the other buttons.

It would seem the device isn't initialising correctly.

Thanks for your attempts.

Would it help if I ordered one to be sent to you?

Re: Tuya / Moes TS004F 21/34

Posted: Thursday 18 November 2021 23:14
by pipiche
I just sent you a MP

Re: [Fixed] Tuya / Moes TS004F 21/34

Posted: Tuesday 11 January 2022 21:33
by gorstj
Just a quick update to say the TS004F is now fixed.

I am using the Zigate plugin 6.0.007 and Zigate firmware 0321.

I think it was the updated Zigate plugin that did the trick.

Just worked straight off without needing to hold down the right two buttons to change the 'mode' or any other complicated manoeuvres.

Thanks to Pipiche for being so diligent in getting this to work!

Re: [Fixed] Tuya / Moes TS004F 21/34

Posted: Friday 14 January 2022 12:10
by pipiche
Thanks for your support as well @gorstj

Re: [Fixed] Tuya / Moes TS004F 21/34

Posted: Monday 17 January 2022 20:06
by gorstj
Noticing quite a delay between pressing a button on the TS004F and the resulting actions.
Seems less with a 'double click'

Is the amount of time to decide a single click vs double click set in Zigate plugin or in the device itself.

Only other factor is that it is installed in a remote room at the bottom of my garden - so it could be the zigbee network has delay/loss because of the distance. Any way of detecting resends or packet loss in the plugin?