I am trying to set up the Fan SHIM service, but am running into a bit of an error (see below). Any help would be appreciated.
Some background… this is a Pi 4 with 2GB of RAM, running Volumio as the operating system, which is based on raspbian jesse. Initially, it only had python2.7, so I had to install python3 in order to run the Fan SHIM software. It does say that the debug log for the failure is in /root/.pip/pip.log, but that doesn’t seem to exist. The service does install, but fails to start.
Error follows…
Cleaning up…
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-3rkv40r8/psutil
Storing debug log for failure in /root/.pip/pip.log
Installing service to: /etc/systemd/system/pimoroni-fanshim.service
● pimoroni-fanshim.service - Fan Shim Service
Loaded: loaded (/etc/systemd/system/pimoroni-fanshim.service; enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2020-08-08 16:12:44 EDT; 14ms ago
Process: 7940 ExecStart=/usr/bin/python3 /home/volumio/fanshim-python/examples/automatic.py --on-threshold 50 --off-threshold 45 --low-temp 45 --high-temp 50 --delay 2 --brightness 255 (code=exited, status=1/FAILURE)
Main PID: 7940 (code=exited, status=1/FAILURE)
Aug 08 16:12:44 rpi41w-vo systemd[1]: Unit pimoroni-fanshim.service entered failed state.
volumio@rpi41w-vo:~/fanshim-python/examples$ ls
automatic.py button.py install-service.sh led2.py led.py manual.py README.md toggle.py
volumio@rpi41w-vo:~/fanshim-python/examples$ sudo systemctl status pimoroni-fanshim.service
● pimoroni-fanshim.service - Fan Shim Service
Loaded: loaded (/etc/systemd/system/pimoroni-fanshim.service; enabled)
Active: failed (Result: start-limit) since Sat 2020-08-08 16:12:45 EDT; 2min 30s ago
Process: 7966 ExecStart=/usr/bin/python3 /home/volumio/fanshim-python/examples/automatic.py --on-threshold 50 --off-threshold 45 --low-temp 45 --high-temp 50 --delay 2 --brightness 255 (code=exited, status=1/FAILURE)
Main PID: 7966 (code=exited, status=1/FAILURE)
Aug 08 16:12:45 rpi41w-vo systemd[1]: Unit pimoroni-fanshim.service entered failed state.
Aug 08 16:12:45 rpi41w-vo systemd[1]: pimoroni-fanshim.service holdoff time over, scheduling restart.
Aug 08 16:12:45 rpi41w-vo systemd[1]: Stopping Fan Shim Service…
Aug 08 16:12:45 rpi41w-vo systemd[1]: Starting Fan Shim Service…
Aug 08 16:12:45 rpi41w-vo systemd[1]: pimoroni-fanshim.service start request repeated too quickly, refusing…tart.
Aug 08 16:12:45 rpi41w-vo systemd[1]: Failed to start Fan Shim Service.
Aug 08 16:12:45 rpi41w-vo systemd[1]: Unit pimoroni-fanshim.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.