https://wiki.geekworm.com/X735_V2.5_Software
Having issues with installing on dietpi
Getting this error
sudo bash install.sh
2021-08-02 21:12:06 initInitialise: Can’t lock /var/run/pigpio.pid
Can’t initialise pigpio library
Any ideas?
https://wiki.geekworm.com/X735_V2.5_Software
Having issues with installing on dietpi
Getting this error
sudo bash install.sh
2021-08-02 21:12:06 initInitialise: Can’t lock /var/run/pigpio.pid
Can’t initialise pigpio library
Any ideas?
What user you use to install your software. As well some more information on your SBC. Which architecture you are using? 32 or 64 bit.
Root and 32 bit
From install.sh
USER_RUN_FILE=/home/pi/.bashrc
You will need to create a user named pi on the device…
or you could change it to
USER_RUN_FILE=/home/dietpi/.bashrc
You did ensure you installed the prerequisites right?
sudo apt-get install python-smbus
sudo apt-get install pigpio python-pigpio python3-pigpio
You will need to create a user named pi on the device…
or you could change it to
USER_RUN_FILE=/home/dietpi/.bashrc
>
That would mean to start installation as user dietpi :slight_smile:
That works I added a cronjob under dietpi will that run every time dietpi starts?
It depends how the cron job has been setup.
@reboot python /home/dietpi/x735-v2.5/pwm_fan_control.py
You should specify full path to the python executable
Sorry you lost me?
Hi you have written @reboot python but you would need to specify full path to python executable like @reboot /path/to/python.
You could find your python executable like which python