UniPi 1.1 communicates with external Rpi
-
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 -
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
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