Page 1 of 1
nrf24l01 connected to RPi2 as GW
Posted: Monday 09 November 2015 20:51
by alexsh1
Hello,
Does anyone use nrf24l01 connected directly to RPi2 as the gateway?
I have a strange problem. From time to time, all nodes stop reporting to the gateway at the same time. I understand this is not a problem of a node, but a problem with the gateway. Not sure where to look. Rebooting the nodes does not help, I have to reboot the RPi2 to make it work.
See the meter graph below. The circled areas is when there was no signal reception. The same goes for the temperature.
I am using MySensors 1.4 lib - this is the newest for the RPi2 unfortunately.
Any thoughts?
Re: nrf24l01 connected to RPi2 as GW
Posted: Monday 09 November 2015 21:27
by sincze
I don't know what the 'nrf24l01' does actually
Seems like a nice cheap chip. What do you use it for?
Re: nrf24l01 connected to RPi2 as GW
Posted: Monday 09 November 2015 23:40
by alexsh1
sincze wrote:I don't know what the 'nrf24l01' does actually
Seems like a nice cheap chip. What do you use it for?
nrf24l01 is a low energy transceiver board.
Basically, it is my MySensors Gateway (as well as used to switch on/off some relays and Mi-Light bulbs)
https://github.com/mysensors/Raspberry
http://forum.mysensors.org/topic/1151/t ... connection
Re: nrf24l01 connected to RPi2 as GW
Posted: Saturday 21 November 2015 15:04
by gizmocuz
i had (have) this problem as well.
thats why i build a queue system in the latest domoticz beta that sends the messages.
But it does not seem to make a difference.....
I am using a sketch that requests a lot of data from domoticz (via V_CUSTOM, see the form post about my lcd sketch)
After some time, the communication stops
I now build an Ethernet gateway, and going to test if this keeps 'alive'
Re: nrf24l01 connected to RPi2 as GW
Posted: Monday 23 November 2015 11:12
by alexsh1
gizmocuz wrote:i had (have) this problem as well.
thats why i build a queue system in the latest domoticz beta that sends the messages.
But it does not seem to make a difference.....
I am using a sketch that requests a lot of data from domoticz (via V_CUSTOM, see the form post about my lcd sketch)
After some time, the communication stops
I now build an Ethernet gateway, and going to test if this keeps 'alive'
Thanks for confirm it Rob!
The problem is that I spent a lot of time on this and somehow I feel that due to MS version 1.4 (already behind 1.5 stable and 1.6 development) there may be some bugs left. I am not sure this would be supported in the future either.
This is the reason I decided to move on to the ethernet gateway - this runs flawlessly. Unfortunately, this means now that I have to buy an internet switch as all ports on my router are taken. Having 'keep alive' would be great. I like the way Domoticz is logging a serial gateway if it is disconnected.
Re: nrf24l01 connected to RPi2 as GW
Posted: Friday 28 July 2017 7:29
by MattLittle
Hi guys I am having this problem too with a RPi2. Only a reboot will help.
I am using latest dev branch for MYS + DOM.
I have a watchdog script that runs every five minutes on the PI to check if wfi connection drops (pings the router, if no reply, reboot).
I got the script 'from the net' and dont really understand writing pi/linux bash scripts.
Is there a way to write a script that will do the same thing for the radio module/nrf?
Thanks,
Matt
Re: nrf24l01 connected to RPi2 as GW
Posted: Wednesday 04 October 2017 15:56
by Toyman
MattLittle wrote: ↑Friday 28 July 2017 7:29
I got the script 'from the net' and dont really understand writing pi/linux bash scripts.
Is there a way to write a script that will do the same thing for the radio module/nrf?
Thanks,
Matt
you mean rebooting just the GW instead of rebooting the whole Pi? In this case, you have to include a relay and switch off\on power to the gateway via GPIO by a running a simple script.
It's VERY easy to do.
Re: nrf24l01 connected to RPi2 as GW
Posted: Wednesday 04 October 2017 15:57
by Toyman
actually, MOSFET is more than enough
Re: nrf24l01 connected to RPi2 as GW
Posted: Thursday 12 October 2017 20:39
by MattLittle
Thanks guys, worked it out in the end. Set the NRF to low power and the thing stopped going offline.
Cheers for your help.
Re: nrf24l01 connected to RPi2 as GW
Posted: Saturday 25 November 2017 13:16
by gian72
MattLittle wrote:Thanks guys, worked it out in the end. Set the NRF to low power and the thing stopped going offline.
Cheers for your help.
Hi mattLittle. How did you manage to put the bed low power on rPI? I've the same problems...
Thanks Gianluca
Inviato dal mio KIW-L21 utilizzando Tapatalk