Giter VIP home page Giter VIP logo

Comments (8)

ricki-z avatar ricki-z commented on July 22, 2024 1

Some of the HomeAssistant clients are requesting the same data dozens of times in a short amount of time. So only a small amount of these clients is creating more requests than all the other clients. Thats why we are blocking versions 0.84.x.

from feinstaub-api.

ricki-z avatar ricki-z commented on July 22, 2024 1

These are NOT individual offenders. Its a known bug oft the Luftdaten plugin used with newer versions oft HomeAssistant. The plugin is creating new sensor instances on every new start of the HomeAssistant server.
So its an offensive software version we are blocking.

from feinstaub-api.

iliyan-s-petkov avatar iliyan-s-petkov commented on July 22, 2024

That is a valid reason to try to restrict the request rate in a short term, but perhaps there are more optimal ways to throttle or block individual offenders instead.

from feinstaub-api.

iliyan-s-petkov avatar iliyan-s-petkov commented on July 22, 2024

I understand. Thanks.

from feinstaub-api.

jensihnow avatar jensihnow commented on July 22, 2024

Hi,

if this is a known bug do you have the reference for the fix?

Is the bug in the Home Assistant component (https://github.com/home-assistant/home-assistant/tree/dev/homeassistant/components/luftdaten) or the wrappen lib (https://github.com/fabaff/python-luftdaten)?

I wonder if it actually is being fixed or not and the next version will be delivered with the same exact issue.

from feinstaub-api.

ricki-z avatar ricki-z commented on July 22, 2024

A simple Google search for "homeassistant luftdaten creating new instances" shows the thread as the first result: home-assistant/core#18838

from feinstaub-api.

jvanderneutstulen avatar jvanderneutstulen commented on July 22, 2024

These are NOT individual offenders. Its a known bug oft the Luftdaten plugin used with newer versions oft HomeAssistant. The plugin is creating new sensor instances on every new start of the HomeAssistant server.
So its an offensive software version we are blocking.

@ricki-z This is fixed in HA 0.87

from feinstaub-api.

jensihnow avatar jensihnow commented on July 22, 2024

Fix is documented on home-assistant/core#20226

from feinstaub-api.

Related Issues (13)

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.