Page 1 of 1

RFLink Wifi ESP

Posted: 30 Apr 2018, 09:26
by miralant
Hi Team,

It looks like possible to setup RFLink with an ESP01 to connect it through wifi instead of USB to the Pi.

So I'm looking to the offcial wiring but nothing is explained. http://www.rflink.nl/blog2/wiring

The wifi version is not supported by the team ? Do you have a tutorial/wiring plan to setup it ?

Thanks

Re: RFLink Wifi ESP

Posted: 13 Jun 2018, 11:51
by stephenrichardson
Have you found such information? Because I need it too and can't find solution

Re: RFLink Wifi ESP

Posted: 13 Jun 2018, 17:52
by miralant
stephenrichardson wrote: 13 Jun 2018, 11:51 Have you found such information? Because I need it too and can't find solution
not really, I've found some informations but not from official website :?

http://www.domoticz.com/forum/viewtopic ... 7&start=20

Re: RFLink Wifi ESP

Posted: 18 Jun 2018, 19:04
by maximus
Hi guys what do you want to know.

you can use a standalone ESP 8266 board or a combined one like the Wemos Mega R2 esp ( $11 from china)
it works with domotics to convert the rflink serial oputput to wifi using Ser2net so you can use it anywhere.
some people have had issues with ESP wifi reliability ( possibly linked to the wifi_sleep settings within the low level code in the ESPeasy firmware)
however the new ESPeasy "mega" 2.1 release is due sometime soon and should be a level up in reliability

Re: RFLink Wifi ESP

Posted: 14 Jul 2018, 16:44
by linker3000
Have a look at this ESP8266 project:

https://github.com/Phileep/rflink-to-mqtt

Re: RFLink Wifi ESP

Posted: 25 Nov 2018, 19:14
by JR01

Re: RFLink Wifi ESP

Posted: 23 Dec 2018, 15:16
by hatyri
You can also use ESP-01 and Tasmota Serial-Brigde.
https://github.com/arendst/Sonoff-Tasmo ... ial-bridge

I use OpenHAB and node-red. When ESP-01 Tasmota send MQTT info message Node-Red send cmnd/xxxxxxxxxx/baudrate 57600 command to ESP-01.
Next Node-Red send cmnd/xxxxxxxxxx/SerialSend 10;PING (not necessary)

Then ESP-01 send all remote signals like this:
{"SerialReceived":"20;0A;NewKaku;ID=xxxxxxx;SWITCH=xx;CMD=ON;"}
Node-Red parsing what I want.

Hardware is arduino-tx - levelconverter - esp-rx and arduino-rx - levelconverter - esp-tx

Hope to see some day when RFLink uses JSON messages to communikate.
---

If I remember right Andreas Spies have little error in line 92.
if (client.connect(clientId.c_str()), MQTT_USER, MQTT_PASSWORD) {
Should be
if (client.connect(clientId.c_str(), MQTT_USER, MQTT_PASSWORD)) {
Also there is some problems if you want send. When I tested softserial needed to use.

Re: RFLink Wifi ESP

Posted: 19 Jan 2019, 10:52
by seb82
I developped my own firmware to retrieve data throught MQTT if interested : https://github.com/seb821/espRFLinkMQTT

Re: RFLink Wifi ESP

Posted: 20 Jan 2019, 12:31
by JR01
Nice!