I bought a few WiFi light bulbs Yeelight, Tapo & Sengled.
Yeelight connected effortlessly to home assistant, but home assistant doesn’t support the others. I connected them to Alexa instead.
So my question is, If I integrate Alexa into home assistant, will those light become available? And if so, what are the disadvantages of connecting them through Alexa. Because ideally you want everything connected to HA directly.
Can you also explain local control vs cloud based. For exmaple, the yeelight bulbs are first set up in yeelight app. Then they are discovered in HA. So are they cloud based or local? I don’t really understand the basic concept. So it would be great if you can enlighten me on this.
Hi, I have not used the lights you have listed but you can find a list of the various local/cloud connection types here:
If you look on the devices HA Integration page then it defines the type as shown below:
Alexa integration works directly with HA via the HA skill that you have to add, this means that Alexa will work regardless of whether the device integration is local or cloud.
The confusing part is that the device may have its own skill to enable Alexa to work directly with the devices cloud service. You don’t need this if you have the HA skill installed in your Alexa account - this one skill effectively replaces the need for all the various device skills.
Thanks Jonah for clarifying the local and cloud.
So for Yeelight, fi I delete the app. The lights will to work with home assistant? Since they’re local?
Regarding the alexa integration with home assistant: The devices connected to alexa can show up in HA and fucntion just llke normal? So essentially they are connected to 2 services. HA & Alexa. If I turn off the light using home assistant, the lights state on alexa will also change to off…
This lets you ask Alexa things like “What is the lounge temperature” and I think states can also be used in Alexa routines although I have not tried this.
In “Manage Entities” it is best to just selected the entities that you need to be controllable by Alexa as including everything can be a bit overwhelming.
You can certainly control everything from multiple places e.g. switch a light on from your HA dashboard or the companion App then tell Alexa to turn if off. Scenes are a good thing to include as these allow many devices to be controlled with one command e.g. “Alexa, turn on Movie”.
Another question which i always have is about the internet going down and devices not working.
If i have totally local control on home assistant and the internet form ISP drops. But the wifi router is on. Will home assistant work or not work. (ignore the zigbee since theyre totally different) but will the locally connected wifi devices work?
Thanks for your reply.
A couple of follow up questions.
What about I use my mobile data to connect to home assistant. So if the the Internet is down for the HA. I can still access it from my phone.
Csn it be controlled manually? To turn on and off WiFi lights?
I guess to put it simply. What I mean is, if the Internet is down and the router is still working and transmitting WiFi signal, will the devices still be connected to the WiFi and function properly? Or do I need the Internet connection for all this to work,doesn’t matter if WiFi is still on.
Secondly,I havent yet integrated alexa to HA. Any advice on that. I’m looking to go down the route of Nabu casa since I’m a beginner. But what about controlling my devices connected to alexa. Does the integration work both ways? Ha to alexa and alexa to Ha
as long as all of those devices are locally controlled (no cloud push, etc) then yes.
No. It only works one way - from Alexa to HA.
it’s a bit confusing I know. I tried explaining above but I apparently failed so I’ll try again.
If a device is paired to Alexa and not HA then HA will not know of the existence of the device. It can only be controlled via Alexa and not via HA. It won’t even show up in HA at all.
If a device is paired with HA and not Alexa then the device can only be controlled via HA and not Alexa unless you use Nabu Casa ($ but easy) or Haaska (free but harder). It won’t show up at all in Alexa (unless using those access integrations).
Once you use the HA Cloud integration then everything will show up in Alexa unless you tell it not to. I personally have most domains excluded and only use switches, lights, covers, fans, climate & scenes (I think that’s all…) and if I decide I do need another individual entity (mostly input booleans) I will include that back in per entity.
I have a similar issue. I own lots of cheap Tuya devices. Mostly ZigBee which I directly connect to HA with my SONOFF hub and ZigBee2MQTT. However, none of my Tuya wifi devices can be connected to HA without pairing them via the SmartLife app first. Once linked in SmartLife, they work without issues both in SmartLife and HA. i would have expected that any wifi devices are automatically found by HA like my ESP32, my Denon AVR, and my Canon printer.
Please, could anyone explain how I can connect Tuya wifi devices directly to HA without using SmartLife? Thanks for any help or pointers to threads here or external blog posts.