seb821 / espRFLinkMQTT

ESP8266 gateway between RFLink and MQTT server
96 stars 32 forks source link
d1-mini esp esp01 esp8266 json mqtt rflink rflink2mqtt

espRFLinkMQTT

espRFLinkMQTT acts as a gateway between a RFLink board and a MQTT server. It works on ESP8266: ESP01, D1 mini, NodeMCU, RFLink WiFi board, ...

It includes the following main functions:

espRFLink interface

Setup:

RFLink-Hardware is required, official or DIY. For software, there are two options :

1. Use already compiled firmware

2. Compile your own firmware

Hardware setup

How to use

Data from RFLink

When RFLink receives something this is presented on the serial line eg.:

20;2A;Xiron;ID=2801;TEMP=0043;HUM=29;BAT=OK;

espRFLink will convert this information and publish it on topic:

rflink/Xiron-2801

as JSON:

{TEMP:"6.7",HUM:"29",BAT:"OK"};

Send command with MQTT

Publish the command according to RFLink documentation to the topic:

rflink/cmd

e.g.

10;NewKaku;01dd77d5;1;OFF;

Send command from web interface

On the web interface main page, use the form or a predefined command button

Watchout, sources, changes

Use this software at your own risk.

Parts of the code were first inspired from rflink-to-mqtt, RflinkToJsonMqtt and RFLink-to-FHEM-via-MQTT

The following capabilities were added: