Giter Site home page Giter Site logo

Comments (8)

Phontana avatar Phontana commented on August 18, 2024 1

Had the same issue today. It turned out the Zonneplan API was offline or having issues, because I noticed the Zonneplan app was not working either. I was just able to te-authenticate and now it works again.

Is it the case that the integration thinks that te-authentication is needed when Zonneplan API throws an error?

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024 1

Yes, currently every ClientResponseError results in a new authentication flow. Will change that so this only happens on status 401

from home-assistant-zonneplan-one.

Phontana avatar Phontana commented on August 18, 2024

Deleting and adding the integration again fixed the issue for now, but it still looks like a stability issue in this integration.

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024

Strange, response 422, message='Unprocessable Content' implies that the request was invalid. Token format incorrect or something.

Had last month also a few times that I needed to re-authenticate but that went okay without any issues.

Maybe we should also clear the token to force re-authentication when a 422 code is returned.

from home-assistant-zonneplan-one.

Phontana avatar Phontana commented on August 18, 2024

I had the same experience, had to re-authenticate a few times which eventually seemed to lead to this error. Since deleting and adding the integration again fixed it, I think clearing the token would have the same effect.

from home-assistant-zonneplan-one.

erno1978 avatar erno1978 commented on August 18, 2024

Same issue here. It keeps nagging about a wrong e-mail address for sending the link. But it did work for several days...

from home-assistant-zonneplan-one.

erno1978 avatar erno1978 commented on August 18, 2024

Thanks @fsaris! My issue resolved itself automatically, but it's great to see that you keep improving it. I'm a happy user! Keep up the good work!

from home-assistant-zonneplan-one.

fsaris avatar fsaris commented on August 18, 2024

resolved in https://github.com/fsaris/home-assistant-zonneplan-one/releases/tag/0.0.10

from home-assistant-zonneplan-one.

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.