@Hdg The “[1] 30218” thing shows that the python script is running in the background, and I see the instructions on how to run it as a crontab job. It looks a little confusing – but I think this guide should help you:
First we need to get rid of the background process, as we don’t need it interfering with the next few steps
sudo killall python
I’m assuming you’re in the home directory of Umbrel (it should say umbrel@umbrel:~ $
) if you’re not in it, you can do cd ~
Let’s clean up the folder just in case.
sudo rm -rf ./x-c1/
Now you can copy and paste from this step by step:
sudo apt update && sudo apt upgrade -y
sudo apt install pigpio python-pigpio python-smbus python3-pigpio wiringpi git -y
git clone https://github.com/geekworm-com/x-c1.git
cd x-c1
sudo chmod +x *.sh
sudo bash install.sh
sudo reboot
When it reboots, then the fan should start running, if not – then it needs the crontab job to be added:
sudo select-editor
Choose nano, I’m assuming it is 1
sudo crontab -e
Use the arrow keys on your keyboard to scroll down all the way to the bottom
If you have any other crontab jobs that you put in, you can remove them.
Copy and paste the line below on the very bottom of the crontab:
@reboot python /home/umbrel/x-c1/fan.py
Save and exit by pressing CTRL+O (letter o, not zero) then press CTRL+X
then reboot it once again (sudo reboot
), it should start running the fan.
I really hope this works, as after reading that set of instructions I can see why it’s confusing.