homeassistant-fullykiosk icon indicating copy to clipboard operation
homeassistant-fullykiosk copied to clipboard

Integration is spamming HA log if a device isn't available

Open derandiunddasbo opened this issue 3 years ago • 1 comments

The integration is spamming the HA log every 30 seconds with an error message, if a device isn't available or if FKB isn't currently running on the device:

2021-09-06 14:38:58 ERROR (MainThread) [custom_components.fullykiosk.coordinator] Error fetching Galaxy-Tab-A-DG.dieweide deviceInfo data: Cannot connect to host galaxy-tab-a-dg.dieweide:2323 ssl:default [Connect call failed ('192.168.4.48', 2323)]

Would it be possible to only write this error once when the device becomes unavailable and suppress these errors until it becomes available again?

derandiunddasbo avatar Sep 06 '21 13:09 derandiunddasbo

I’m trying to figure out what causes them not to respond. Is it a particular setting as I leave my wall mounted tablets on 24x7 (as well as router) and they are kept powered and thus are are always available. This integration makes more noise in my logs with errors than anything.

Maybe a setting to limit messages to 1 per xx seconds (so I could set to 1 per 3600 (hour) say)…

dsegantx avatar Feb 05 '22 13:02 dsegantx