I have for my sins bought a 4 button Zigbee - Tuya Scene Switch. I have tried all sorts and still I cannot pair it.
I am running containerised HA, with HACS, z2m running on the host. I have numerous other Zigbee devices working happily, MQTT is setup in promiscuous mode, so anything that pops up is in theory paired.
I’m running a SonOff Universal Zigbee 3, USB Dongle Plus Gateway.
I have created an account on Tuya, via their website. I have found the IOT authorization key. I have added my phone app, I have fought the password war to get the phone app to log in to the Tuya account. ( It seems the password rules are not applied consistently across the platforms, and it’s possible to set a password that the App will not allow. The errors are unhelpful.)
I have tried to setup the HA Tuya Integration, but it refuses to let me login. (1106 Permission Denied) There seems to be some talk about this. In theory… I don’t need Tuya, only Tuya Local.
I have installed HACS, I have updated the Tuya local to the latest version, and I have restarted the HA. I have Enable Newly added entities selected. I have verified the Zigbee chain is working by looking at current data from other sensors.
The Tuya local doesn’t detect the button when you try to add devices, even when it’s flashing in pairing mode. The MQTT shows no sign of detecting a new device either. If I listen in the MQTT integration debug by listening to channel “#” it all seems normal and existing traffic, nothing obviously related to the pairing attempt.
Looking on the Z2M site, buttons that look the same are listed as compatible. Yet it doesn’t pop up. If I’m to add it manually, I need the “local key”. This can be attained from the Tuya account, if you have the device paired through some other path. However, my phone can’t pair to zigbee, and the button won’t pair with the z2m-MQTT-HA chain. So I can’t get the local key. I don’t understand how the Tuya account is supposed to get that, without first pairing with something… So I need to pair it, to be able to pair it to Tuya local, and it’s not playing ball.
Am I missing something? It seems the only way to get this key would be to have a Tuya gateway, which kinda defeats the purpose of having a generic gateway. Z2m indicates it should work…
Do I walk away from this one?