Wifi RFLink
Moderators: leecollings, Stuntteam
-
- Posts: 94
- Joined: Monday 30 November 2015 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Wifi RFLink
mmm i dont get it.
I wired my presoldered RFLink to an ESP8266 Nodemcu as mentioned above, but it seems that no signal is recognized.
The ESP has ESPEasy R133
The testremote i use is an Elro AB440R (AB400 is supported)
Domoticz say that it could not connect to the ESP.
In the devices menu, the port is empty (I configured it at 9999)
I wired my presoldered RFLink to an ESP8266 Nodemcu as mentioned above, but it seems that no signal is recognized.
The ESP has ESPEasy R133
The testremote i use is an Elro AB440R (AB400 is supported)
Domoticz say that it could not connect to the ESP.
In the devices menu, the port is empty (I configured it at 9999)
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Wifi RFLink
Running rflink on a esp8266 isn't easy.
Hallard and other already try this without succes, atmega chip and esp chip don't run at the same speed, esp got a loop who kill some decoding process.
I heard that Stuntteam receive a wemos this summer...
Following last news, they works on new rf composant implentation to help decoding more rf range 868, 2.4ghz who will give more product.
Maybe later they will work on a real Rflink Wifi.
Actually ser2net solution is a good one, works with Syno, Linux, Windows, Mac, Esp, even on some openwrt router
Can be good if someone can find equivalent for an anduino ethernet shield, this can help too
(Small http server who allow to fix ip arduino ip via dhcp + port and make link between serial and tcp)
Hallard and other already try this without succes, atmega chip and esp chip don't run at the same speed, esp got a loop who kill some decoding process.
I heard that Stuntteam receive a wemos this summer...
Following last news, they works on new rf composant implentation to help decoding more rf range 868, 2.4ghz who will give more product.
Maybe later they will work on a real Rflink Wifi.
Actually ser2net solution is a good one, works with Syno, Linux, Windows, Mac, Esp, even on some openwrt router
Can be good if someone can find equivalent for an anduino ethernet shield, this can help too
(Small http server who allow to fix ip arduino ip via dhcp + port and make link between serial and tcp)
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 94
- Joined: Monday 30 November 2015 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Wifi RFLink
mmm.. i use the ESP8266 Nodecmu as ser2net, but it seems they dont communicate with each other.
I can use an RPI2 as ser2net server, but an ESP uses less power (0,6 Watt)
Hope that someone finds an wireless solution (the TPLink is a good one as well, but more pricy)
I can use an RPI2 as ser2net server, but an ESP uses less power (0,6 Watt)
Hope that someone finds an wireless solution (the TPLink is a good one as well, but more pricy)
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Wifi RFLink
You easly can found a 2nd hand openwrt device who can run ser2net.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
- ledfreak3d
- Posts: 98
- Joined: Sunday 01 November 2015 15:30
- Target OS: Linux
- Domoticz version: 3.8025
- Location: Hoorn
- Contact:
Re: Wifi RFLink
why not run it completely on the esp8266 should be fast enough and has plenty of storage
Unleashe the magic smoke ;)
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Wifi RFLink
A ESP isn't a Mega, look twice between spec of the 2 parts.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 41
- Joined: Tuesday 13 December 2016 18:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Wifi RFLink
I was having the same problems with it not reconnecting if my ESP was rebooted etc.deennoo wrote: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.
This was solved in Domoticz by changing the 'data timeout' to 1 minute.
Seems to be working nicely and reconnecting!
I also transferred the settings/saved switches from by USB RFlink to by LAN RFLink by simply just editing the USB RFLink in 'Hardware' to be a RFLINK LAN and clicking update.
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: RE: Re: Wifi RFLink
Great !gorstj wrote:I was having the same problems with it not reconnecting if my ESP was rebooted etc.deennoo wrote: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.
This was solved in Domoticz by changing the 'data timeout' to 1 minute.
Seems to be working nicely and reconnecting!
I also transferred the settings/saved switches from by USB RFlink to by LAN RFLink by simply just editing the USB RFLink in 'Hardware' to be a RFLINK LAN and clicking update.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
-
- Posts: 3
- Joined: Tuesday 18 April 2017 10:58
- Target OS: Windows
- Domoticz version:
- Contact:
Baud Rate
I had a lot of problems getting this to work until I inspected the RFlink source code and found that the latest release of RFLink (R46) sets the baud rate of RX0 & TX0 at 57600 so I changed it in the Ser2Net sketch and it worked instantly. I also pulled the reset pin of the esp8266 up to 3.3v which hasn't done it any harm but I'm not sure if it is necessary - just something I found on another forum.
Thought I would share in case it saves anyone else some time.
Thought I would share in case it saves anyone else some time.
-
- Posts: 41
- Joined: Saturday 01 November 2014 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Wifi RFLink
Can somebody maybe share with us the proper wiring for this setup? Darkside0506 maybe?
Is it working with ESPeasy and Ser2Net service?
Is it working with ESPeasy and Ser2Net service?
-
- Posts: 41
- Joined: Saturday 01 November 2014 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Wifi RFLink
So,
I did some searching etc. and wired up my ESP-01 to the RFLink.
I have set everything up with ESPeasy and everything is working.
I do have a small remark to make on the wiring schedule below:
--The yellow line on the MEGA board should be connected to the TX0-->1 connection(as it is in the picture it cant because it's occupied by the RFLink)
--The blue line on the MEGA board should be connected to the RX0<--0 connection instead of the one in the image(as it is in the picture it cant because it's occupied by the RFLink)
--Be sure to connect the red wire to the 3.3 volt output of the Arduino Mega(look on the board)
--Connect the following pins to 3.3 volt, VCC, RST, CH_PD and GPIO0. This should ensure that the ESP-01 boots in the correct mode.
The resistors ensure that the 5 volt TX0-->1 output of the Arduino MEGA is stept down to 3.3 volt where the RX is made for.
ESP-01 pin description
If have setup ESPeasy with the following Controller settings:
Protocol: Domoticz HTTP
Locate controller: Use IP Address
Controller IP: your domoticz IP
Controller port: your domoticz Port
Controller user: empty/nothing
Controller Password: empty/nothing
Enabled: Box ticked
If have setup ESPeasy with the following Device settings:
Device: Serial Server
Name: Choose one
TCP Port: 9999
Baudrate: 57600
Data bits: 8
Parity: No parity
Stop bits: 1
Reset target after boot; Empty/nothing
RX Recieve timeout(msec): 0
Event processing: None
Enabled: Box ticked.
In Domoticz i already had the RFLink Gateway with USB and like someone wrote i just changed it to RFLink Gateway with LAN interface, this saves us from re-adding all the devices we already had.
Datatime out i have put to 1 minute, i have read that it would be better(dont know why anymore)
Remote address: IP of you ESP-01 module
Port: the TCP Port that you set under Device settings of the ESPeasy.
Otherwise you can just add it instead of changing it.
I did some searching etc. and wired up my ESP-01 to the RFLink.
I have set everything up with ESPeasy and everything is working.
I do have a small remark to make on the wiring schedule below:
--The yellow line on the MEGA board should be connected to the TX0-->1 connection(as it is in the picture it cant because it's occupied by the RFLink)
--The blue line on the MEGA board should be connected to the RX0<--0 connection instead of the one in the image(as it is in the picture it cant because it's occupied by the RFLink)
--Be sure to connect the red wire to the 3.3 volt output of the Arduino Mega(look on the board)
--Connect the following pins to 3.3 volt, VCC, RST, CH_PD and GPIO0. This should ensure that the ESP-01 boots in the correct mode.
The resistors ensure that the 5 volt TX0-->1 output of the Arduino MEGA is stept down to 3.3 volt where the RX is made for.
ESP-01 pin description
If have setup ESPeasy with the following Controller settings:
Protocol: Domoticz HTTP
Locate controller: Use IP Address
Controller IP: your domoticz IP
Controller port: your domoticz Port
Controller user: empty/nothing
Controller Password: empty/nothing
Enabled: Box ticked
If have setup ESPeasy with the following Device settings:
Device: Serial Server
Name: Choose one
TCP Port: 9999
Baudrate: 57600
Data bits: 8
Parity: No parity
Stop bits: 1
Reset target after boot; Empty/nothing
RX Recieve timeout(msec): 0
Event processing: None
Enabled: Box ticked.
In Domoticz i already had the RFLink Gateway with USB and like someone wrote i just changed it to RFLink Gateway with LAN interface, this saves us from re-adding all the devices we already had.
Datatime out i have put to 1 minute, i have read that it would be better(dont know why anymore)
Remote address: IP of you ESP-01 module
Port: the TCP Port that you set under Device settings of the ESPeasy.
Otherwise you can just add it instead of changing it.
Re: Wifi RFLink
Just make it work!!!! Thanks for your detalied info.
Moving the RFLink closer to the blinds save my life and make the wife so happy!!!!
I haven't put the resistances on TX... do you think it's really important?
Moving the RFLink closer to the blinds save my life and make the wife so happy!!!!
I haven't put the resistances on TX... do you think it's really important?
-
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: Wifi RFLink
morilm wrote:Just make it work!!!! Thanks for your detalied info.
Moving the RFLink closer to the blinds save my life and make the wife so happy!!!!
I haven't put the resistances on TX... do you think it's really important?
You can try it for 1 shot only
Feeding an 5v to a max 3.3 input will get the ESP into troubles !
Please keep in mind. All electronic components work on smoke.... Do not let it escape.
Re: Wifi RFLink
Freijn...
The Arduino board has a 3.3v output... so no risk to smoke!!! have been working for the last 2 days (24 hours) without any issue
The Arduino board has a 3.3v output... so no risk to smoke!!! have been working for the last 2 days (24 hours) without any issue
-
- Posts: 8
- Joined: Tuesday 17 November 2015 15:33
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Wifi RFLink
Hi all,
for the record I just build my own RFLink box, including a ESP8266 01 using the serial gateway of ESPEasy, and this 5V/3.3V converter: http://www.arobose.com/shop/cartes-d-ex ... gique.html. (Ref BOB-12009)
I do not use additional PSU for the ESP, but the Mega is powered by a free spare 6.5 V/600 mA that seems enough.
It took me a while to figure the right wiring (ok, I tried every combination until I had one with a full PING/PONG sequence ). So it should help other people in the same situation so here is my exact wiring (radio is not displayed):
for the record I just build my own RFLink box, including a ESP8266 01 using the serial gateway of ESPEasy, and this 5V/3.3V converter: http://www.arobose.com/shop/cartes-d-ex ... gique.html. (Ref BOB-12009)
I do not use additional PSU for the ESP, but the Mega is powered by a free spare 6.5 V/600 mA that seems enough.
It took me a while to figure the right wiring (ok, I tried every combination until I had one with a full PING/PONG sequence ). So it should help other people in the same situation so here is my exact wiring (radio is not displayed):
-
- Posts: 41
- Joined: Saturday 01 November 2014 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Wifi RFLink
Hi,
If found and bought this device on Aliexpress, and got it up and running within 10 minutes.
It's an ATMega2560 with ESP8266 module intergrated!
Really worth the money!
https://nl.aliexpress.com/item/Mega-WiF ... 0.0.SzWfVi
If found and bought this device on Aliexpress, and got it up and running within 10 minutes.
It's an ATMega2560 with ESP8266 module intergrated!
Really worth the money!
https://nl.aliexpress.com/item/Mega-WiF ... 0.0.SzWfVi
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Wifi RFLink
Hi
I'm interested in this solution, where I can find a power supply for this Atmega2560+ESP? I was not able to find it on Aliexpress.
Thanks
I'm interested in this solution, where I can find a power supply for this Atmega2560+ESP? I was not able to find it on Aliexpress.
Thanks
Last edited by woody4165 on Tuesday 12 December 2017 9:38, edited 1 time in total.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
-
- Posts: 21
- Joined: Tuesday 12 December 2017 9:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Rotterdam
- Contact:
Re: Wifi RFLink
MaikelK wrote: ↑Thursday 07 December 2017 20:21 Hi,
If found and bought this device on Aliexpress, and got it up and running within 10 minutes.
It's an ATMega2560 with ESP8266 module intergrated!
Really worth the money!
https://nl.aliexpress.com/item/Mega-WiF ... 0.0.SzWfVi
I’m looking to get started with the RFLink myself and was hoping to interface with it over WiFi myself. Came accros your recent post and checked-out the Mega you mentioned. Seems like a nice and tidy solution but my technical knowledge on how to put it all together and programm the Mega and the ESP using the dipswich settings is lacking.
Would you be able to give us some instructions on how you managed to set-up the board in conjunction with the RFLink and ser2net server?
Some photos from the final result would also be nice.
Thanks!
-
- Posts: 21
- Joined: Tuesday 12 December 2017 9:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Rotterdam
- Contact:
Re: Wifi RFLink
Hi Woody4165 as far as I can tell a regular 2.1 center positive 7-12v charger should do. The first hit on AliExpress I get is:
http://s.aliexpress.com/yQjMNvYb
Would this not suffice?
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: Wifi RFLink
Thanks Bladerer.
Will wait for delivery of both parts and will try to move from standard RFLink to Wifi one.
Will wait for delivery of both parts and will try to move from standard RFLink to Wifi one.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
Who is online
Users browsing this forum: No registered users and 0 guests