Hi, After you install it correctly, you don't need to re-run fan.py commands

You can run the following command to found it: cat /etc/rc.local

'python3 /home/pi/x-c1/fan.py &' this is the fan running command