Problem with running Evok on Unipi 1.1 + RPI4
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?
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,
Hi @Martin-Kudláček ,
Of course, here you go:
(the text was too large to paste into the forum)
Please let me know if you need more details.
Hi @Martin-Kudláček , did you have a chance to look at the details?
I have replied you on your email - please provide us with more info. Then, I copy the right solution to this topic.
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.