Hello. I have a RUT950 placed in a remote country house on the mountains, which allows me to perform some remote operations through 4G. It is already set to restart the connection if the internet is lost and to reboot once a day ad midnight.
Anyway, quite seldom (once a month), the router disconnects and does not reconnect anymore, until I go there and perform a power off/on cycle.
In order to avoid this, I would like to create a sort of watchdog using the input/output pins.
Something like:
1 - at the reboot, put the output pin to ‘0’
2 - if the network connection status is “disconnected” for more than 5 minutes, put the output pin to ‘1’
3 - on the rising edge of the output pin, reboot the system
Reading the manual, I understood only how to set the condition 3. How to set the other two conditions?
Hi Lukab,
Welcome to Teltonika Networks Community!
You can run this simple script under System → Maintenance → Custom Script. Basically, it will check the sim status and if it is disconnected, it will reboot the device. You can increase the sleep interval (in seconds). Kindly use this as a guide.
Let me know if this helps.
watchdog.zip (274 Bytes)
Regards,
This topic was automatically closed after 15 days. New replies are no longer allowed.