Tuya / Moes 1/2/3 gang dimmer

Sure l will do again. Will let you know in this post what the results will be.

@kkossev <
This is logging from just now:
dev:2552022-11-13 22:14:36.067errorjava.lang.NullPointerException: Cannot invoke method isAutoOn() on null object on line 515 (method setLevel)

dev:2552022-11-13 22:14:09.501errorjava.lang.NullPointerException: Cannot invoke method isAutoOn() on null object on line 515 (method setLevel)

dev:2552022-11-13 22:13:38.048infoBrightness 01 is 100% (100)

dev:2552022-11-13 22:13:37.986infoSwitch 01 is on

dev:2552022-11-13 22:13:36.559infoBrightness 01 is 100% (100)

dev:2552022-11-13 22:13:36.492infoSwitch 01 is off

dev:2552022-11-13 22:13:14.209infoBrightness 01 is 100% (100)

dev:2552022-11-13 22:13:14.133infoSwitch 01 is on

dev:2552022-11-13 22:13:13.935infoSwitch 01 is on

dev:2552022-11-13 22:13:09.523errorjava.lang.NullPointerException: Cannot invoke method isAutoOn() on null object on line 515 (method setLevel)

dev:2552022-11-13 22:12:59.887infoBrightness 01 is 100% (100)

dev:2552022-11-13 22:12:59.818infoSwitch 01 is off

dev:2552022-11-13 22:12:59.664infoSwitch 01 is off

dev:2552022-11-13 22:12:37.122errorjava.lang.NullPointerException: Cannot invoke method isAutoOn() on null object on line 515 (method setLevel)

dev:2552022-11-13 22:12:16.965infomaxLevel brightness parameter was updated to 100%

dev:2552022-11-13 22:12:14.972infominLevel brightness parameter was updated to 0%

dev:2552022-11-13 22:12:14.849errorjava.lang.NullPointerException: Cannot invoke method onParentSettingsChange() on null object on line 254 (method updated)

dev:2552022-11-13 22:12:14.819info### updating settings for device _TZE200_ip2akl4w [numEps:1, model:TS0601, inClusters:0004,0005,EF00,0000, joinName:Moes Zigbee 1-Gang Dimmer module]

dev:2552022-11-13 22:12:10.177errorjava.lang.NullPointerException: Cannot invoke method multiply() on null object on line 922 (method setLevel)

dev:2552022-11-13 22:12:05.117errorjava.lang.NullPointerException: Cannot invoke method multiply() on null object on line 922 (method setLevel)

dev:2552022-11-13 22:11:55.339errorjava.lang.NullPointerException: Cannot invoke method multiply() on null object on line 935 (method parse)

dev:2552022-11-13 22:11:49.794errorjava.lang.NullPointerException: Cannot invoke method multiply() on null object on line 935 (method parse)

dev:2552022-11-13 22:11:46.278errorjava.lang.NullPointerException: Cannot invoke method multiply() on null object on line 935 (method parse)

dev:2552022-11-13 22:11:45.033errorjava.lang.NullPointerException: Cannot invoke method multiply() on null object on line 935 (method parse)

dev:2552022-11-13 22:11:27.772errorjava.lang.NullPointerException: Cannot invoke method multiply() on null object on line 935 (method parse)

dev:2552022-11-13 22:11:23.179errorjava.lang.NullPointerException: Cannot invoke method multiply() on null object on line 935 (method parse)

dev:2552022-11-13 22:10:48.265debug[raw:catchall: 0104 EF00 01 01 0040 00 45F1 01 00 0000 24 01 040F, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:45F1, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:24, direction:01, data:[04, 0F]]

dev:2552022-11-13 22:10:44.434debug[raw:catchall: 0104 EF00 01 01 0040 00 45F1 01 00 0000 01 01 00D80E04000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:45F1, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, D8, 0E, 04, 00, 01, 00]]

dev:2552022-11-13 22:10:44.381debug[raw:catchall: 0104 EF00 01 01 0040 00 45F1 01 00 0000 01 01 00D71504000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:45F1, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, D7, 15, 04, 00, 01, 01]]

dev:2552022-11-13 22:10:44.314debug[raw:catchall: 0104 EF00 01 01 0040 00 45F1 01 00 0000 01 01 00D60404000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:45F1, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, D6, 04, 04, 00, 01, 00]]

dev:2552022-11-13 22:10:44.265debug[raw:catchall: 0104 EF00 01 01 0040 00 45F1 01 00 0000 01 01 00D50602000400000000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:45F1, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, D5, 06, 02, 00, 04, 00, 00, 00, 00]]

dev:2552022-11-13 22:10:44.211debug[raw:catchall: 0104 EF00 01 01 0040 00 45F1 01 00 0000 01 01 00D40302000400000000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:45F1, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, D4, 03, 02, 00, 04, 00, 00, 00, 00]]

dev:2552022-11-13 22:10:44.154debug[raw:catchall: 0104 EF00 01 01 0040 00 45F1 01 00 0000 01 01 00D305020004000003E8, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:45F1, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, D3, 05, 02, 00, 04, 00, 00, 03, E8]]

dev:2552022-11-13 22:10:44.100debug[raw:catchall: 0104 EF00 01 01 0040 00 45F1 01 00 0000 01 01 00D202020004000003E8, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:45F1, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, D2, 02, 02, 00, 04, 00, 00, 03, E8]]

