There’s a few examples on this forum: here’s two, see the Reachable channel defined as a string, or the one below where the Reachable channel is defined as a switch…
Overview
I have a number of Sonoff Basic R2 switches around the house, attached to desk lamps, floor standing lamps, or spliced into the wiring for the outdoor porch light. As I already had the ESP8266 inside the Sonoffs at various locations, why not try and add a temperature sensor to them?!
Note that whilst I used a DHT22, Tasmota supports a number of different sensors. Just ensure you choose the correct sensor within Tasmota’s Module parameters, and ensure that the name of the sensor is corr…
Overview
We were controlling a generic 12V 5050 RGB LED strip with the supplied IR remote, but I wanted to tie it in to OpenHab
Below is what worked for me - hope it helps!
Prerequisites
Hardware
5050 RGB LED strip - I already had this one which came with the IR controller and remote.
MagicHome WIFI RGB LED strip controller - I bought this one which also has IR capability (WF113IR).
Software
MQTT broker - I use Mosquitto , setup as per its defaults
On my setup, Mosquitto and OpenHab are run…