Is there a way to disable the automatic debug logging turning off after 30 minutes?
I have a Chormecast Google Home JBL Link 20 Speaker, that I've been having a clicking noise that starts completely randomly (sometimes days, sometimes hours apart), there is nothing in the general logs that show anything happening during the time at which the clicking noise starts. The only way to get the clicking noise to stop is power cycling the device, or saying something that initiates a long response from "Hey, Google"
Aside from the fact that even with my Chromecast app currently "disabled" the speaker still announces TTS when rules tell it to. I try to turn debug logging on when the clicking noise is already occurring and I'm not seeing anything logged.
I would like to leave this debug logging on this device to see if anything might be logged when the clicking noise starts, but this may be hours between occurrences and not within the 30 minute window, so currently this isn't possible.
No, this is an automatic timer shut down of debug logging.
We'll have to scratch our heads a bit about what might be done to allow it to stay on. Although, I somewhat doubt you will discover anything from the logs.
You're probably correct, I've tried troubleshooting what's causing this with the tools I have available. It's possible the device just may be defective. It's the randomness that has me completely stumped on it though.
For example, I've been letting it click for over an hour now seeing if it would turn itself off eventually. Just had a TTS come through from a rule running, and now the clicking stopped.
No, the only other "google home" device I have is using the Sonos Integration. Which doesn't have this issue, although there is an occasional random beep sound (the one that google homes make when you say the wake word) but that could be false triggering.
This issue from the JBL Link 20 Google home is like a Metronome clicking every second.
We've never seen a need for it. You can turn them back on easily enough. Debug logs can be very verbose, and just fill logs with lots of uninteresting stuff.
My Google home mini does this too, none of my real Chromecast devices do this...
You won't get any clue to this issue with driver debugging as the issue is hapening on the hardware side, for all I know it's an unknown handled exception of some sort...
At least I'm not alone, it's driving me crazy as it just started this about a month and half to 2 months ago, and never seen it before for the first 3-4 months using this on HE.
So does that mean it's not fixable? As I'm at the point to trash the device, but I'd rather keep using it.
It's not a click made from an audio file, it's not intentional. It's the same sound you would get when initially connecting a battery to a small speaker...
Thats why I think it's actually an internal reset of some sort.
This topic is referencing the standard Hubitat method of disabling Debug messages after 30 mins.
Standard Hubitat drivers have embedded 'log.debug' statements that only output to logs when Enabled. However, the action of clicking 'enable' starts a 30 minute timer that then disables.
The OP was asking if there's a way to extend the time because his 'problem' was taking more than 30 mins to appear.
Your screen capture shows the 30 min timer scheduled for the future.