Home Assistant Device Bridge question

I'm using the device bridge to import a constantly changing voltage level into Hubitat to use as a trigger. No issues there but I have an unexpected problem with this filling up the logs with this constantly changing voltage.

Is there a way to disable device data incoming from Home Assistant from showing up in the logs? I have Enable descriptionText logging set to off in this device's settings. Any suggestions on what the Event history size, State history size and Too many events alert threshold could be set to to minimize this device from blowing up the log file?

Thanks.

Normally turning off "Enable descriptionText logging" in the device's preferences should prevent logging these events.

HADB use the built-in generic component for voltage. Perhaps there is an issue with that component.

I'm not seeing any problems with the driver code. Go to the "Preferences" tab and do a "Save" there (with the preference set to the correct value, so not enabled in the OP's case) just to make sure the intended value is saved. It should be on unless you disabled it, which it sounds like you did, but if you didn't and it just appears to be off instead, maybe something else happened.

The driver would also be good to mention for you. I'm looking at Generic Component Voltage Sensor.

4 Likes

I did some testing and turning off the setting does prevent logging voltage with the component used by HADB.

3 Likes

I went to the preferences tab, enabled the DescriptionText logging and did a save. Then went back and toggled it to the left and did a save. Below is the log. The bottom half of the log is with the toggle to the right(true?). The top half is with it toggled to the left(false).

I am using the Generic Componet Voltage Sensor.

The actual device is a Shelly Uni.

Dev:1050 is the HADB voltage device. And as your logs are showing, the description no longer appears for that device. You still get logs from an APP (1155) which is not HADB.

If you click on the grey info button, you should get to that app and be able to find out if the app logging can be disable.

2 Likes

Good catch ymerj.

I paused that app and it stopped. I resumed the app but unchecked Events from logging and now things are good.

I was looking at this issue from the wrong perspective. Sometimes and extra set of eyes and a brain is all that is needed.

Once again thanks everyone.

3 Likes