dev:2552022-11-13 22:10:44.065debugParent Switch ON

dev:2552022-11-13 22:10:44.046debug[raw:catchall: 0104 EF00 01 01 0040 00 45F1 01 00 0000 01 01 00D10101000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:45F1, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, D1, 01, 01, 00, 01, 01]]

dev:2552022-11-13 22:10:38.086infoRefreshing...

dev:2552022-11-13 22:10:38.054errorjava.lang.NullPointerException: Cannot invoke method getAt() on null object on line 83 (method parse)

dev:2552022-11-13 22:10:38.049debug[raw:45F101EF000A00002000, dni:45F1, endpoint:01, cluster:EF00, size:0A, attrId:0000, encoding:20, command:01, value:00, clusterInt:61184, attrInt:0]

dev:2552022-11-13 22:10:38.011errorjava.lang.NullPointerException: Cannot invoke method getAt() on null object on line 83 (method parse)

dev:2552022-11-13 22:10:37.995debug[raw:45F101EF000A00002000, dni:45F1, endpoint:01, cluster:EF00, size:0A, attrId:0000, encoding:20, command:01, value:00, clusterInt:61184, attrInt:0]

dev:2552022-11-13 22:10:37.976debug{executed} 0x45F1 0x01 0xEF00 0x00

dev:2552022-11-13 22:10:37.973debugcomponent refresh 255-04 Moes ZigBee Wall Switch 1/2/3-Gang EP04

dev:2552022-11-13 22:10:37.939errorjava.lang.NullPointerException: Cannot invoke method getAt() on null object on line 83 (method parse)

dev:2552022-11-13 22:10:37.933debug[raw:45F101EF000A00002000, dni:45F1, endpoint:01, cluster:EF00, size:0A, attrId:0000, encoding:20, command:01, value:00, clusterInt:61184, attrInt:0]

dev:2552022-11-13 22:10:37.916infoCreating device 255-04

dev:2552022-11-13 22:10:37.912debug{executed} 0x45F1 0x01 0xEF00 0x00

dev:2552022-11-13 22:10:37.908debugcomponent refresh 255-03 Moes ZigBee Wall Switch 1/2/3-Gang EP03

dev:2552022-11-13 22:10:37.858errorjava.lang.NullPointerException: Cannot invoke method getAt() on null object on line 83 (method parse)

dev:2552022-11-13 22:10:37.857infoCreating device 255-03

dev:2552022-11-13 22:10:37.853debug{executed} 0x45F1 0x01 0xEF00 0x00

dev:2552022-11-13 22:10:37.852debug[raw:45F101EF000A00002000, dni:45F1, endpoint:01, cluster:EF00, size:0A, attrId:0000, encoding:20, command:01, value:00, clusterInt:61184, attrInt:0]

dev:2552022-11-13 22:10:37.850debugcomponent refresh 255-02 Moes ZigBee Wall Switch 1/2/3-Gang EP02

dev:2552022-11-13 22:10:37.783infoCreating device 255-02

dev:2552022-11-13 22:10:37.779debug{executed} 0x45F1 0x01 0xEF00 0x00

dev:2552022-11-13 22:10:37.773debugcomponent refresh 255-01 Moes ZigBee Wall Switch 1/2/3-Gang EP01

dev:2552022-11-13 22:10:37.660infoCreating device 255-01

dev:2552022-11-13 22:10:37.657debugParent createChildDevices

dev:2552022-11-13 22:10:37.656infomodel: _TZE200_ip2akl4w buttons: 4

dev:2552022-11-13 22:10:37.652debugParent deleteChildren

dev:2552022-11-13 22:10:37.651debugParent setupChildDevices

dev:2552022-11-13 22:10:37.650warnDebug logging will be automatically disabled after 30 minutes!

dev:2552022-11-13 22:10:37.649infoInstalling...

1 Like

I see a progress: the logs from 22:10:37 until 22:12:10 are from the wrong driver "ZigBee Wall Switch 1/2/3-Gang"

However, at 22:12:14 the logs are produced by the correct driver "Tuya Zigbee Dimmer module".

Do you remember what you did?

Now please click on the 'Configure' button. For the single-gang dimmer you should have no child devices, only one main device on the page.

What remains is to delete the phantom child devices.. If hitting Configure did not work ( after pressing F5 you still see child devices at the bottom of the page), do the following :

Change the driver to the one named 'device' and click on the 'Save device' button below

Then, click on 'Delete All Child Devices'

Finally, switch back to the "Tuya Zigbee Dimmer module" driver and click on the Configure button

Try the Set Level command (enter a value between 0 and 100)

where can i join the owners

https://community.hubitat.com/g?filter=owner

Hello @kkossev,

it looks like the driver is working, only problem is my dimmer stopped working lol :stuck_out_tongue:

When l have fixed that or have a new one then l will test again.

Gr Tayfun

1 Like

I have found and fixed a bug that I introduced in the previous version in the Configure button functionality (child devices could not be deleted successfully).

If anyone is using the previous versions 0.2.7 or 0.2.8, please update to the new one 0.2.9. from the dev. branch link : https://raw.githubusercontent.com/kkossev/hubitat-matt-hammond-fork/development/drivers/tuya-zigbee-dimmer-module.groovy

The latest version 0.2.9 adds support for this interesting Fan controller also :

image

Hi @kkossev,

I will use this version. Thank you.

Gr Tayfun

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.