Project: RFLink To MQTT Using ESP8266 And Arduino IDE Home » Arduino Rflink Esp8266 » Project: RFLink To MQTT Using ESP8266 And Arduino IDE Maybe your like Arduino Rgb Led Strip Code Arduino Rgb Led Strip Rainbow Code Arduino Rgb Led Strip Vu Meter Arduino Rp2040 Ble Arduino Rs232 Example Project: RFLink to MQTT using ESP8266 and arduino IDE Share your Projects! exetico December 31, 2019, 11:42am 41 I picked up some used sensors, and would like to play around with them. I also have a few spare transmitter and reciever devices, so i guess i can use those. What kind of hardware is best, for a DIY RFLink “on cheap” :-)? francisp (Francis) December 31, 2019, 11:43am 42 How to build a RFLink 433MHz radio smarthome gateway for €10.50. Test with Domoticz • DIY Projects 1 Like exetico December 31, 2019, 11:51am 43 Yep, i just found it too Thanks! I’ve also found this; RFLink over WiFi best options Hardware If you use espeasy, if HA connects you should see an entry here [espeasy] A message like ser2net connected. If not, you probably have to try another port. So both things are now ordered sylvaing (Sylvain Garcia) January 13, 2020, 10:52am 44 Hi, I use my rflink with MQTT gateway on ESP since 1 year without any problems: seb821/espRFLinkMQTT ESP8266 gateway between RFLink and MQTT server. Contribute to seb821/espRFLinkMQTT development by creating an account on GitHub. Very good projet, just work! I have Two rflink one 433,92 Mhz and an other for Somfy RTS 433,42 Mhz. Thunderbold (Roland Verheijden) January 24, 2020, 6:22pm 45 Hello Seb821 could you please publish an mqtt switch or cover entry from your configuration.yaml i have the issue that the state is not changed when i send to the rflink. This is my current entry : platform: mqtt name: “Rolluik Woonkamer” state_topic: “rflink/BrelMotor-7f320b” command_topic: “rflink/cmd” payload_open: “10;BrelMotor;7f320b;e1;UP;” payload_close: “10;BrelMotor;7f320b;e1;DOWN;” state_open: “UP” state_closed: “DOWN” optimistic: false qos: 0 retain: false francisp (Francis) January 25, 2020, 5:32am 46 This is how I define my switches with seb821/espRFLinkMQTT Easier way to define mqtt rflink switch? Configuration Yes it works. I have to use the second action to bring the binary_sensor in sync with the switch if toggled from HA, since it don’t get the command from the remote. Maybe I have to explain a little more about the setup: if I switch on the outlet with the remote, the remote switches on the outlet (no HA there), and the rflink picks up the signal, receiving 20;05;NewKaku;ID=03a0b800;SWITCH=2;CMD=ON; which is translated on the Mqttgateway to topic ‘rflink/NewKaku-03a0b800’ with payload {“SWITCH”… matthewjporter (Mr P) December 6, 2021, 2:52pm 47 Hi There Trying to get my HA to send using espRFLinkMQTT Do you have an example of you switch setup? I can see HA is receiving the MQTT messages using MQTTLens and subscribed to my mqtt server but I cannot get HA to send anything back Thanks in advance francisp (Francis) December 7, 2021, 4:38am 48 - platform: template switches: boven_fan: value_template: "{{ is_state('binary_sensor.sensorfanboven', 'on') }}" turn_on: - service: mqtt.publish data: payload: '10;newkaku;03a0b800;4;on;' topic: rflink/cmd - service: mqtt.publish data: payload: '{"SWITCH":"4","CMD":"ON"}' topic: 'rflink/NewKaku-03a0b800' turn_off: - service: mqtt.publish data: payload: '10;newkaku;03a0b800;4;off;' topic: rflink/cmd - service: mqtt.publish data: payload: '{"SWITCH":"4","CMD":"OFF"}' topic: 'rflink/NewKaku-03a0b800' unique_id: 286e7551-0e78-4527-b8dd-34085ddcd740 matthewjporter (Mr P) December 7, 2021, 10:43am 49 Thanks for the reply but just cannot get it to send back to espRFLinkMQTT: This is in espRFLinkMQTT when using the physical thermostat so RFLink is seeing it and espRFLinkMQTT is seeing it Switching Off: Raw Data: 20;F0;X2D;ID=000c74e;SWITCH=00;CMD=ON;RC=00fe;S=01;EXT=Tybox;BAT=OK; MQTT Topic: rflink/X2D-000c74e MQTT JSON: {SWITCH:00,CMD:ON,SWITCH00:ON,RC:00fe,S:01,EXT:Tybox,BAT:OK}| Switching On: Raw Data: 20;EF;X2D;ID=000c74e;SWITCH=00;CMD=ON;RC=1cfe;S=0c;EXT=Tybox;BAT=OK; MQTT Topic: rflink/X2D-000c74e MQTT JSON: {SWITCH:00,CMD:ON,SWITCH00:ON,RC:1cfe,S:0c,EXT:Tybox,BAT:OK} I then get the following in HA when I listen to rflink/# Message 3 received on rflink/X2D-000c74e at 19:01: {“SWITCH”:“00”,“CMD”:“ON”,“SWITCH00”:“ON”,“RC”:1cfe,“S”:0c,“EXT”:Tybox,“BAT”:“OK”} 20;32;X2D;ID=000c74e;SWITCH=00;CMD=ON;RC=1cfe;S=0c;EXT=Tybox;BAT=OK; Message 2 received on rflink/X2D-000c74e at 19:01: {“SWITCH”:“00”,“CMD”:“ON”,“SWITCH00”:“ON”,“RC”:00fe,“S”:01,“EXT”:Tybox,“BAT”:“OK”} 20;32;X2D;ID=000c74e;SWITCH=00;CMD=ON;RC=00fe;S=0c;EXT=Tybox;BAT=OK; So, HA is seeing the MQTT coming into it The only bits that change when using the physical thermostat is the part after 20; and is totally random and then “RC”:00cfe to “RC”:1cfe and back again which is how I figured which is the on/off above This is my switch - platform: template switches: esprfmqtt_switch1: friendly_name : espRFLinkMQTT Switch1 value_template: "{{ is_state('sensor.mqttswitch1', 'on') }}" turn_on: - service: mqtt.publish data: payload: '20;32;X2D;ID=000c74e;SWITCH=00;CMD=ON;RC=1cfe;S=0c;EXT=Tybox;BAT=OK;' topic: rflink/cmd - service: mqtt.publish data: payload: '{"SWITCH":"00","CMD":"ON","SWITCH00":"ON","RC":1cfe,"S":0c,"EXT":Tybox,"BAT":"OK"}' topic: 'rflink/X2D-000c74e' turn_off: - service: mqtt.publish data: payload: '20;32;X2D;ID=000c74e;SWITCH=00;CMD=ON;RC=00fe;S=0c;EXT=Tybox;BAT=OK;' topic: rflink/cmd - service: mqtt.publish data: payload: '{"SWITCH":"00","CMD":"ON","SWITCH00":"ON","RC":00fe,"S":01,"EXT":Tybox,"BAT":"OK"}' topic: 'rflink/X2D-000c74e' unique_id: 286e7551-0e78-4527-b8dd-34085ddcd740 I can see the message being sent in HA but does not seem to get to espRFLinkMQTT as I get nothing on the Home or Live Data pages I am sure its to do with the payload but cannot figure it out Many thanks francisp (Francis) December 7, 2021, 10:53am 50 matthewjporter: payload: '20;32;X2D;ID=000c74e;SWITCH=00;CMD=ON;RC=1cfe;S=0c;EXT=Tybox;BAT=OK;' You have to replace the 20;32; with 10; matthewjporter (Mr P) December 7, 2021, 1:32pm 51 Changed and nothing appears in esoRFLinkMQTT but it does show the change in my MQTT listen Seems espRFLinkMQTT is just not listening to my MQTT commands ← previous page Tag » Arduino Rflink Esp8266 Couin3/RFLink: RFLink For ESP, With MQTT Client - GitHub Home-Assistant-RFLink-Gateway-ESP8266/ - GitHub RFLink-ESP Released - Domoticz Project: RFLink To MQTT Using ESP8266 And Arduino IDE #242 How To Build A Cheap 433 - MQTT Gateway (RFLink, Arduino ... RFLink Wifi ESP - Let's Control It - Letscontrolit Home Automation RFLink Open Source - Français - Arduino Forum RFLink Open Source - Français - Arduino Forum RFLink / WIFI Adapter - Nodo-Shop Results For Rflink Arduino Kit - AliExpress RFLink-esp - Forum Domoticz En Français Rflink With Mqtt V2 : Enhanced And Minimized