Kategorien
Radio

MQTT

MQTT is a communication protocol for IoT devices. It is super cool, but setting it up can be confusing. It consists of a MQTT broker, a central node that all clients connect to and which is responsible for handling and passing on messages, and the the MQTT clients. Since Arduino comes with a MQTT you can build a MQTT client into all sorts of things.

If you use OpenHab you will have to set up the following „Things“:

  • MQTT broker bridge: connects to broker
  • MQTT thing: connects to bridge
Kategorien
Radio

433 hacking

How do you control RC switches without a remote? The answer is by using a 433 mHz transmitter in combination with a microcontroller or RPi. Many switches have already been decoded and are part of the rc-switch library. If not, like in my case, you have to record the analog signals and decode them yourself. But the process is straight-forward, thanks to this guide: https://github.com/sui77/rc-switch/wiki/Add_New_Remote_Part_1