It functions okay, I can get it into pairing mode, but every time I tried to pair with my C-8 as a generic zigbee dimmer it would appear as a previously recognised device (”Tuya Zigbee Contact Sensor++ w/ healthStatus” - a device which I installed a custom driver for a while back and paired but which has been sitting in a box with its batteries removed for the past few months).
I tried going into said device and changing the driver to something more suitable for a dimmer (generic zigbee dimmer) but it wouldn’t work. I tried installing a custom driver I found by googling the TS0601 _TZE200_1agwnems found in the device settings and setting it to that and it also didn’t work. I also tried the re-pairing process several times with the new driver installed.
After many failed attempts at the dimmer, I tried deleting the Tuya Zigbee Contact Sensor++ w/ healthStatus v1.2.1 driver and repeating the pairing process. I noticed that the device was actually starting the initialising process during pairing but always timing out. I tried pairing with clear keys and avoiding 3.0 repeaters, but still no luck. Feeling like I had exhausted my options I then did something potentially silly and went into the device settings clicked on remove device (be nice, I’m new to this!). Now the device won’t even get into initialise stage during pairing. Problem now is that I can’t work out how to factory reset the dimmer. I’ve tried turning off the breaker for 10-30 seconds but that doesn’t seem to change anything. Can’t find any reset button under the glass panel. Have I just bricked my dimmer? What can I do now?
Your dimmer will not work with HE inbuilt generic Zigbee dimmer drivers. It uses Tuya specific Zigbee commands, so the first thing to do is to install this driver :
This is the second problem that you need to overcome. Currently ( HE platform version 2.3.9.x), you can use this workaround to pair the Zigbee 3.0 device successfully with the C-8 hub - Double Luck voodoo .
Are you keeping the leaflet that came with the device? There should be some instructions on how to put the dimmer into pairing mode. It may be pushing one of the buttons 5 times on/off and holding it down on the 6-th press, or something similar... The reset procedures are specific for each different device.
Install the right driver first, then try pairing again.
So the custom driver I mentioned in my original post was the driver you mentioned, but I was half asleep when and installed the old version through HPM. I have now installed the correct version via the url import.
Also, just to clarify, I have no problem getting the dimmer into pairing mode (5 on/off plus hold for 5 secs).
I tried again, but again got stuck on initialising. I then tried the double luck voodoo and tried pairing again, and this happened:
That's another driver I installed a few months back (that device has also been sitting disconnected without batteries all that time). What is happening?
The fingerprint of your device does not match the fingerprints defined in the Tuya Dimmer Module driver, that's why the HE hub can not match automatically the right driver and selects another one (which was installed earlier most probably). It may be a new manufacturer or new firmware version of the device.
Switch the driver manually to the HE inbuilt 'Device' driver, then click on the 'Get Info' button.
Please select/copy/paste as text the fingerprint that you will see in the live logs. I will add it to the Tuya dimmer driver.
The most complete information of the device fingerprint can be copied from the ''Pairing Info' hyperlink as shown on your screenshot, but this information is available only once, when paired as a new device.
The information that you provided was exactly what was needed, thank you!
The problem was that this device fingerprint inClusters list was not correct in the custom driver (there was a comment 'not tested' in the code : ) ).
I have updated the driver to version 0.7.2. Please update manually from this link :
Let me know whether the dimmer picks up the right driver now.
No, this device uses non-standard Zigbee clusters and will not work with the HE Generic Zigbee Dimmer driver. You must use the 'Tuya Zigbee dimmer module' driver.
I've updated the driver, presumeably I need to remove the device and then go through the pairing process again? I tried just switching the device to use the updated driver but that doesn't seem to work.
It depends on the device, some Tuya devices require the correct driver to be installed prior the pairing, but most of the devices do not need removing and re-pairing.
Click on the 'Configure' command button. Then, enable the Debug logging in the preferences section. Do you see anything in the live logs when operating the dimmer manually, from the physical touch-buttons?
Post a screenshot of the device web page - Current States and State Variables sections. Refresh the web page (F5 in the desktop browser) before making the screenshot.
So I clicked configure, but the live logs were just full of errors. Didn't seem to be anything happening as a result of pressing buttons on the physical dimmer switch:
Sorry, I mean clicking the 'Initialize' button... Have you tried this already?
(when a new and unknown driver is not working, I use to click on all the buttons ... )
The screenshot shows a mix of state variables from the different drivers that you have tried.. It may be a good idea to use the HE inbuilt 'Device' driver first to clean up all states that are left from the previous drivers.
The Tuya Zigbee dimmer module version should be "0.7.2" . If the 'Initialize()' button did not work (after refreshing the device page you should see the right driverVersion 0.7.2), you can try removing the device and pairing it as a new one.
Yes it worked! That set to "Device" and delete states trick is a good one. Thanks for all your help with this, and thank you for updating that driver so quickly!
Dimmer controls aren't working, just on/off, but that's a problem for another day (but let me know if you would like help with testing this to improve your driver).
Thanks for the update, controllig the lights on/off state is a step forward!
Next :
Please select/copy/paste the debug logs as a text. I need only the debug logs that follow dimming up/down the lights from the dimmer buttons (not from HE device page commands).
The only change in it is that the driver should ignore the minimum and maximum brightness settings reported by the dimmer. It seems that these parameters are wrong for this device.
Can you pair the dimmer again? Pairing usually resets the device settings to their defaults.