Ok, so now I tested different approaches, so basically I got through this one again - but without the transistors:
Whats was the key, I don’t know, but basically what I did was:
- putting in a Raspbian SDCard (could also be a openHABian, I guess - but not tested with that one as this PI isn’t near the 433 devices)
- connecting the Sender and Receiver basically as shown in this pic but I connected the FS1000A (Sender) to the 3V PIN

- Installing an configuring the Software as described in Raspberry Pi - Pilight mit 433MHz Modulen zur Hausautomatisierung
- So, whenever I pushed a button at the remote, I got the payload via
pilight-receive
. and could use that in the config.json and with that I can control the outlets.
e.g. I got this sent after pressing the remote:
pi@raspberrypi3 ~ $ pilight-receive
"message": {
"id": "A2",
"unit": 12,
"state": "on"
},
"origin": "receiver",
"protocol": "clarus_switch",
"uuid": "0000-b1-23-eb-45678a",
"repeats": 3
In that case, you can change the /etc/pilight/config.json
:
{
"devices": {
"Switch1": {
"protocol": [ "clarus_switch" ], // 'protocol' of payload-message: be sure it's listed here: https://wiki.pilight.org/doku.php/protocols
"id": [{
"id": "A2", // 'id' of payload-message
"unit": 12 // 'unit' of payload-message
}],
"state": "on"
}
},
"rules": {},
"gui": {
"Switch1": {
"name": "Switch Nr 1",
"group": [ "MeineSwitches" ],
"media": [ "all" ]
}
},
"settings": {
"log-level": 4,
"pid-file": "/var/run/pilight.pid",
"log-file": "/var/log/pilight.log",
"receive-repeats": 1,
"webserver-enable": 1,
"webserver-root": "/usr/local/share/pilight/",
"webserver-port": 80,
"webserver-cache": 1
},
"hardware": {
"433gpio": {
"sender": 0,
"receiver": 1
}
},
"registry": {}
}
so the Attributes you’re looking for are:
after that, you can contorl your outlet via the Web-Gui on http://[IP-ADDRESS]:[PORT]/, e.g. http://192.168.1.10:80 (or port 5001 as per default).
via shell, you can use pilight-send
as described here: https://wiki.pilight.org/doku.php/psend
Hint:
pilight isn’t restricted to 433MHz power outlets, as you can see in the protocol-list, there many more devices like weatherstations, motion sensors, presence detectors, … basically every 433 MHz device should be controllable via pilight.