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
-
Anti-theft Entrance Guard Alarm System Based on Arduino
My Project • 28 Jan 2015, 08:36 • Yeager Cade 28 Jan 2015, 08:36 -
connecting existing alarm system to veralite/ mysensors
General Discussion • 24 Jan 2015, 01:32 • brettzky84 24 Jan 2015, 02:58 -
💬 In-wall scene controller main board
OpenHardware.io • 23 Dec 2017, 23:52 • openhardware.io 23 Dec 2017, 23:52 -
💬 RFM Linky
OpenHardware.io • 3 Apr 2021, 17:05 • openhardware.io 3 Apr 2021, 17:05 -
Send configuration (numbers) from HA to Arduino
Home Assistant • 13 Nov 2022, 01:15 • OldSurferDude 14 Nov 2022, 20:18 -
Method to reveal sketch inside node or g/w
General Discussion • 19 Oct 2015, 01:36 • 5546dug 19 Oct 2015, 19:22 -
💬 MyThermostat
OpenHardware.io • 18 Mar 2019, 12:49 • openhardware.io 22 Mar 2019, 21:17 -
💬 Valden: Heat Pump Controller
OpenHardware.io • 4 Sept 2021, 06:43 • openhardware.io 4 Sept 2021, 06:43