• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Checking internet connection within mervis

    Scheduled Pinned Locked Moved Mervis
    3 Posts 2 Posters 833 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      ladmanj
      last edited by

      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

      1 Reply Last reply
      Reply Quote 0
      • A
        AVsetula
        last edited by

        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

        L 1 Reply Last reply
        Reply Quote 0
        • L
          ladmanj @AVsetula
          last edited by

          @AVsetula

          Thank you for your answer, even it was not what I expected.

          The library of functions seems to be rather limited.

          1 Reply Last reply
          Reply Quote 0

          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
          • First post
            Last post