RFLink + Wi-Fi

433Mhz opensource Receiver & Transmitter.

Moderators: leecollings, Stuntteam

Post Reply
garethiowc
Posts: 28
Joined: Sunday 03 December 2017 23:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

RFLink + Wi-Fi

Post by garethiowc »

Hi All,

i have been using the rf link via USB for a couple of years but have decided to move it over to wi-fi using

https://www.nodo-shop.nl/nl/home/191-rf ... print.html

and

https://www.nodo-shop.nl/nl/home/189-nodemcu.html

after using an online translater I followed the setup guide - https://www.nodo-shop.nl/nl/index.php?c ... achment=35

So currently the nodemcu is connected to my wi-fi and I have configured the serial port as shown in the guide but domoticz doesn't grab any data from it
Screenshot 2020-07-04 at 09.32.21.png
Screenshot 2020-07-04 at 09.32.21.png (126.74 KiB) Viewed 3538 times
Screenshot 2020-07-04 at 09.32.59.png
Screenshot 2020-07-04 at 09.32.59.png (302.01 KiB) Viewed 3538 times
Screenshot 2020-07-04 at 09.14.05.png
Screenshot 2020-07-04 at 09.14.05.png (74.96 KiB) Viewed 3538 times
garethiowc
Posts: 28
Joined: Sunday 03 December 2017 23:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: RFLink + Wi-Fi

Post by garethiowc »

Screenshot 2020-07-04 at 09.14.21.png
Screenshot 2020-07-04 at 09.14.21.png (56.18 KiB) Viewed 3536 times
sorry, second post due to image upload limit.

any ideas where I might have gone wrong?

Thanks
Petjepet
Posts: 1
Joined: Friday 24 July 2020 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: RFLink + Wi-Fi

Post by Petjepet »

Hi,

I run into the same issue where it has been working before.
There are no devices detected.

Code: Select all

2020-08-09 11:44:56.926 Status: RFLink: trying to connect to 192.168.1.74:9999
2020-08-09 11:44:56.936 Status: RFLink: connected to: 192.168.1.74:9999
2020-08-09 11:44:56.926 Error: ASyncTCP: connect called while socket is still open. !!!
2020-08-09 11:45:36.931 Error: RFLink: Nothing received for more than 30 seconds, restarting...
2020-08-09 11:45:56.933 Status: RFLink: trying to connect to 192.168.1.74:9999
2020-08-09 11:45:56.934 Error: ASyncTCP: connect called while socket is still open. !!!
2020-08-09 11:45:58.153 Status: RFLink: connected to: 192.168.1.74:9999
2020-08-09 11:46:36.938 Error: RFLink: Nothing received for more than 30 seconds, restarting...
2020-08-09 11:46:56.940 Status: RFLink: trying to connect to 192.168.1.74:9999
2020-08-09 11:46:56.940 Error: ASyncTCP: connect called while socket is still open. !!!
2020-08-09 11:47:04.304 Status: RFLink: connected to: 192.168.1.74:9999
2020-08-09 11:47:36.944 Error: RFLink: Nothing received for more than 30 seconds, restarting...
2020-08-09 11:47:56.946 Status: RFLink: trying to connect to 192.168.1.74:9999
2020-08-09 11:47:56.957 Status: RFLink: connected to: 192.168.1.74:9999
2020-08-09 11:47:56.946 Error: ASyncTCP: connect called while socket is still open. !!!
2020-08-09 11:48:36.950 Error: RFLink: Nothing received for more than 30 seconds, restarting...
I can configure my NodeMCU (ESP) with no problem directly by it's IP address, so it is connected in my network (also visible in router).

EDIT: now I see the NodeMCU won't connect to Domoticz anymore. The Log says:

Code: Select all

2020-08-09 12:27:14.780 Status: RFLink: connected to: 192.168.1.74:9999
2020-08-09 12:27:14.780 Status: RFLink: disconnected
2020-08-09 12:27:14.780 Error: RFLink: Bad address


Still able to connect it directly by IP address.

Any ideas?

Gr,
Ron
Gr,
Ron
BertB
Posts: 72
Joined: Tuesday 24 June 2014 19:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: struggling and stumbling. Amsterdam area
Contact:

Re: RFLink + Wi-Fi

Post by BertB »

I have the same problem.
Is there any progress?
Set 1= RPI 3B, latest Beta, RFLink USB, RFLINK WIFI, Zwave
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: RFLink + Wi-Fi

Post by erem »

The ESPeasy version you are using is ancient.
A lot of progress has been made on wifi connectivity since version 147
i suggest you try one of the more recent versions from here https://github.com/letscontrolit/ESPEasy/releases
Regards,

Rob
BertB
Posts: 72
Joined: Tuesday 24 June 2014 19:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: struggling and stumbling. Amsterdam area
Contact:

Re: RFLink + Wi-Fi

Post by BertB »

Hi Rob,

That is not quite true. I run the latest Beta of ESPEasy
Set 1= RPI 3B, latest Beta, RFLink USB, RFLINK WIFI, Zwave
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: RFLink + Wi-Fi

Post by erem »

Bert,

according to the ESPEasy developers much improvements have been made in wifi stability.
you can setup a device in espeasy "generic system info" which can show RSSI, web activity etc.
that may help to determine the cause of the connection loss
if you make a sensor in domoticz that will keep the history for you

https://www.letscontrolit.com/wiki/inde ... le=SysInfo

if it is not a connection loss problem on the esp side, you can monitor the incoming rx/tx using the serial monitor on the esp, but you probably know that already :D
Regards,

Rob
BertB
Posts: 72
Joined: Tuesday 24 June 2014 19:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: struggling and stumbling. Amsterdam area
Contact:

Re: RFLink + Wi-Fi

Post by BertB »

I do indeed. Problem is, the error occurs only once in a couple of days.
Set 1= RPI 3B, latest Beta, RFLink USB, RFLINK WIFI, Zwave
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: RFLink + Wi-Fi

Post by erem »

maybe this will help.
this is a set of rules that will reboot the esp when a loss of connectivity occurs (that can be detected by the esp)

Code: Select all

  // Rules for ESPEasy

on System#Boot do
    Let,1,0		// set uservariable	
EndOn

on Wifi#Disconnected do	// if no wifi, wait 3 minutes
  if [VAR#1]=0
    timerSet,1,180
    Let,1,1		// set user variable 1 to 1
  endif
endon

on Wifi#Connected do	// if wifi returns, cancel reboot
  timerSet,1,0		// cancel timer
  Let,1,0		// set user variable 1 to 0
endon

On Rules#Timer=1 do 		// if still no Wifi, reboot
  reboot
endon
Regards,

Rob
BertB
Posts: 72
Joined: Tuesday 24 June 2014 19:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: struggling and stumbling. Amsterdam area
Contact:

Re: RFLink + Wi-Fi

Post by BertB »

Great, thanks.
Set 1= RPI 3B, latest Beta, RFLink USB, RFLINK WIFI, Zwave
Set 2= RPI 2B, Latest Beta, OTGW (USB), SBFSpot (Bluetooth)
ajongen70
Posts: 12
Joined: Sunday 25 February 2024 0:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.3
Location: Netherlands
Contact:

Re: RFLink + Wi-Fi

Post by ajongen70 »

Hi All,

I am experiencing the same issues once in a while. All this with the latest stable Beta of Domoticz installed. The RFLink is pingable and the webpage the ESP8266 provides is working so Wifi connection is all good, but domoticz is disconnected and issuing "Bad address" errors. Restarting the RFLink does not resolve the issue. Trying to disable and re-enable the RFLink LAN hardware in domoticz results in a crash of domoticz. Stopping and restarting domoticz completely is the only resolution.

Did the suggested solution result in a stable system? Or is there something fishy in the RFLink LAN Hardware implementation in Domoticz, since it results in crashing the domoticz process?

Thanks for any help on this issue.

Cheers, Armand
FlyingDomotic
Posts: 325
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: RFLink + Wi-Fi

Post by FlyingDomotic »

Would it be possible to get Domoticz's crash dump?

Even if initial cause is perhaps not in plugin, crashing Domoticz is for sure not normal.
ajongen70
Posts: 12
Joined: Sunday 25 February 2024 0:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.3
Location: Netherlands
Contact:

Re: RFLink + Wi-Fi

Post by ajongen70 »

As requested:
domo_crash.log
Domoticz Crash log
(33.18 KiB) Not downloaded yet
Thanks for looking into this.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest