Cant pair my TuYa TS0044 switch
What happened?
According to https://www.zigbee2mqtt.io/devices/TS0044.html the tuya 4gang switch based on zigbee should work with zigbee2mqtt. Unfortunately i cannot pair this device. Other zigbee products pair instantly with my zigbee2mqtt setup. I tried several things to solve this issue, like new battery, restarting zigbee2mqtt etc.
To enter pairing mode I hold the bottom left button for 10 seconds until all 4 LEDs start flashing. Nothing happens. It keeps on flashing until it just stops flashing. Unfortunately, no debug logs or anything helpful in zigbee2mqtt logs.
Anyone else has this problem?
What did you expect to happen?
I expected successfull pairing of the device according to https://www.zigbee2mqtt.io/devices/TS0044.html
How to reproduce it (minimal and precise)
Hold bottom left button for 10 seconds until all 4 LEDs start flashing.
Zigbee2MQTT version
1.28.4
Adapter firmware version
20211217
Adapter
Sonoff Zigbee 3.0 USB Dongle
Debug log
No response
FWIW, I have several of these - most of the units went smoothly, some took several tries (like a frustrating number of tries, not sure if I was just messing up the pair code).
Now I might be completely miss-remembering, but I was under the impression TuYa devices are wonky (they aren't standard Zigbee, so zigbee2mqtt and other open source coordinators) need a magic packet to be sent during interviewing (which, after re-reading your post, doesn't seem to be happening in your issue, since no logs). Race conditions are likely since timing is important. So there was a report that interviewing through a router was error prone, meshing directly with the coordinator was better due to possible retries over the network.
Hmm i actually have no idea about tuya devices being wonky, I simply just go zigbee2mqtt.io website and check if the vendor and specific device is pairable under devices. I also have other Tuya zigbee devices working seamlessly like socket switches and curtains.
I just received a couple of these and can't pair either, updated to latest firmware on coordinator and z2m code via docker, and still can't pair these :(
I was finally able to pair these @mouledla
- Ensure you have a good battery. The ones I first used, couldn't handle the power draw, and voltage would drop and device would restart (used a voltage meter to see this). So if when in pairing, you don't see all 4 leds flash for a minute at least, find a new battery.
- Put the device right beside the coordinator, and select enable pairing for coordinator only.
- If your coordinator is not on a USB ext cord and plugged directly in, remove it and put on an extension cord away from the computer you use.
Let us know if you get them working.
@marc-gist I have a strong suspicion it is indeed the battery. Will try a new battery tomorrow and let you know.
@marc-gist I tried a couple of new batteries... like 3 of them (CR2430). Somehow, when using 2 of the 3 batteries, pairing did not worked. For some unknown reason the last battery I tried, pairing went successfull. Case closed I guess.
Cheap batteries do not have the Amperage draw (so measure 3.2v "full", but as soon as you put a load on them, they drop under 2.8v, which causes the device to "brown out").
Battery was the problem. Just inserted new battery and it was immediately detected by the coordinator.
Can confirm, had cheap batteries and the device LEDs would work and indicate pairing start, but it would not pair. Checking with voltmeter showed dropping from 3.2V to 2.5V while pairing. Paired using external power supply @3.1V was without issues. Now ordering Varta batteries.
Until then I use a CR2032 (smaller diameter) as a workaround. Works fine, but I wouldnt shake it :)
I was finally able to pair these @mouledla
- Ensure you have a good battery. The ones I first used, couldn't handle the power draw, and voltage would drop and device would restart (used a voltage meter to see this). So if when in pairing, you don't see all 4 leds flash for a minute at least, find a new battery.
- Put the device right beside the coordinator, and select enable pairing for coordinator only.
- If your coordinator is not on a USB ext cord and plugged directly in, remove it and put on an extension cord away from the computer you use.
Let us know if you get them working.
My device is a Zemismart ZB-L04C, but it is identified as a TS0044 when paired, here is a picture of it:
This device has an internal reset button:
I was facing pairing issues until I placed the device closer to the coordinator and selected to pair only with the coordinator,
it worked like a charm.
Why by default my 4 switch is not working as 4 key switch, can anyone help or describe what I do wrong?
![]()
Why by default my 4 switch is not working as 4 key switch, can anyone help or describe what I do wrong?
Edit: I had the same problem but it works fine using the blueprint from here:
https://github.com/lux4rd0/homeassistant/blob/4070c53c0597808250fbe435cedc51a8cec55409/blueprints/zigbee2mqtt_tuya_4_button_scene_switch_ts0044.yaml
FYI When it keeps flashing all 4 led means battery's almost empty and needs to be replace
mine came today and i tried all day, 2mqtt saying its not supported yet, now after 10 hours i tried pairing again and its supported now but i cant see / press anything beside seeing battery life ?
Your post is out of scope:
mine came today and i tried all day, 2mqtt saying its not supported yet, now after 10 hours i tried pairing again and its supported now but i cant see / press anything beside seeing battery life ?
