Yannick Weiss

Home Automation 433mhz

The Raspberry Pi has GPIO pins that can read 3.3v digital signals. Luckly there is a very common 433Mhz sender/receiver you can directly connect to the pins. From there you just need to setup the software and you can control 433mhz devices, like the intertechno IT-1500 3 outlets.


The pilight project already implements most of the common protocols. It comes with a customizable webinterface and can be controlled over websockets.

To integrate the outlets into Apple HomeKit I used the node.js app Homebrige with a plugin.


The 433mhz sender and receiver come as package, you can find them on ebay. But check that you order the FS1000A XY-FST, not his brother 2008-8 which is for 315mhz.

Voltage Divider

The Raspberry Pi has 5v and 3.3v output, but only 3.3v input. To convert the signal from 5v to 3.3v: 5v * (470Ω / (330Ω + 470Ω)) = 2,93v.

voltage divider 5v


I just used a single core, 164mm long wire. But there is some dark magic behind this, google to find out more.

Example Homebridge config.json

  "bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-154"
  "description": "This is an example configuration file with pilight plugin.",
  "accessories": [
      "accessory": "pilight",
      "name": "Switch 1",
      "device": "Switch1",
      "sharedWS": true
  "platforms": []

Example pilight config.json

  "devices": {
    "Switch1": {
      "protocol": [
      "id": [
          "id": 18624178,
          "unit": 0
      "state": "off"
  "rules": {},
  "gui": {
    "Switch1": {
      "name": "Switch Nr 1",
      "group": ["switches"],
      "media": ["all"]
  "settings": {
    "log-level": 6,
    "pid-file": "/var/run/pilight.pid",
    "log-file": "/var/log/pilight.log",
    "webserver-enable": 1,
    "webserver-root": "/usr/local/share/pilight/",
    "webserver-http-port": 5001,
    "webserver-cache": 1
  "hardware": {
    "433gpio": {
      "sender": 0,
      "receiver": 1
  "registry": {}

Shitty Tutorial

  • connect sender and receiver
  • Install the raspbian lite image
  • ssh pi@raspberrypi.local pw:raspberry
  • sudo raspi-config -> Expand Filesystem
  • configure Wi-Fi
  • install pilight
  • If you get HTTPS error when apt-get, then use http://apt.pilight.org/ without https.
  • Fix a bug: sudo nano /etc/init.d/pilight and add $network to Required-Start
  • use sudo pilight-receive to capture the remote commands
  • sudo service pilight stop, nano /etc/pilight/config.json, sudo service pilight start WebUI
  • (test command with pilight-send -p kaku_switch --id=MESSAGE_ID --unit=MESSAGE_UNIT --on like pilight-send -p kaku_switch --id=18624178 --unit=1 --off)
  • sudo npm install --unsafe-perm -g homebridge
  • uname -a and copy download link from node.js
  • Download with wget
  • tar -C /usr/local --strip-components 1 -xJf node-...tar.gz
  • install some stuff sudo apt-get install git make libavahi-compat-libdnssd-dev -y
  • sudo npm install --unsafe-perm -g homebridge`
  • Configure Homebrige
  • Configure the pilight plugin
  • setup systemd homebridge if needed

raspberry solder