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

    UniPi 1.1 communicates with external Rpi

    UniPi 1 - First Generation
    2
    2
    448
    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.
    • C
      CKB last edited by CKB

      Hi,

      I wonder if anyone ever tried to build up a communication between a unipi and a raspberry pi?
      As I have a lack of digital ins on my unipi I would like to use the raspberry's GPIOs to forward a switch action to the unipi.

      I already have two unipis which communicate over sscp, but I have no idea if and how this can be done with the raspberry.

      Any ideas?!

      Cheers
      CKB

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček @CKB last edited by

        Hi @ckb,
        if you use Mervis on UniPi 1.1, then you have practically no other option other than to use ModbusTCP. On the RaspberryPi you can create a Python script utilizing the pymodbus library and program the logic in a way the DIs and ROs are mapped to the coils and AO/AI are mapped to registers.

        Best regards,
        Martin

        1 Reply Last reply Reply Quote 0
        • First post
          Last post