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

    Problem with running Evok on Unipi 1.1 + RPI4

    Scheduled Pinned Locked Moved Official API - Evok
    6 Posts 3 Posters 2.0k Views 1 Watching
    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.
    • M
      marioverhaeg
      last edited by

      I have an issue with the RP4 and UniPi 1.1. The UI doesn't show the inputs and relays. The 1Wire sensors are there sometimes. When I enable debug logging I see the following errors:
      2021-09-17 21:22:32,669 - evok - ERROR - Error in config section DI_12 - Invalid device circuit number 1
      Traceback (most recent call last):
      File "/opt/evok/config.py", line 306, in create_devices
      bus = (Devices.by_int(GPIOBUS, gpiobus)).bus_driver
      File "/opt/evok/devices.py", line 68, in by_int
      raise Exception('Invalid device circuit number %s' % str(circuit))
      Exception: Invalid device circuit number 1

      Any suggestions on how to fix this?

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

        Hello @marioverhaeg,
        I moved the discussion to separate thread. Can you please post:

        • contents of /etc/evok.conf
        • result of dpkg -l | egrep "raspberrypi|evok|unipi|python"

        Thank you and have a nice day,
        Martin

        1 Reply Last reply
        Reply Quote 0
        • M
          marioverhaeg
          last edited by

          Hi @Martin-Kudláček ,

          Of course, here you go:
          https://www.marioverhaeg.nl/wp-content/uploads/2021/09/dkpg.txt
          https://www.marioverhaeg.nl/wp-content/uploads/2021/09/evok.txt
          (the text was too large to paste into the forum)

          Please let me know if you need more details.

          Kind regards,
          Mario

          1 Reply Last reply
          Reply Quote 0
          • M
            marioverhaeg
            last edited by

            Hi @Martin-Kudláček , did you have a chance to look at the details?

            1 Reply Last reply
            Reply Quote 0
            • M
              martin_triska
              last edited by

              Hello @marioverhaeg,

              I have replied you on your email - please provide us with more info. Then, I copy the right solution to this topic.

              1 Reply Last reply
              Reply Quote 0
              • M
                martin_triska
                last edited by

                The issue was caused by a combination of 64bit Linux kernel and bundled pigpio subsystem (used for peripheral access). After pigpio updating, Evok works on a 64bit platform properly. This change will be part of the next release.

                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