Smart Switch home Assistant compatibile Out of the box

Hi to everybody, I’m looking for a Smart Switch (similar to sonoff) home Assistant compatibile Out of the box.
Can you help me please?

Check out the Shelly switches. They have native MQTT support, super simple to setup with Home Assistant.

Devices based on Tuya platform can be used with Home Assistant with the tuya components (https://www.home-assistant.io/components/#search/tuya) BUT you only get ON/OFF toggle functionality.

Tuya platform devices are the devices that work with the Smart Life app (or Tuya App, but generally advertised as SmartLife)

Also, when you say “Smart Switch” are you referring to a circuit switch like Sonoff basic or a wall/light smart switch like Sonoff touch?

If you want something similar to Sonoff basic, you should take a look at Shelly: https://shelly.cloud/shelly1-open-source/ [WiFi, MQTT]

If you are interested in wall/light switches you should take a look at the Home Assistant components list https://www.home-assistant.io/components/#switch and check those brands (e.g. Fibaro)

There are lots of devices that can be integrated with Home Assistant, but they will still use their cloud functionality, and I don’t know if you care about that or not, but I recommend using something that can be flashed with Tasmota; in case you didn’t know, flashing Tasmota on a device doesn’t require soldering anymore, it can be done OTA (over the air) with this: https://github.com/ct-Open-Source/tuya-convert

And … Tuya released a patch to prevent the OTA flash.

As of January 28th, 2019, Tuya has started distributing a patch that prevents tuya-convert from completing successfully. It is up to the individual brands to adopt the patch …
Some devices are already being shipped with the update, in which case there is unfortunately no work around available at this time.

This is my list with over 80 compatible tasmota devices (amazon it)

Enjoy

“There are lots of devices that can be integrated with Home Assistant, but they will still use their cloud functionality”

Sorry, NOOB question here.
A major reason I am getting a Home-Assistant.io on Raspberry Pi is so that the automation still works when my house wifi drops out. At this stage it doesn’t worry me if the cloud function is there or not, but, HA should still make things work for me even without cloud connection?

You actually mean wifi or are you referring to the internet? If your wifi drops (router) and not just internet that is a big problem that can’t be solved by software…

HomeAssistant works on local network, so if your wifi drops that means that you no longer have a network, not even local, so HomeAssistant (or any other automation software) can’t communicate with your wifi devices.

Given that wifi is the (wireless) communication protocol used by your router to link your devices to the router or internet, if the wifi drops you don’t have access to internet either, so it doesn’t matter if your devices have cloud connectivity or not…they won’t be able to connect to their cloud servers.

If your actual problem is internet dropping (but your router is still active) then you have wifi. In this case HomeAssistant works as intended; it will manage all your automation and devices as long as said devices run on local network.

Since you are interested in wifi devices, I strongly recommend to buy devices listed HERE (categories on the left) and flash them with TASMOTA - that way they won’t need internet anymore, and work perfectly with HA.

If you are not comfortable with flashing devices, then SHELLY is your saving grace; you link them from the mobile app to your local MQTT server and you have excellent devices working 100% local.

So…a short answer…if your “wifi” drops, make sure it doesn’t - buy a new router or add repeaters, then you can rely on HomeAssistant. If your “internet” drops, it doesn’t matter as long as your devices are running on local network with HomeAssistant.

PS: I also answered to your other post after writing this, so hopefully that helps

1 Like

Amazing amount of info, thanks so much.

I know my internet is dodgy, and the home wifi is a couple of new Deco M4 mesh routers so signal strength is great everywhere. So I assume that it is the dodgy connect to the internet which causes me to look at the current app and have a device say it is offline for a bit.

So, fingers crossed, Home Assistant to fix everything :wink:

Thank you for this info, I found a good simple device to start with
Feit Wifi Plug

It says on the bottom

Tuya-Convert might not be possible for this device if the manufacturer started using newest Tuya firmware since this template was published (2020-03-12).

Is this going to be a “dealbreaker”

If tasmota worked at some point on ti then it is definitely powered by an ESP8266 so if OTA flashing doesn’t work, you can always flash it manually.

If you want to increase your chances to flash it OTA make sure NOT to pair the device with Tuya/Smart Life app when you buy it since that may force a software update. Try tuya-convert or whatever OTA flashing method you prefer without integrating the device in the tuya ecosystem (cloud).

Flashing manually means “desoldering”
I don’t think I am capable of that.