Newbie - Android -logging

Is there a way to display hub activity to the Android Hubitat app. I have installed a dashboard but can't figure out how to watch rules in execution.

Logs are only accessible from the hub's admin interface. The easiest way to do that is to use any web browser and navigate to your hub's IP address, or use findmyhub.hubitat.com if you are not sure what that is.

While it's probably best on a desktop (or laptop or tablet), it's usable on a phone, too. And while you don't need the mobile app for this at all (and I wouldn't suggest it), you can get there by tapping your hub name at the top of the "Home" tab (house icon) and selecting "Connect to hub." More steps and more UI in the way to get to the same place you can get there without, but that doesn't stop anyone. :slight_smile:

A better question might be: what are you trying to look for? This is great for administration or testing, but it's not normally something you'd need for regular operation. If there is something you need to see on an ongoing basis, something else might be more appropriate, so explaining more could help.

Hope this helps!

1 Like

Good afternoon.
I want to look at the logs so I can .... look at the logs to see what is going on. I am new to Groovy and to Hubitat so I anticipate the time when the rule I am working on does not work. Looking at the log will tell me what is really going on, as opposed to what I think should be going on.

Thanks for the suggestions, it may be time to dust off the laptop.

bill

Maybe I wasn't clear: what, specifically, are you looking for? For example, you could say that you are looking to see device events (contact sensor opened or closed, etc.), logs from an app (such as Basic Rule or Room Lighting), or whatever the particular concern is. Logs are the only place for something like, well, actual log entries, but there are other ways to see some of these things, so knowing more would be helpful if this isn't what you were hoping for.

Are you writing custom app or driver code? If not, you don't need to know Groovy (and while it can be fun, I don't think I'd start there if you're new!). If you are, a desktop or laptop is certainly better for that, but I suppose the fact that Logs are easy to view there is a nice side bonus. :slight_smile:

2 Likes

Thank you for your insights. Yes, what I want to see is Hubitat's response to an event so I can understand how the rule is responding (as different from how I think it should be responding.

--
bill

From a rule, you can send a push message to your cell phone. I'm not sure if this is what you want, but it is easy to do.

Thanks Kevin.

In order to make sure the data you're interested is properly logged, you may need to go into each of the devices one by one, and "Enable Descriptive Logging" so that they log status change events to the Hub's Logs.

Also, if your using Rule Machine for your Automations, you'll need to make sure that the Logging is enabled on each rule of interest as well. Many other apps also offer logging features that may need to be enabled/disabled as the user sees fit.

While debugging an automation, having logging enabled is quite useful. However, logging everything all of the time may make finding what you're trying to focus on a bit challenging in the logs. I personally disable all logging from devices and apps once I am happy with their performance. YMMV, of course!