Skip to content

Log spamming when battery goes offline #1

Description

@dsiebel

When the battery goes offline, the extension keeps spamming the log, because it is unable to connect to it:

2026-02-03 23:50:05.623 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())
2026-02-03 23:50:12.628 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())
2026-02-03 23:50:19.631 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())
2026-02-03 23:50:26.634 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())
2026-02-03 23:50:33.637 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())
2026-02-03 23:50:40.641 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())
2026-02-03 23:50:47.645 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())
2026-02-03 23:50:54.649 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())
2026-02-03 23:51:01.651 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())
2026-02-03 23:51:08.656 ERROR (MainThread) [custom_components.p200.tcp_client] ('connect to 192.168.150.205 8000:  %s', TimeoutError())

This happens every 7 seconds, resulting in a ton of log entries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions