How to check if serial gateway is operational ?
-
Hi,
I have implemented a serial gateway to Domoticz on a pro mini. Just used the code given in the example. Works well so far, but recently I noticed that the gateway seemed to got stuck. It did not react to messages from sensor nodes. A reset of the gateway was all to fix it.
Would be nice to have a means to get a notification in case that a gateway does not react anymore.
Any ideas how that could be accomplished ?
Josh
-
Hi!
I ask my gateway about it's version (0;0;3;0;2;). It will responde with the library version number (1.4.1 in my case).
It tells me that the gateway software is up and running. But it will not give me any clue about if the (NRF)network is working.
I only ask the gateway if no other packages are received in $timeout seconds.
/Magnus
-
When the gateway does not respond it should be noticed by the controller imho.
-
@fot said:
Hi!
I ask my gateway about it's version (0;0;3;0;2;). It will responde with the library version number (1.4.1 in my case).
It tells me that the gateway software is up and running. But it will not give me any clue about if the (NRF)network is working.
That's a problem, right.I only ask the gateway if no other packages are received in $timeout seconds.
/Magnus
Of course ! Thank you for pushing my nose on it. Sometimes you don't see the most obvious
Since my gateway is relatively close to the controller (Domoticz on a Raspi), I can do a hard reset of the gateway (via Raspi GPIO), which should resolve the issue.
Cheers
Josh
Suggested Topics
-
Arduino NRF24L01 simple universal board
Hardware • 28 Feb 2015, 18:50 • kwest 6 Mar 2015, 08:30 -
Arduino Mega2560 and multifunction gateway issues/questions
Troubleshooting • 13 May 2020, 13:25 • fdlou147 13 May 2020, 15:24 -
PIR motion sensor that sends cloud notifications via wifi
Development • 25 Nov 2014, 07:52 • vekraman76 25 Nov 2014, 09:27 -
Ethernet Gateway on Arduino Yún
Development • 15 Sept 2015, 14:13 • akbooer 11 Jan 2016, 21:03 -
💬 ArduCure
OpenHardware.io • 31 Jan 2017, 06:47 • openhardware.io 31 Jan 2017, 06:47 -
💬 Valden: Heat Pump Controller
OpenHardware.io • 4 Sept 2021, 06:43 • openhardware.io 4 Sept 2021, 06:43 -
How to make sense of Struct data received from Arduino in RPi via NRF24?
General Discussion • 16 Jun 2022, 00:47 • nrf24_is_hard 31 Jul 2022, 04:41 -
Arduino Pro mini + RF 433 MHz as Gateway
General Discussion • 8 Nov 2015, 20:47 • lrtsenar 9 Nov 2015, 02:37