Exact.
Je hoeft niets te verwijderen, zeker niet uit de smartlife app.
Heb je ooit Tuya cloud apparaten op Homey gehad? Verwijder deze dan, zet de instellingen van de app op âuse official onlyâ.
Voeg dan de, bijv. flood light weer toe.
Mocht de flood light niet worden herkend door de app zoals je al schreef, dan ligt dat niet per sĂ© aan iets wat je niet goed gedaan zou hebben â die lamp wordt klaarblijkelijk niet ondersteund door de app.
Maar dat is helemaal geen ramp, middels tap-to-run scenes kun je de lamp gewoon bedienen middels een door jou toegevoegde Homey virtuele knop:
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:
[Screenshot_20210214-164846_TuyaSmart]
The scene itself:
[ScreenshotâŠ
In principe is zo alles te bedienen wat in de smartlife app is toegevoegd.
Apparaten uitlezen (maar ook bedienen), gaat perfect middels de âRaw commandsâ,
When adding a device is not possible, try using the so called RAW Commands functionality.
Howto:
-With the flow below, youÂŽll be able to âlistenâ to event messages of your devices;
In this example a message of the âtextâ type, which will return text, numeric and yes/no values.
So, when you trigger the device you want to control from the Tuya Smart mobile app (Google store / Apple store ), or the SmartLife mobile app (Google store / Apple store )
or when you just activate a sensor,
youâll catcâŠ
Dit staat overigens allemaal aangegeven in het Tuya Cloud app topic:
Not supported devices or functions
Only when device is supported by API, itâs possible to add the device to this app. because I donât own all device types, itâs hard to implement a device type which I donât own. Contributions to code are welkom to add unsupported devices. Other possibility is to use raw commands
Raw commands
You can receive all messages send for devices with trigger cards. Also there are now action cards to send commands to you device. On this way you can interact with not directly supported devices are commands. Combine it with the virtual devices app and you can control most of your devices. Itâs a function for advanced users, there is no validation when sending a command to your device.
To get the device idâs, commands and possible values you can create a flow with the text event received trigger card. This card is returning device id, command and value for each action. Log the returned values to log app to know the commands of your devices, deviceidâs and possible values.
See also Howto of @Peter_Kawa : [App][Pro] Tuya Cloud - #765 by Peter_Kawa
Existing legacy devices can be used as long as they are paired, but canât be added anymore
Legacy Light ( On/Off, some devices brightness and color)
Legacy Switch( On/Off)
Legacy Cover
The official API( non legacy devices) is using push messages, so changes to devices should be direct visible, so no more 10 minutes waiting for updates.
Scenes
This app support the use of scenes. In the mobile Tuya/Smart life app you can make âTap to runâ actions( In the past they where called scenes). Those actions can be called in a flow from this app.
The scenes for the official API are not automatically updated, for now new scenes will only appear after a restart of this app.
See also howto of @Peter_Kawa : [App][Pro] Tuya Cloud - #296 by Peter_Kawa