-

CommentStreams:96493e2d70c54f07ef552eb973bb4ff3

From Geekworm Wiki
< X-C1 Software
Revision as of 16:10, 25 August 2021 by 95.90.237.106 (talk) (Migrated comment #1805)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I have the script installed on a Raspbian Lite headless server. I added the crontab job as detailed below, but the fan doesn't come on when the machine is booted. I tried to test the script by running it directly with:

python /home/pi/x-c1/fan.py

however I get the error:

Did you start the pigpiod daemon?

I am only able to get the python script running if I manually kill the pigpiod daemon and restart it.

How can I fix this? Its annoying to have to remember to kill the daemon, restart it, and then manually start the script each time I reboot my server.