Migrating to the latest version of Mervis from 2.0.10
-
So it has been a while since I last updated my UniPi but was going round updating various machines and wanted to migrate to the latest version.
I cannot however, get the digital inputs to be either found or recognised, in debug mode they always come back as false. I have tried the old solution, a brand new solution etc. but nothing wants to pick them up. The relays and temperature gauges work fine and get read and can be set (via a NOT) however I can't seem to pick them up so my code won't work.
My code is simple in that when a couple of inputs go high they should flip the relay. It has been working fine and reverting back to the original uSD card image works fine.
I assume it is something to do with the pull up\down resistor setting but I can't see anyway of setting it properly.
Hardware is a Pi 2 and UniPi 1.1
Installed the latest version of the OS Image on as well as the RT.
Any ideas please?
-
I thought it might have been a lack of IP address in the TCP Modbus connector so did a rebuild.
However, it started working before I changed it so perhaps the install did not complete correctly the first time around. Oh well, a somewhat frustrating amount of time wasted :)
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