Restart router when it's gone offline?
-
Attention to the posting guidelines, please: need to know your host platform information, Reactor version number, etc.
@toggledbits my bad. I've added some info in my first post. Hopefully it's enough.
/Fanan -
Yes, much better, thanks. There is a script to drive a boolean attribute on the Reactor system entity to track the up-down state of Internet access (bare metal users can find that in the
tools
subdirectory), but I can't guide you on how to get that running under Home Assistant Blue.Here's a thread that may help you get the equivalent running in Hass, which you would then be able to see as a binary sensor in Reactor: https://community.home-assistant.io/t/home-assistant-checking-if-internet-connection-is-online/313324
-
Yes, much better, thanks. There is a script to drive a boolean attribute on the Reactor system entity to track the up-down state of Internet access (bare metal users can find that in the
tools
subdirectory), but I can't guide you on how to get that running under Home Assistant Blue.Here's a thread that may help you get the equivalent running in Hass, which you would then be able to see as a binary sensor in Reactor: https://community.home-assistant.io/t/home-assistant-checking-if-internet-connection-is-online/313324
@toggledbits How does one make use of that script within MSR?
-
The script header contains the simple instructions to get it up and running. From there, you just test the value of the Reactor System entity's attribute
reactor_system.internet_ok
-
The script header contains the simple instructions to get it up and running. From there, you just test the value of the Reactor System entity's attribute
reactor_system.internet_ok
@toggledbits When I review the readme in the
config
directory it says:These are the distribution (original) versions of the Reactor configuration files. You may keep them as a reference, or delete them (and this sub- directory). The configuration files used in runtime are in the 'config' subdirectory.
When I review the readme in the
dist-config
directory it says the same thing. Which one is the actual config directory (I'm bettingconfig
). -
The script header contains the simple instructions to get it up and running. From there, you just test the value of the Reactor System entity's attribute
reactor_system.internet_ok
@toggledbits So digging thru the script/s a bit I went with
config
directory as the location.Attempting to run the script
./reactor_inet_check.sh
results in this:Just for clarify, this is my
config
directory:and I'm running MSR on RPi4 bare metal Model B 2GBs latest-22080-ae7212f.
-
-
You have to run the script from the Reactor home directory.
cd /path/to/reactor tools/reactor_inet_check.sh
-
You have to run the script from the Reactor home directory.
cd /path/to/reactor tools/reactor_inet_check.sh
-
The included script only runs on Linux systems. A version of the script for Windows would make a great community contribution.
-
-
T toggledbits locked this topic on