technicalpickles / picklehome

Configuration & Planning for my Home Automation systems
14 stars 0 forks source link

Routine checkups #62

Open technicalpickles opened 6 years ago

technicalpickles commented 6 years ago

I've been having trouble with some of my automations not firing, particularly around sun triggers. I saw a talk at RailsConf 2018 about The Doctor Is In: Using checkups to find bugs in production

The idea is this: schedule 'checkups' regularly, either on some schedule (like cron) or after events are triggered. Those checkups can try to assert a particular state, and if they aren't right, log it (ie report it as an error to something like rollbar), and optionally, if there's a known fix, try to fix it.

Some ideas I've had so far: