Logs from devices like in Smartthings

I am looking to see where I can see what automation or app (action or trigger) turned on a device. I checked the events and logs but it doesn't tell me what triggered the event. Ex. In ST I was able to see that a specific Webcore piston turned on a light.

I am trying to troubleshoot an issue and it would be helpful if this detail was somewhere in HE.

It's up to the application code to log events or not.
Not all applications provide logging, if they do there is generally an option within the app to enable it

2 Likes

@bpgd486

To add to what @mike.maxwell said, the device page will indicate all the applications used by a particular device.

So the logging from Webcore when turned to medium for example will show up under devices > events?

those events are specific to devices and are produced by devices.
In general applications don't produce events, devices produce events, that's what makes Hubitat tick.
web core logging would be in Logs, devices can also produce logs...

I got that, makes sense. I was just comparing to ST I was able to look at the device events and see which smartapp triggered the device. Even with logging turned on I'm not seeing it under live or past logs. I was excepting it to be under the logging
/logs and while it shows changes it isn't showing piston executions.

Ex. In the event log
switch off Light - Floodlight Front - Left was turned off

Ex in /logs
dev:1272021-12-09 07:15:52.244 pm infoLight - Floodlight Front - Right colorMode is RGB
dev:1272021-12-09 07:15:52.240 pm infoLight - Floodlight Front - Right color is Blue

Hubitat doesn't show the source of the command, just what device or app created the log entry. At a platform level, it would actually be an interesting request to have some way to view a "log" of what apps sent what commands to which devices, which would help with narrowing this down, but nothing like that exists.

I don't think it did on SmartThings, either, but my memory of that is fading. I do see a "source" column for the device event history, but again I don't think that is necessarily commands, just events, and it always tells me "device" regardless of whether I do it from the ST app or with an automation, so I'm not sure of its use. That was just my testing quick...maybe someone who still uses the platform can say more.

1 Like

But you can look in the device driver panel at what apps rules ie automations use a given device. That narrows it down.

I just used it to figure out why all my alexas suddenly said "speak" lol

It was a rule I cloned and never filled in the.Alexa say this part. Fyi if blank.it says speak.

What do you mean? I didn't see this when using Webcore.