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

    Unipi 1.1 and modbus TCP

    Scheduled Pinned Locked Moved Evok API
    3 Posts 2 Posters 2.5k 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.
    • T
      tvleminc
      last edited by

      Is it possible to communicatie with the unipi 1.1 over modbus /tcp ?

      1 Reply Last reply
      Reply Quote 0
      • T
        TomasKnot
        last edited by TomasKnot

        It is, but it's relatively limited in what you can do. You need to use native Linux GPIO/PWM facilities to access the full range of UniPi 1.1 functions.

        As for instructions: you will need to use our Mervis image and will only be able to access DIs and AO. The Modbus map is as follows:
        0 - AO value r/w
        1 - DI value bitfield ro
        2 - DI1 counter r/w lower 16 bits
        3 - DI1 counter r/w upper16 bits
        4 - DI2 counter r/w lower 16 bits
        5 - DI2 counter r/w upper16 bits
        .....
        24 - DI12 counter r/w lower 16 bits
        25 - DI12 counter r/w upper 16 bits

        It might be best to see how it works with Mervis, which uses this very Modbus scheme to communicate with UniPi 1.1. You can try it out for free, simply download our MervisOS image under downloads/software/Mervis, along with the Mervis installer in the same folder. Only the cloud functionality requires a valid license.

        T 1 Reply Last reply
        Reply Quote 0
        • T
          tvleminc @TomasKnot
          last edited by

          Ok thx !

          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