8000 Weather forecast spam for a Dutch herring fast food shop · Issue #48730 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Weather forecast spam for a Dutch herring fast food shop #48730
Closed
@geira

Description

@geira

The problem

While generating a heatmap of locations used on api.met.no weather forecast, we found a couple of hotspots with significantly more traffic than the rest of the world. One of these are coming from 5250 different ip addresses around the world, all running HomeAssistant. Together these generate 6800+ requests per hour for lat=52.3731&lon=4.8903, which is a herring snack bar on Raadhuisstraat in Amsterdam called Haring & Zo.

Now, I can think of no reason why users in Singapore should be checking the weather for Amsterdam 3 times per second unless there is a default location hardcoded somewhere in the HA code. I have tried searching the core source code for these coordinates but have found nothing. Since all these requests are a) unnecessary and b) screw up our statistics it would be nice if you could find the bug or alternatively filter out the spam.

I have checked the logs, and the problem seem to be present in 100+ different versions. The following are the ones generating the most spam:
8867 "HomeAssistant/2021.3.4
2498 "HomeAssistant/2021.2.3
1630 "HomeAssistant/2021.1.5
650 "HomeAssistant/2020.12.1
640 "HomeAssistant/2021.1.4
616 "HomeAssistant/2021.3.3
531 "HomeAssistant/2021.3.2
385 "HomeAssistant/2020.12.2
374 "HomeAssistant/2021.2.1
371 "HomeAssistant/0.116.4
309 "HomeAssistant/2021.1.1
302 "HomeAssistant/0.114.4

Feel free to contact us on weatherapi-adm@met.no for more information.

What is version of Home Assistant Core has the issue?

2021.3.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

met

Link to integration documentation on our website

https://www.home-assistant.io/integrations/met

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0