Skip to content
Get 5% off your entire order with a minimum purchase of $30 – automatically applied at checkout ! Black Friday Exclusive Deals Await!
Need to Manually Start Fan Each Boot | Geekworm

Need to Manually Start Fan Each Boot


  • Evertime I reboot my Pi incased in the X-C1 I need to run the blow steps in order to get the fan to run:

    1. sudo killall pigpiod
      1. Must run or I will get an error when I try and  run python ./x-c1/fan.py &
    2. sudo pigpiod
    3. python ./x-c1/fan.py &

    What can I do to get the fan to run on boot and not have to run those commands each time?



  • @Nathan Dilgard 

    Hi, Thanks.

    Which OS?

    Or you can place the following line in the /etc/rc.local

    sudo pigpiod

    python ./x-c1/fan.py &

    or use the another method: How to add crontab job

     


Please login to reply this topic!