Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Feature request] Make the sensor data from the nearest station universal. #7

Open
andrewjswan opened this issue Aug 28, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@andrewjswan
Copy link

Make the sensor data from the nearest station universal.
If we select the "nearest station" option during setup, a sensor named sensor.nearest_xxx is created, and data from the nearest station is placed into it with each update.
What does this give us? For more than 4 years of using data from the Lun website, I have observed how stations disappear from time to time and return back, as a result, we will always have the most relevant indicators for the location of the house.
For example: The house is located on Yuzhnaya Borshagovka, at the time of setup, the nearest stations are turned off and we receive a sensor from a station in the city center (the AQI data is, one might say, not very accurate). After an hour or two or 10, data from a station located on a neighboring street begins to be published again, and our sensor automatically (without our intervention) receives data from this station.
As for manually selected (defined) stations, we leave everything as it was.

@denysdovhan
Copy link
Owner

This is a nice idea. I'll look into that. You are free to open a PR, if you feel comfortable implementing this kind of feature.

@denysdovhan denysdovhan added the good first issue Good for newcomers label Sep 20, 2024
@andrewjswan
Copy link
Author

#14

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants