-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[netatmo] Add support for favorite stations #8020
Comments
Interesting. Will you provide a PR ? |
This silence probably means you will not. I will try in this case. |
It works. We just have to find an appropriate naming for the discovered things (stations and modules) to avoid confusion between the local weather station and the favorite weather stations. |
@lolodomo Are still working on it? Otherwise I would suggest that I add the station_name to the thing name and something like "(fav)" as you suggested. Would that be good enough to merge it to 2.5.7 or later? It seems that the station name contains the city of the station when the user hasn't setup a station name, that could help some users to identify/differ the stations. I requested also that the street name should be available via the Netatmo forum but I don't know if and when it will be available... The street name seems to be the best / one and only criteria to differ the stations it is also used at the weathermap. |
I let you finish the enhancement, you were the first to propose a PR. |
I join you @lolodomo , adding favorite stations on Netatmo website is already a deliberate action, so no need of a dedicated option FMPOV |
The pull-request is now updated. The naming logic was extended and the dedicated option is removed again. See #8112 (comment) |
Closes openhab#8020 Closes openhab#8111 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com> Signed-off-by: CSchlipp <christian@schlipp.de>
Closes openhab#8020 Closes openhab#8111 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com> Signed-off-by: MPH80 <michael@hazelden.me>
Closes openhab#8020 Closes openhab#8111 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Closes openhab#8020 Closes openhab#8111 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Closes openhab#8020 Closes openhab#8111 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Closes openhab#8020 Closes openhab#8111 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Closes openhab#8020 Closes openhab#8111 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com> Signed-off-by: Daan Meijer <daan@studioseptember.nl>
Closes openhab#8020 Closes openhab#8111 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Since pull request #7912 updated the netatmo-swagger-decl reference a few days ago, it is now also possible to request a user's favorite weather stations in addition to their own. This is useful for example when a user doesn't own a Netatmo device, but they want to read outdoor temperatures and get weather data from their neighborhood.
The required change is simple: In class
NetAtmoBridgeHandler
, methodgetStationsDataBody(String)
, change the lineto
(i.e. set the parameter
getFavorites
of the method call togetstationsdata(String, Boolean)
to true.The text was updated successfully, but these errors were encountered: