In dem Artikel über den 433Mhz Mini-Taster hatte ich bereits von meinen Streifzügen durch die Wunder der elektronischen Produktwelt berichtet. Dabei ist mir auch ein 433Mhz SOS-Taster aufgefallen, der wohl eigentlich zu einer Funk-Alarm-Anlage gehört. Praktischerweise lassen sich dessen Funknachrichten aber auch mit der RF-Bridge auslesen und somit zur Steuerung unseres SmartHomes nutzen.
How this works and what you have to consider is explained in the following article.
Safety instructions
I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/
Affiliate links/advertising links
The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂
Requirements
Helpful articles:
Of course, NodeRed should already be installed so that you can use this configuration. In addition, the Sonoff RF Bridge should already be prepared.
How to prepare this and a RaspberryPi for it and then install NodeRed on it is described in the following articles.
Die folgenden Artikel beschreiben was zu tun ist um alles soweit vorzubereiten:
RaspberryPi – setup for nerdiys!
RaspberryPi – The first configuration!
RaspberryPi – Control the RaspberryPi via SSH
NodeRed – Installing NodeRed on the RaspberryPi
NodeRed – Install new nodes
Sonoff 433Mhz RF Bridge with Tasmota Firmware flashing
Required material:
-no-
Required material:
In the following list you will find all the parts you need to implement this article.
Log into the NodeRed configuration interface
Before you can edit your NodeRed configuration, you must - if activated - first log into the NodeRed configuration interface.

Der SOS-Taster
Der SOS-Taster sieht im Prinzip aus wie ein kleiner Donut. Er kommt mit einem Band wodurch er sich zum Beispiel perfekt um den Hals tragen lässt um so immer Griffbereit zu sein. Betätigt wird der Taster über zwei blaue Schaltflächen auf der Außenseite des „Donuts“. Bei jeder Betätigung leuchten diese Tasten jeweils drei Mal.

Import node code
Der folgende NodeCode ähnelt dem Code der auch für den Window contact, Wandtaster or Mini pushbutton verwendet wird. Er löst eine Aktion aus sobald über die mit der Tasmota Firmware geflashte Sonoff RF Bridge eine Funknachricht mit dem passenden Datenfeld empfangen wird. Ihr könnt den Code so übernehmen müsst allerdings noch den RF-Code Eures Funktasters einstellen. Dies ist im nächsten Schritt beschrieben.
Of course you also have to update the configuration for your MQTT server and if necessary the topic under which you receive the RESULTS of your RF bridge.

[{"id":"7efc90e1.9792e","type":"function","z":"169c0bb.fea38f4","name":"Button-Press detected","func":"if (msg.payload.RfReceived!==undefined) { if (msg.payload.RfReceived.Data==="RfCode") { msg.payload=1; return msg; } }","outputs":1,"noerr":0,"x":840,"y":3860,"wires":[["459f01f5.ea95e"]]},{"id":"459f01f5.ea95e","type":"debug","z":"169c0bb.fea38f4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1070,"y":3860,"wires":[]},{"id":"952dc65.594ec38","type":"comment","z":"169c0bb.fea38f4","name":"433Mhz-SOS-Button","info":"","x":430,"y":3780,"wires":[]},{"id":"9c8b57a0.f0cd48","type":"mqtt in","z":"169c0bb.fea38f4","name":"","topic":"tele/RfBridge/RESULT","qos":"2","broker":"c94e86db.dfcde8","x":440,"y":3860,"wires":[["cf3b14b5.f67058"]]},{"id":"cf3b14b5.f67058","type":"json","z":"169c0bb.fea38f4","name":"","property":"payload","action":"","pretty":false,"x":640,"y":3860,"wires":[["7efc90e1.9792e"]]},{"id":"c94e86db.dfcde8","type":"mqtt-broker","z":"","name":"Server-Mqtt","broker":"server.fritz.box","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]
Reading out and setting the correct RF code
Damit der oben genannte Node-Code funktioniert müsst Ihr in diesen noch den RF-Code Eures Funktasters einstellen. Dieser RF-Code ist eine eindeutige ID für jeden Taster und auch bei jedem Taster unterschiedlich.



After that click on Done, sends the changes to the NodeRed server and from now on you should get a notification via the debug node every time you press the button.
If you don't receive any, please check if you need to update the topic under which you receive the RESULTS of your RF bridge.
Have fun with the project
I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂
PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