I've been using Hubitat for a few years and in general, it works fine but every time something goes wrong, (which is inevitable with any home automation system) it's very difficult to troubleshoot because the logging is... well... not awesome. I'm an operations engineer in tech so I deal with logs every single day. Good logging and bad logging makes all the difference when troubleshooting an issue.
I'd say, at a very high level, there's two things we generally care about when something goes wrong:
Every other home automation system I've used follows these general concepts for logging and they can be found in the same place.
9 times out of 10, the typical troubleshooting flow goes something like:
- X was supposed to happen but didn't
- Check the log to see if the trigger occurred
- Troubleshoot from there
Now I could be wrong, but from what I can tell, triggers, events and other things that happen aren't logged in the logging area.
A simple example of this would be a rule that turns a light on at sunset. Normally, you would expect the home automation log to show 3 things:
- Sunset occurred
- The rule was run
- The device was turned on
I could be wrong here, but I only see item #3 in the log.
Events for rules can be found in the rule object itself... but only if you manually turn on logging for that particular rule. Why? Why wouldn't logging for everything that happens just be enabled by default if only at a basic level? I understand if verbose logging is not always enabled but why wouldn't basic event logging be enabled for each rule and sent to the main Hubitat log? Why is the Hubitat log for device events only?
Correct me if I'm wrong on any of this but dang, this system is hard to troubleshoot.