Checking internet connection within mervis
-
Hello,
I have two Unipi Neurons installed in a remote house, which is connected to the internet only by 4G wireless modem.
I have openvpn based connection which I use to manage the Neurons and other network connected devices.The wireless modem die sometimes and then a power cycle is necessary.
I want to lead the power via one of the Neurons relay and implement that logic in mervis.
Please, can you recommend me how to attempt this? I don't know how to check the internet connection within mervis.
Thank you very much.
JL
-
Hello,
Currently, the best way is to find out the availability of the Internet connection in the OS and then write this information to the ModbusTCP server. You can create a ModbusTCP server directly in the OS as a separate program or define it in Mervis.
The subsequent logic for switching the relay on/off is already simple.
Best regards,
Antonin -
Thank you for your answer, even it was not what I expected.
The library of functions seems to be rather limited.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login