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

    Problem with running Evok on Unipi 1.1 + RPI4

    Official EVOK API
    3
    6
    130
    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áček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        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 administrators 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 administrators 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
                • First post
                  Last post