Close

It works, completely

A project log for Smart switch for hubless smart bulbs

A switch to turn on, off, and dim hubless smart bulbs

seanSean 03/28/2019 at 08:110 Comments

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