You can control almost all non-supported (mains powered) Tuya devices by using Tuya Cloud Execute a Scene card in flows.
Example:
Diffuser control via Tuya Cloud ‘Execute a Scene’ card
At your phone:
Add the diffuser to the Tuya app.
Create 2 “tap-to-run” scenes inside the Tuya app.
-
A scene for “Switch diffuser & led on”
-
Dito for the “off” function.
-
- To give you an idea, an overview of my tap-to-run scenes:
- To give you an idea, an overview of my tap-to-run scenes:
-
- The scene itself:
- The scene itself:
(Deprecated, for Legacy api only:
Now wait for 10 mins . This is because Tuya refreshes once in 10 mins. Otherwise you won’t find your fresh created scenes @ your Homey.)
At Homey:
-
Go to …More > Apps > Tuya Cloud > Configure App.
Hit theRefresh Scenes
button.
Or
Restart the Tuya Cloud app. -
Create a new virtual device*** (app: Virtual Devices); Call it for instance ‘Diffuser’.
-
Create 2 flows for this device.
-
-
- WHEN Diffuser = ON,
then pick a THEN card for the Tuya Cloud app called'Execute a scene'
,
and find & pick your freshly created tap-to-run scene “Switch diffuser & led on”.
- WHEN Diffuser = ON,
-
Example flow:
-
-
- WHEN Diffuser = OFF,
repeat the above (at point 1.), but find and pick scene “switch diffuser & led Off”
- WHEN Diffuser = OFF,
-
Now you can control this device with Homey flows!
Added July '23:
Screenvid for adding IR blaster/hub buttons:
→ Now restart Tuya Cloud app
.
Optional stuff:
When you have a google (nest) mini or compatible, and synced Homey with it, you can yell “Hey google, switch diffuser on”.
This is because your virtual switch appears in Google Home (sometimes after yelling "hey google, synchronise devices)
***)Homey’s native virtual switch can also be used (it appears in Google Home too).
BUT you can’t pick a custom icon for the tile, in Virtual Devices you can…