Flipso
(Fli)
January 16, 2019, 4:19pm
1
Hey Community,
I bought an Lonsonho (Smart Life Tuya) Plug and setup the tuya app and platform in my configuration.yaml accordingly, but after rebooting there is no switch shown in Homeassistant.
(https://www.aliexpress.com/item/Lonsonho-Smart-Plug-Wifi-Smart-Socket-Power-Monitor-EU-France-US-AU-UK-Korea-Plug-Outlet/32901221191.html?spm=a2g0s.9042311.0.0.4da84c4dAMY4tY )
config.yaml
tuya:
username: '[email protected] '
password: 'password'
country_code: '49'
platform: 'tuya'
→ also tried to setup the switch in the Smart Life app and changed that line accordingly, but nothing changed
Does anyone know why this doesn’t work? Do i have to use the custom component and set a switch with local_key or is it automatically discovered? My System is: HA 85.1 running on RPi 3, no custom_component for tuya loaded yet and the services force_reload and pull_devices is callable but doesn’t works.
I need your help HomeAssistantPros=)
walaj
(Jon Waland)
January 17, 2019, 1:03am
2
platform: ‘tuya’ = “Tuya Smart” (on google play at least).
platform: ‘smart’ = “Smart Life - smart living”
platform: ‘jinvoo_smart’ = “Jinvoo Smart”
I suspect you want the middle one.
Flipso
(Fli)
January 17, 2019, 6:07am
3
Thanks, i tried the smart_life comment but that doesnt work either, also tried smart but no luck:/
walaj
(Jon Waland)
January 17, 2019, 6:31am
4
no idea if it makes a different - remove the ’ around everything
But it is possible it isn’t supported by the integration
Flipso
(Fli)
January 17, 2019, 10:40am
5
I will try🤗 thanks for your help, hope there will be some support soon.
Will also try the TuyOTA from git, do someone have experience with the OTA tuya to tasmota way?
Flipso
(Fli)
January 18, 2019, 7:49am
6
Well, for everyone searching for an solution for their Tuya Switches: try this:
Works like charm only inbuild led doesnt work like expected! Thanks to SynAckFin, youre the best!:)
Whats tuya devices are compatibles?
I have a power strip (3 connector and USB)
Flipso
(Fli)
January 20, 2019, 3:30pm
8
Till now only a handful are reported to work, but i tried it with the lonsonho plug and it works to, look at the git to get the information=)
frank451
(aaron)
January 22, 2019, 8:53pm
9
To get the official tuya component working I had to re register a tuya account using my mobile number rather than email address.
walaj
(Jon Waland)
January 24, 2019, 6:42am
10
alas no light switches yet…
I register with mobile number. I have a power strip. I don’t get the device.
How I can check if HA connected with Tuya or the device is supported?