Integrating a Sonoff Touch into Home Assistant

As you already know, Sonoff has a marvel of devices, with which we can control everything we can think of, in this post we will see how to use the Sonoff Touch, a Wifi switch that we can put in our homes, replacing traditional switches. Apart from having an aesthetic that I personally love, we can change the firmware to integrate it with our Home Assistant installation and be able to control any light in the house / office.

Integrating a motion detector with Home Assistant or Hassio

If we want to place motion sensors and perform actions based on detecting movements, we will be able to use some cheap Chinese IR sensors that are powered by a couple of batteries, they are small and disguised… In this document we will see how to add them in Home Assistant and how to configure some actions, For example, If we're not at home, Well, send us a Telegram message notifying us of a movement, or at a certain time turn on some LEDs to illuminate.

Integrating Sonoff Bridge RF with Hassio – Home Assistant and testing a magnetic door/window sensor

Start the march! The first step in my case (after having Home Assistant installed), will centralize and receive all radio frequency signals with the fabulous Sonoff Bridge RF; and then send the sensor data to the MQTT Broker that we will mount in Home Assistant. That is, the Sonoff Bridge in this case will listen by RF and transmit by Wifi to the Hassio any data that interests us.

Putting Tasmota in a SonOff with a Raspberry Pi

Well, after a while tinkering with these wonderful devices, I wanted to share with you some steps that you may need. The SonOffs are small Wifi modules based on ESP8266 with a relay. Ideal for remotely controlling a lamp… or whatever we need to turn off and on remotely. In this post we will see how to flash them and change the firmware and install Tasmota with a Raspberry Pi; sincerely, I found it to be the simplest option of all the ones I tried and it works with all SonOffs.