Skip to content
I want to transform data from RFXtrx433E to MQTT. And all of it is compatible for complete integration together, be it for security, lighting, central heating, entertainment or automation. As the open-source product, it is licensed under Apache 2.0. As great as Home Assistant is, the RFXcom detection can be a little tricky. Et Home Assistant dans tout ça. I haven´t really found any significant advantage of Domoticz over Home Assistant or OpenHab. As they use proprietary protocols for communication, I looked for different solutions for parsing their data and finally settled on The new sensors that I want to include in my system are a Telldus motion sensor and a Telldus outdoor temperature/humidity sensor.
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together. From the development process perspective, the project recently adopted a two weekly release cycle with one extra week for beta testing which resulted in the improved quality, but there were still buggy … The is an exodus of users moving to OpenHab or Home Assistant. Use Git or checkout with SVN using the web URL. Communication channels. However standard installations do often have limitations, but with your own RFXCOM installation your home automation system, or domotics, can be set up just the way you want it. (The structure of the rfxtrx objects can be investigated by adding a debug node to the rfx-sensor read node and checking the logs)This node routes the data to different nodes depending on the topic (which is the name and ID of the device):These nodes takes the sensor value and sets it as msg.payload. Ignoring devices. I came up with these protocols and ID:s:After reducing the number of active protocols to these ones and storing the settings on the device, I could move the RFXtrx433E to my Raspberry Pi / Linux environment.After attaching the RFXtrx433E to my Raspberry Pi, my first experiment was to let Home Assistant read from the device via USB. Available for free at home-assistant.io Perfect to run on a Raspberry Pi or a local server.
I thus use the rfx-lights input node to read the data:To check that the on-event is actually from my device, I setup a switch node that only routes the message if it matches my device.Home Assistant registers only changes in values and to make a new motion detection appear properly in HA, I have to do a special treatment of the data: Instead of sending “on” from the motion sensor, I send a new value for each detected on-event. Powered by a worldwide community of tinkerers and DIY enthusiasts. There are various ways to get in touch with the Home Assistant community. RFLink is an open source project that allows to realize a gateway between a home automation software and home automation modules that communicate by radio waves.It is a very economical alternative to the well known commercial RFXCom gateway. The msg.payload object will contain a temperature and a humidity property for my Telldus outdoor sensor and a temperature object for my no-name sensor. I have created a new Node-RED flow for controlling a set of Telldus 433 MHz outlets via MQTT.
Elle est développée depuis 2013 aux États-Unis principalement et dans le monde entier grâce aux nombreux contributeurs. With my sensors active, it should produce an output similar to:I removed the rfxtrx-platform configurations from Home Assistant and added some I use customization to give the entities dedicated icons and friendly names for the display:For the motion sensor to display when the last motion was detected, I use a As the RFXtrx433E is a transceiver, it can also be used for sending commands. It doesn’t matter if you have a question, need help, want to request a feature, or just say ‘Hi’. With the data available as MQTT messages I can store the data in InfluxDB for viewing in Grafana, show the data in Home Assistant and route the data to cloud services. Home Assistant is developed using Python 3 for the backend and Polymer (Web components) for the frontend components. I think it was a great platform at some point, however, the community is not as strong as it used to be. I found a solution with Node-RED, see below.Node-RED is a NodeJS-based platform that can be tailored for a lot of different purposes. How to achieve this? [shell] sudo apt-get install python3-pip sudo pip3 install rpi-rf [/shell] Une fois rpi-rf installé, nous pouvons passer à la configuration de Home Assistant. Home Assistant is open source home automation that puts local control and privacy first. The msg.topic property is the name and ID of the device. Pour pouvoir utiliser notre petit émetteur 433MHz via Home Assistant, nous avons besoin d’installer rpi-rf.