Close

Error handling!

A project log for Smart switch for hubless smart bulbs

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

seanSean 04/11/2019 at 01:470 Comments

Hey guys. So I've been thinking about my python code lately and I've realized that it really sucks. I understand now exactly why my script never seemed to work with rc.local or most other methods of auto starting. It throws exceptions like Kobe throws 3-pointers. Is Kobe still relevant? I don't watch sports. 

Anyways... what I really need is some error handling. I finally read up on handling errors in python and it's super convenient. I've made a new roadmap for my script with new, better loops and real error handling. I just need ten minutes or so to sit down and rewrite it. Maybe after the baby goes to bed. Once it's all updated, it should run better, look cleaner, and be able to start from rc.local!

Discussions