Giter Site home page Giter Site logo

Comments (4)

RobBie1221 avatar RobBie1221 commented on August 13, 2024 1

Thanks for adding the logging!

That's indeed a bug in the new code, I'll create an update for this today.

from ha-nefiteasy.

RobBie1221 avatar RobBie1221 commented on August 13, 2024 1

Fixed in 0.4.2

from ha-nefiteasy.

arjanvdnoort avatar arjanvdnoort commented on August 13, 2024 1

Thanks @RobBie1221. Until now, the problem was not seen anymore after installing 0.4.2.
I noticed one-time a "Timeout fetching nefiteasy data" error, but that was no longer resulting in an endless reconnect.
So, looks fine.

part of debug log after update to 0.4.2:
2024-01-26 12:53:08.228 DEBUG (MainThread) [custom_components.nefiteasy] Finished fetching nefiteasy data in 1.573 seconds (success: True)
2024-01-26 12:54:17.656 ERROR (MainThread) [custom_components.nefiteasy] Timeout fetching nefiteasy data
2024-01-26 12:54:17.656 DEBUG (MainThread) [custom_components.nefiteasy] Finished fetching nefiteasy data in 9.002 seconds (success: False)
2024-01-26 12:55:26.658 DEBUG (MainThread) [custom_components.nefiteasy] Finished fetching nefiteasy data in 9.003 seconds (success: False)
2024-01-26 12:56:28.222 INFO (MainThread) [custom_components.nefiteasy] Fetching nefiteasy data recovered
2024-01-26 12:56:28.223 DEBUG (MainThread) [custom_components.nefiteasy] Finished fetching nefiteasy data in 1.567 seconds (success: True)
2024-01-26 12:57:30.248 DEBUG (MainThread) [custom_components.nefiteasy] Finished fetching nefiteasy data in 1.593 seconds (success: True)

from ha-nefiteasy.

arjanvdnoort avatar arjanvdnoort commented on August 13, 2024

Hello @RobBie1221, Unfortunately the issue is not solved. Still having the issue when a Unexpected disconnect is occuring.
Only way to ovecome the problem is reloading the component (or restart HA)

part of debug log after update to 0.4.2:
2024-01-29 23:10:45.188 DEBUG (MainThread) [custom_components.nefiteasy] Finished fetching nefiteasy data in 1.580 seconds (success: True)
2024-01-29 23:11:45.614 DEBUG (MainThread) [custom_components.nefiteasy] Unexpected disconnect of 560956267 with Bosch server. Try to reconnect..
2024-01-29 23:11:54.613 ERROR (MainThread) [custom_components.nefiteasy] Timeout fetching nefiteasy data
2024-01-29 23:11:54.613 DEBUG (MainThread) [custom_components.nefiteasy] Finished fetching nefiteasy data in 9.003 seconds (success: False)
2024-01-29 23:12:54.607 DEBUG (MainThread) [custom_components.nefiteasy] Starting reconnect procedure.
2024-01-29 23:12:54.608 DEBUG (MainThread) [custom_components.nefiteasy] Start connecting.
2024-01-29 23:12:54.608 DEBUG (MainThread) [custom_components.nefiteasy] Waiting for connected event.
2024-01-29 23:12:54.613 DEBUG (MainThread) [custom_components.nefiteasy] Connected successfully.
2024-01-29 23:12:54.615 DEBUG (MainThread) [custom_components.nefiteasy] Finished fetching nefiteasy data in 0.008 seconds (success: False)
2024-01-29 23:13:54.607 DEBUG (MainThread) [custom_components.nefiteasy] Starting reconnect procedure.
2024-01-29 23:13:54.607 DEBUG (MainThread) [custom_components.nefiteasy] Start connecting.
2024-01-29 23:13:54.607 DEBUG (MainThread) [custom_components.nefiteasy] Connection procedure is already running.
2024-01-29 23:13:54.607 DEBUG (MainThread) [custom_components.nefiteasy] Finished fetching nefiteasy data in 0.000 seconds (success: False)

from ha-nefiteasy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.