Page 1 of 4
Wifi RFLink
Posted: Sunday 08 November 2015 12:03
by deennoo
Since last Update We can add :
RFLink Gateway with Lan Interface !!
I found a way to use it on Wifi by adding ESP8266 to RFLink using Ser2net.
Just load this sketch to your ESP8266 :
https://github.com/dparnell/esp8266-ser2net, of course adjust config to your home config
Plug ESP RX to Mega RX0 ESP tx to Mega TX1, ESP Enable and VCC to 3.3v Mega pin, ESP8266 GND to Mega Gnd, and ESP reset To Mega reset PIN.

- Capture2.JPG (58.25 KiB) Viewed 22720 times
On Domoticz, create a RFLink Gateway with Lan Interface, put your ser2net server ip and port then Rock n Roll !

- Capture.JPG (42.92 KiB) Viewed 22720 times
And it works very good, like when on USB Plug.
Restictions :
- Only One client can connect to ser2net Server (if someone can made this sketch start 2 server or more to connect 2 or more client, please share, i need this).
- When ESP is plug to Mega, USB can only recieve but not send (this will not be to hard to allow both working on same time).
Is there a way to slide all device i all ready got on my RFLink USB to this RFLink Wifi on Domoticz ?
Please Mister Nodoshop instead using 2.4ghz on your shield who we can't use, put an ESP8266, and aviablility to load this !
Re: Wifi RFLink
Posted: Sunday 08 November 2015 16:34
by Raspberry Piet
Very nice!
Just updated my ESP Easy to build 42 (now has built in ser2net functionality)
Re: Wifi RFLink
Posted: Sunday 08 November 2015 16:52
by ThinkPad
For building a LAN (Ethernet) version, have a look at this nice module:
http://domoticz.com/forum/viewtopic.php?f=30&t=8505 ($11 serial --> Ethernet converter).
I just finished building it into my OTGW today.
Re: Wifi RFLink
Posted: Sunday 08 November 2015 18:10
by deennoo
Maybe you post on the wrong place. Themes are RFLink and Wifi, good hacking, made a tutorial !
By the way...an Esp8266 with ESPEasy only cost 1$ and for sure can be plug to your opentherm gateway wirelessly...
Raspberry Piet wrote:Very nice!
Just updated my ESP Easy to build 42 (now has built in ser2net functionality)
Really ?? Hé hé hé .
http://www.esp8266.nu/forum/viewtopic.php?f=6&t=242
My towmorrow job will be to allow Wifi and USB sending and recieving, when both are use, i think have got a solution.
Re: Wifi RFLink
Posted: Sunday 08 November 2015 19:21
by deennoo
Raspberry Piet wrote:Very nice!
Just updated my ESP Easy to build 42 (now has built in ser2net functionality)
Can't Walt...is this possible to set 2 ser2net with différent TCP port ? If yes does it works ?
Re: Wifi RFLink
Posted: Sunday 08 November 2015 19:48
by Raspberry Piet
deennoo wrote:Raspberry Piet wrote:Very nice!
Just updated my ESP Easy to build 42 (now has built in ser2net functionality)
Can't Walt...is this possible to set 2 ser2net with différent TCP port ? If yes does it works ?
No, just one ser2net.
I thought you noticed the
latest git commit this afternoon? 
Domoticz seems to stop listen to this ser2net connection after a while.

Re: Wifi RFLink
Posted: Sunday 08 November 2015 19:58
by deennoo
It doesn't stop, if you read carefully, the problem is : if connections is lost between Domoticz and Esp Domoticz don't reconnect automatically, must be a Domoticz issue here.
I saw the Git commit but didn't try it already.
I got one running the sketch i provid since friday morning and no problem with it.
Re: Wifi RFLink
Posted: Sunday 22 November 2015 18:07
by costo
Raspberry Piet wrote:Very nice!
Just updated my ESP Easy to build 42 (now has built in ser2net functionality)
ESP Easy version 42
that's nowhere to be found, where did you get that ?
Re: Wifi RFLink
Posted: Sunday 22 November 2015 19:57
by chrille
costo wrote: ESP Easy version 42
that's nowhere to be found, where did you get that ?
https://github.com/ESP8266nu/ESPEasy
- Jan
Re: Wifi RFLink
Posted: Saturday 28 November 2015 23:22
by chrille
deennoo wrote:Since last Update We can add :
RFLink Gateway with Lan Interface !!
I found a way to use it on Wifi by adding ESP8266 to RFLink using Ser2net.
Just load this sketch to your ESP8266 :
https://github.com/dparnell/esp8266-ser2net, of course adjust config to your home config
Plug ESP RX to Mega RX0 ESP tx to Mega TX1, ESP Enable and VCC to 3.3v Mega pin, ESP8266 GND to Mega Gnd, and ESP reset To Mega reset PIN.
A few questions/comments:
The ESP8266 is not 5V safe on the GPIO pins (including TX/RX) and you should really use a levelshifter
ITYM that RX0 on Arduino should go to TX on ESP, and not RX
Why do you connect reset on the ESP to the Arduino reset? Why not leave it high or floating?
- Jan
Re: Wifi RFLink
Posted: Sunday 29 November 2015 15:42
by deennoo
Your right for Rx and Tx (on my first esp they was inverted).
Actually i never kill an esp with 5v on ESp RX and TX (i load frimewire from an arduino) , will think about it.
Reste : this is a way for me to reste both.
Feel free to give a full safe how to, if you want.
Re: Wifi RFLink
Posted: Monday 30 November 2015 16:17
by savage007
Where did you get those library files for r42 espeasy you were talking about on
http://www.esp8266.nu/forum/viewtopic.p ... t=10#p1664 ?
I am missing all these files :
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include <ESP8266WebServer.h>
#include <Wire.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
#include <LiquidCrystal_I2C.h>
#include <Servo.h>
#if FEATURE_SPIFFS
#include <FS.h>
Could you somehow send those to me?
Re: Wifi RFLink
Posted: Monday 30 November 2015 20:14
by NietGiftig
In the zip file from the latest release are some of your missing files.
http://sourceforge.net/projects/espeasy/files/
Re: Wifi RFLink
Posted: Wednesday 30 December 2015 12:27
by dodge
Hello,
I have a ESP8266 and want to conntect it to my rflink.
But I have some issues.
What I did so far....
installed the espeasy software on the esp8266
but how should i configure it?
at the moment I did:
device: serial server
tcp port 23
Baud Rate: 57600
Data bits: 8
Parity: no parity
Stop bits: 1
next question how should connect this to my rflink
power is ok because I can connect to the configure webpage when I go to esp8266 ip adres
for rx and tx and did esp rx to mega tx0 and esp tx to meta rx0
in the topic start it says something else but this is how the picture is connected.
When I try to connect with domoticz it connects but after 30 sec it says no response.
domoticz version V2.3682
rflink version R35
ESP version 48
two more questions; Do i have to change something in the hardware options SDA and SDL
Protocol is on domoticz http is this ok?
thx
Re: Wifi RFLink
Posted: Wednesday 30 December 2015 17:03
by deennoo
Dont have anu expérience with Espeasy and serial server sorry
Re: Wifi RFLink
Posted: Thursday 31 December 2015 2:46
by costo
dodge wrote:Hello,
. . . . . . . . .
When I try to connect with domoticz it connects but after 30 sec it says no response.
domoticz version V2.3682
. . . . . . . . .
thx
That issue in Domoticz is (most likely) solved in beta version 2.3846, so you have to update Domoticz
Re: Wifi RFLink
Posted: Friday 15 January 2016 14:17
by SystemLord
Just a small warning:
I would not advise to use the 3.3v pin on the MEGA, it delivers 50mA max where the esp can peak to 250mA (normal operation 70mA)
This could result in connection issues ed.
So instead use the 5v pin (200mA) and use a voltage regulator.
Level shifter on the rx esp line is needed , the MEGA can function with 3.3v on rx/tx so that would not be a issue.
But i like the idea!
Re: Wifi RFLink
Posted: Tuesday 19 January 2016 23:54
by DaaNMaGeDDoN
I just started looking into rflink after posting some stuff about a rfxtrx in the rflink area when i noticed how much i missed, so i came across some wiring diagrams and such and thought to myself: has anybody noticed arduino sketches can be used for ep8266's? So i googled and got here. Maybe i am preaching to the choir here, but i see the esp8266 is only used for the ser->net part, why not drop the arduino part and use the only a esp8266 with the receiver and transmitter?
https://github.com/esp8266/Arduino
As said i am just started to look into this, so if this is a common knowledge and this has been discussed and the arduino is the only way i am sorry for bothering

Otherwise i can imagine a tiny lan-connected rflink transciever in the near future

Re: Wifi RFLink
Posted: Saturday 19 March 2016 11:12
by Raspberry Piet
DaaNMaGeDDoN wrote:Maybe i am preaching to the choir here, but i see the esp8266 is only used for the ser->net part, why not drop the arduino part and use the only a esp8266 with the receiver and transmitter?
Just found this:
https://github.com/hallard/WeMos-RFLink
It is mentioned
here but my french is not very good
I haven't found the link to the software yet.
Re: Wifi RFLink
Posted: Saturday 19 March 2016 14:52
by NietGiftig