I’m a HA beginner. I’m trying to use some Moes smart switches (Bluetooth) to turn on/off smart lights (Yeelight) but it appears that those switches are not currently compatible with HA.
I have those smart switches connected to a Multi-mode gateway and controlled by Tuya Smart app. From the Tuya Smart app, I can set up a single-click button and use a switch to turn on/off a heater (which is a Tuya device).
In HA, the Tuya integration shows all the devices (switches, heater, the gateway) but while the heater is supported, all the other are shown “unsupported”. Is there some configuration I need to add to make them supported by HA?
you can reverse engineer bluetooth messages and add it into an existing bluetooth integrations but tuya is somehow very protective about their message structure, so it would be time consuming with gateway.
Hi,
I just bought a fingerbot from tuya. I have a multi mode gateway laying around. I bought it more than year ago but never actually use it.
I plugged gateway just to check will it be found by local tuya. And yes, it is. I connected bluetooth fingerbot to it and it is working over smart app. This bluetooth device wasn’t found by local tuya. I add it manually to local tuya but it didnt work.
So I get an idea. I check devices on my alexa app just to see is this fingerbot discovered by alexa. And yes it is.
I went to home assistant, cloud setting to check is this device listed in alexa devices that are exposed in home assistant. And yes it is.
I can use my tuya bluetooth fingerbot device in home assistant without local tuya just because it is integrated with alexa and, as device, exposed to home assistant.
Hope this will be helpful.
I tried LoalTuya and it doesn’t recognize the devices. Those Moes wireless switches have category “wxkg” in Tuya IoT cloud. As I check Tuya integration and localtuya, this category isn’t supported yet. Also, there is another problem with the devices, their instruction set returns empty functions:
I finally figured the way to work around this. Basically, what I need to do is to create a product on Tuya IoT, e.g. with Dimmer Switch category. Then add it to the Tuya smart app. From there, I can add Intelligence to the Moes wireless switch buttons to change the state of the dimmer switch. The final step is to create an automation in HA to toggle the lights or whatever based on the state of the dimmer switch.
No coding is required, no device listen is needed.
Hello! I have the same device and the same problem. Can your explain in more details how you did this two steps: “is to create a product on Tuya IoT, e.g. with Dimmer Switch category. Then add it to the Tuya smart app.” ? thnx
@trungdtbk I found out how to make the app in the Tuya IoT but there are a ton of steps afterwards that I don’t understand. Can you provide the steps you took? @dzhukow were you able to get it working?
After clicking “Add Virtual Devices”, I selected “Add to Tuya App Account” and it generated a QR code scannable with Tuya app.
To connect every button of my real switch to HA, I added a virtual power strip with enough number of outlets, each mapping to an HA automation (when it’s turned on or off). They are then controllable via Tuya app scenes that accept button input from the switch.
Thanks, I managed to get through these steps you mentioned and linking to Tuya App. Just a quick question, I presume this type of work around would be Cloud managed, right? I mean the automation/linkage is not local since the device is virtual isn’t it?