My run on boot issues are a result of the script failing when it couldn't connect to the bulbs. I tried adding a timer before it connected in hopes that it would give other tasks time to initialize. No luck.
Eventually, I discovered daemontools. It automatically runs what you tell it to, but it will restart the script if it fails. Finally! Now all I have to do is give power to the pi and my switch works without any further setup. All that's left is printing the parts in white and putting it in the wall. I guess I should test my power supply first as well.
This project is almost complete!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.