Thanks, but at the moment I don't want to mess with anything that works on the C-8 in case it doesn't re-pair. I've just ordered a new Sonoff SNZB-01P so i'll try that when it arrives.
Just tried to setup this driver ..
Installed new driver and then installed zibee : Moes TS004
after install went to try the buttons in devices and nothing showed.
went to logs and found this ..
app:1852023-11-16 07:31:31.266 AMinfoapp: When Switch - Porch 2 button 1 pushed …
app:1852023-11-16 07:31:31.264 AMinfoapp: initialized
dev:522023-11-16 07:25:54.119 AMdebugTuya Scene Switch TS004F readAttributeResponse cluster: 0006 unsupported attribute 8004 status:86
dev:522023-11-16 07:25:54.117 AMdebugTuya Scene Switch TS004F catchall descMap: [raw:catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 01 01 048086, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:2491, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[04, 80, 86]]
dev:522023-11-16 07:25:54.115 AMdebugTuya Scene Switch TS004F description is catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 01 01 048086
dev:522023-11-16 07:25:54.084 AMdebugTuya Scene Switch TS004F readAttributeResponse cluster: E001 unsupported attribute D011 status:86
dev:522023-11-16 07:25:54.082 AMdebugTuya Scene Switch TS004F catchall descMap: [raw:catchall: 0104 E001 01 01 0040 00 2491 00 00 0000 01 01 11D086, profileId:0104, clusterId:E001, clusterInt:57345, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:2491, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[11, D0, 86]]
dev:522023-11-16 07:25:54.079 AMdebugTuya Scene Switch TS004F description is catchall: 0104 E001 01 01 0040 00 2491 00 00 0000 01 01 11D086
dev:522023-11-16 07:25:45.507 AMdebugTuya Scene Switch TS004F writeAttributeResponse cluster: 0006 status:86
dev:522023-11-16 07:25:45.503 AMdebugTuya Scene Switch TS004F catchall descMap: [raw:catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 04 01 860480, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:2491, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, 04, 80]]
dev:522023-11-16 07:25:45.500 AMdebugTuya Scene Switch TS004F description is catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 04 01 860480
dev:522023-11-16 07:25:45.469 AMinfoTuya Scene Switch TS004F batteryVoltage is 3.0 V
dev:522023-11-16 07:25:45.468 AMdebugTuya Scene Switch TS004F Event enter: [name:batteryVoltage, value:3.0]
dev:522023-11-16 07:25:45.463 AMdebugTuya Scene Switch TS004F description is read attr - raw: 2491010001142000201E21000020C8, dni: 2491, endpoint: 01, cluster: 0001, size: 14, attrId: 0020, encoding: 20, command: 01, value: 1E21000020C8
dev:522023-11-16 07:25:45.453 AMdebugTuya Scene Switch TS004F readAttributeResponse cluster: E001 unsupported attribute D011 status:86
dev:522023-11-16 07:25:45.450 AMdebugTuya Scene Switch TS004F catchall descMap: [raw:catchall: 0104 E001 01 01 0040 00 2491 00 00 0000 01 01 11D086, profileId:0104, clusterId:E001, clusterInt:57345, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:2491, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[11, D0, 86]]
dev:522023-11-16 07:25:45.447 AMdebugTuya Scene Switch TS004F description is catchall: 0104 E001 01 01 0040 00 2491 00 00 0000 01 01 11D086
dev:522023-11-16 07:25:45.437 AMdebugTuya Scene Switch TS004F readAttributeResponse cluster: 0006 unsupported attribute 8004 status:86
dev:522023-11-16 07:25:45.433 AMdebugTuya Scene Switch TS004F catchall descMap: [raw:catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 01 01 048086, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:2491, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[04, 80, 86]]
dev:522023-11-16 07:25:45.430 AMdebugTuya Scene Switch TS004F description is catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 01 01 048086
dev:522023-11-16 07:25:45.417 AMdebugTuya Scene Switch TS004F writeAttributeResponse cluster: 0006 status:86
dev:522023-11-16 07:25:45.413 AMdebugTuya Scene Switch TS004F catchall descMap: [raw:catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 04 01 860480, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:2491, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, 04, 80]]
dev:522023-11-16 07:25:45.411 AMdebugTuya Scene Switch TS004F description is catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 04 01 860480
dev:522023-11-16 07:25:45.365 AMdebugTuya Scene Switch TS004F readAttributeResponse cluster: 0006 unsupported attribute 8004 status:86
dev:522023-11-16 07:25:45.362 AMdebugTuya Scene Switch TS004F catchall descMap: [raw:catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 01 01 048086, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:2491, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[04, 80, 86]]
dev:522023-11-16 07:25:45.359 AMdebugTuya Scene Switch TS004F description is catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 01 01 048086
sys:12023-11-16 07:25:44.828 AMinfoZigbee Discovery Stopped
dev:522023-11-16 07:25:44.590 AMinfoTuya Scene Switch TS004F batteryVoltage is 3.0 V
dev:522023-11-16 07:25:44.588 AMdebugTuya Scene Switch TS004F Event enter: [name:batteryVoltage, value:3.0]
dev:522023-11-16 07:25:44.579 AMdebugTuya Scene Switch TS004F description is read attr - raw: 2491010001142000201E21000020C8, dni: 2491, endpoint: 01, cluster: 0001, size: 14, attrId: 0020, encoding: 20, command: 01, value: 1E21000020C8
dev:522023-11-16 07:25:44.570 AMdebugTuya Scene Switch TS004F skipping Basic cluster 0000 response
dev:522023-11-16 07:25:44.566 AMdebugTuya Scene Switch TS004F raw: descMap: [raw:249101000068040042105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000, dni:2491, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3000_wkai4ga5, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:42, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0044, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]
dev:522023-11-16 07:25:44.556 AMwarnTuya Scene Switch TS004F exception caught while procesing event read attr - raw: 249101000068040042105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000, dni: 2491, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000
dev:522023-11-16 07:25:44.540 AMdebugTuya Scene Switch TS004F description is read attr - raw: 249101000068040042105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000, dni: 2491, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000
dev:522023-11-16 07:25:44.500 AMdebugTuya Scene Switch TS004F readAttributeResponse cluster: 0006 unsupported attribute 8004 status:86
dev:522023-11-16 07:25:44.491 AMdebugTuya Scene Switch TS004F catchall descMap: [raw:catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 01 01 048086, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:2491, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[04, 80, 86]]
dev:522023-11-16 07:25:44.483 AMdebugTuya Scene Switch TS004F description is catchall: 0104 0006 01 01 0040 00 2491 00 00 0000 01 01 048086
dev:522023-11-16 07:25:44.481 AMinfoTuya Scene Switch TS004F is online
dev:522023-11-16 07:25:44.421 AMdebugTuya Scene Switch TS004F skipping Basic cluster 0000 response
dev:522023-11-16 07:25:44.414 AMdebugTuya Scene Switch TS004F raw: descMap: [raw:249101000068040042105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000, dni:2491, endpoint:01, cluster:0000, size:68, attrId:0004, encoding:42, command:01, value:_TZ3000_wkai4ga5, clusterInt:0, attrInt:4, additionalAttrs:[[value:03, encoding:20, attrId:0000, consumedBytes:4, attrInt:0], [value:42, encoding:20, attrId:0001, consumedBytes:4, attrInt:1], [value:TS0044, encoding:42, attrId:0005, consumedBytes:9, attrInt:5]]]
dev:522023-11-16 07:25:44.399 AMwarnTuya Scene Switch TS004F exception caught while procesing event read attr - raw: 249101000068040042105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000, dni: 2491, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000
dev:522023-11-16 07:25:44.363 AMdebugTuya Scene Switch TS004F description is read attr - raw: 249101000068040042105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000, dni: 2491, endpoint: 01, cluster: 0000, size: 68, attrId: 0004, encoding: 42, command: 01, value: 105F545A333030305F776B6169346761350000002003010000204205000042065453303034340700003003FEFF003000
dev:522023-11-16 07:25:44.361 AMinfoTuya Scene Switch TS004F is online
sys:12023-11-16 07:25:44.356 AMinfoCreated Zigbee Device Tuya Scene Switch TS004F
dev:522023-11-16 07:25:44.282 AMdebugTuya Scene Switch TS004F device _TZ3000_wkai4ga5 identified as 4 keys scene switch model TS0044
dev:522023-11-16 07:25:44.270 AMtraceTuya Scene Switch TS004F sendZigbeeCommands(cmd=[he raw 0x2491 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he raw 0x2491 1 0x01 0x0006 {10 00 00 04 80}, delay 50, he raw 0x2491 1 0x01 0xE001 {10 00 00 11 D0}, delay 50, he raw 0x2491 1 0x01 0x0001 {10 00 00 20 00 21 00}, delay 50, he wattr 0x2491 0x01 0x0006 0x8004 0x30 {01} {}, delay 50, he raw 0x2491 1 0x01 0x0006 {10 00 00 04 80}, delay 50])
dev:522023-11-16 07:25:44.268 AMinfoTuya Scene Switch TS004F battery reporting interval not changed.
dev:522023-11-16 07:25:44.232 AMdebugTuya Scene Switch TS004F Configuring device model TS0044 manufacturer _TZ3000_wkai4ga5 ...
dev:522023-11-16 07:25:44.019 AMdebugTuya Scene Switch TS004F device _TZ3000_wkai4ga5 identified as 4 keys scene switch model TS0044
dev:522023-11-16 07:25:43.985 AMtraceTuya Scene Switch TS004F sendZigbeeCommands(cmd=[he raw 0x2491 1 0x01 0x0000 {10 00 00 04 00 00 00 01 00 05 00 07 00 FE FF}, delay 200, he raw 0x2491 1 0x01 0x0006 {10 00 00 04 80}, delay 50, he raw 0x2491 1 0x01 0xE001 {10 00 00 11 D0}, delay 50, he raw 0x2491 1 0x01 0x0001 {10 00 00 20 00 21 00}, delay 50, he wattr 0x2491 0x01 0x0006 0x8004 0x30 {01} {}, delay 50, he raw 0x2491 1 0x01 0x0006 {10 00 00 04 80}, delay 50])
dev:522023-11-16 07:25:43.980 AMinfoTuya Scene Switch TS004F battery reporting interval not changed.
dev:522023-11-16 07:25:43.873 AMinfoTuya Scene Switch TS004F InitializeVars()... fullInit = true
dev:522023-11-16 07:25:43.868 AMinfoTuya Scene Switch TS004F installed()...
sys:12023-11-16 07:25:37.978 AMinfoInitializing Zigbee Device B43A31FFFE0F29ED, 2491
sys:12023-11-16 07:25:34.826 AMinfoZigbee Discovery Running
I've found the same TS0044 _TZ3000_wkai4ga5 device reported as working OK in this post.
So the exception that is thrown and catcher when processing multiple attributes report is a bit strange... I can propose you to try pairing it once again, very close to the hub.
Thanks for the quick response
I tried adding this switch "close to hub" Does not seem to like it LOL
If I go far away and use my phone to add it seems to work. ( weird )
Anyway I will give it a try again .. Currently Its installed as the default driver.
and seems to be working ok. all buttons show / work when testing in the devices page.
Should I just try and switch the driver to the new one without re-installing the switch ?
Also, try the HE inbuilt Tuya Scene Switch - is it working?
yes it seems to works fine .. with stock driver ..
We doubled .. : )
TS0044 devices typically do not need special initialisation and special modes handling like Ts004F , with several exceptions.
So if this TS0044 switch works OK with the inbuilt driver, its fingerprint must be included into the stock driver .
Can you try to obtain the device fingerprint?
Switch to the HE inbuilt‘Device’ driver and hit the Get Info button at the same time when you press the device button.
Ummmm .. Sorry I do not see a get info button the device page ?
I think I am using the "default driver now yes ?
How do I do that ?
- endpointId: 01
- application: 0120FFE41F20FFE242
- manufacturer: _TZ3000_wkai4ga5
- model: TS0044
Also .. Really only want to use a different driver because sometimes with the "stock" driver
when I push a button .. the light will turn on .. then 1-2 secs later the light turns off
Or if the light is ON and try to turn off .. if will turn light OFF and then back ON in 1-3 secs
will do this several times in a row
Also Would like to get the battery level of the switches. I thought your driver does this ?
So I tried the device info thing .. found it after doing some resource.
In the logs it showed this ...
I just tryed your driver .. just changed from default to your new one.
and NOW seems to be working .. no errors ect. and buttons now work.
dev:532023-11-16 10:13:19.781 AMinfofingerprint profileId:"0104", endpointId:"01", inClusters:"0000,0001,0006", outClusters:"0019,000A", model:"TS0044", manufacturer:"_TZ3000_wkai4ga5"
dev:532023-11-16 10:13:19.452 AMinfoZigbee parsed:[raw:catchall: 0104 0006 02 01 0040 00 4CFA 01 00 0000 FD 00 00, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:02, destinationEndpoint:01, options:0040, messageType:00, dni:4CFA, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:FD, direction:00, data:[00]]
dev:532023-11-16 10:13:05.059 AMerrororg.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: DefaultDevice.deviceHealthCheck() is applicable for argument types: () values: [] (method deviceHealthCheck)
dev:532023-11-16 10:13:02.718 AMinfofingerprint profileId:"0104", endpointId:"01", inClusters:"0000,0001,0006", outClusters:"0019,000A", model:"TS0044", manufacturer:"_TZ3000_wkai4ga5"
dev:532023-11-16 10:13:02.601 AMtraceZCL version:03
dev:532023-11-16 10:13:02.597 AMtraceZCL version:03
dev:532023-11-16 10:13:02.593 AMtraceSoftware Build Id:unknown
dev:532023-11-16 10:13:02.589 AMtraceSoftware Build Id:unknown
dev:532023-11-16 10:13:02.585 AMtraceModel:TS0044
dev:532023-11-16 10:13:02.580 AMtraceModel:TS0044
dev:532023-11-16 10:13:02.577 AMtraceManufacturer:_TZ3000_wkai4ga5
dev:532023-11-16 10:13:02.572 AMtraceManufacturer:_TZ3000_wkai4ga5
dev:532023-11-16 10:13:02.359 AMinfoZigbee parsed:[raw:catchall: 0104 0006 01 01 0040 00 4CFA 01 00 0000 FD 00 00, profileId:0104, clusterId:0006, clusterInt:6, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:4CFA, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:FD, direction:00, data:[00]]
dev:532023-11-16 10:12:54.078 AMdebuggetting info for unknown Zigbee device...
- endpointId: 01
- application: 0120FFE41F20FFE242
- inClusters: 0000,0001,0006
- manufacturer: _TZ3000_wkai4ga5
- model: TS0044
- outClusters: 0019,000A
- softwareBuild:
This points to a problem with the pairing :
The application should be a hexadecimal number ..
Have you tried deleting the device ( 'REMOVE DEVICE' red button at the bottom of the web page) and pairing it again to HE?
Just wanted to report that this driver works well for the Moes ERS-10TZBVB-AA button as Tuya Multi-scene Switch Button, Model: TS004F, _TZ3000_kjfzuycl.
Have only had it set up for an hour, but good so far.
I just ordered and received the Tuya Remote Control TS004F, 4 button scene controller. It works very nice. I'm only testing for 18 hours now but seems stable. I paired it without realizing I hadn't loaded the driver, and device paired but did nothing. As soon as I loaded the driver and re-paired the device is working excellent, instant response. Another excellent driver by @kkossev , Kudos !!
Does anyone know why they would choose such an odd battery with a very low capacity, it's an A23 12 volt battery which only has about 50mAh capacity. Even a standard CR2032 has at least triple the capacity and even 4x greater capacity. I wish I had known this before purchase, as these batteries are too expensive, about 3-4.00 USD for 1 battery and I only paid 8.00 for entire remote
I have a Tuya Keyfob, model TS0215. It works fine. But I don't get any battery level or percentage. Should I? I have your latest driver on the unit.
If I do a refresh I get the following in the logs.
dev:30392024-01-22 08:02:05.669 AMwarnKeyfob unknown device model RC-EF-3.0 manufacturer HEIMAN. Please report this log to the developer.
Just wanted to report that I’ve tested this specific button, it’s not explicitly listed as the model but it’s the 4th one down in the image list in the first post. It’s a good price right now, $17.
Wireless Smart Switch Button - TUYA Waterproof Single Click Voice Control Smart Switch with Easy Installation and Phone Control Deisgn
https://a.co/d/dlbYZqW
Shows up in Hubitat as:
Manufacturer: _TZ3000_fa9mlvja
Model: TS0041
The button works with the custom Tuya Scene Switch TS004F driver.
Well .. I just weird problems with this stuff .. all the time !
Just tried your driver again .. and got this error ... using c-8 with 2.3.7.146
Not sure why I have soooo many problems
Two of my 4 button controllers decided to stop working.
Was using the stock driver and tried yours .. seemed to kind of fix 1 of the controllers
ended up having to "readd it " / reset it in the zigbee devices
But not the other then I started getting this in the logs ..
- endpointId: 01
- application: 42
- manufacturer: _TZ3000_wkai4ga5
- model: TS0044
Did you manage to fix the issue?
Most of the TS0044 scene switches will work with the HE inbuilt Tuya Scene Switch driver. This _TZ3000_wkai4ga5 may be an exception, I don't know ... There are too many different manufacturers of these devices.
Well .. Not really .. I went back to the "stock" driver. on all my 4-button remotes.
I have 5 of these ..
this button controller seems to want to work with the stock driver.
- endpointId: 01
- application: 0120FFE41F20FFE242
- manufacturer: _TZ3000_wkai4ga5
- model: TS0044
The other button controllers all have a application ID of 42
- endpointId: 01
- application: 42
- manufacturer: _TZ3000_wkai4ga5
- model: TS0044
Whats weird is the only controller that shows battery is the one that has a app id of : 0120FFE41F20FFE242
Update Mr. kkossev ..
I have switched ALL ( 5 ) of these stupid TZ3000_wkai4ga5 - model: TS0044
To our driver now and finally they all seem to work ok and they seem to stay online ..
Well show / list Online .. well sofar anyway LOL
I was still getting some weird behavior from 1-2 of them when you single click button ..
it would turn on then off right away .. or if the light was on and you clicked off .. it would turn on again.
I think you said to me some where about debouncing .. so I went in to your driver.
and changed debouncing to 2000 and this seems to have fix it.
Hopefully I did this correct .. only spot i could find were it listed a time for debouncing.
And it did seem to help
@Field static final Integer DEBOUNCE_TIME = 2000
I wonder if you added it to the options page of the driver for people like me that need it ?
Also wondering Why Only ( 2 ) of the ( 5 ) these stupid switches show battery %
Anyway thanks for your help the other day