-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Feature request] Support for call current weather data by city ID #36
Comments
The plugin actually uses the One Call API to retrieve the weather for latitude/longitude coordinates. The Weather API call is only made once, to get the coordinates for the location. You might be able to disambiguate the location by using As mentioned in #13, the issue is not so much using the city id (just need to do a different lookup call) or coordinates directly (no lookup needed), but more how to specify these in Could you try beta v2.5.6-0? It has a new
Also added a log message with the location, city ID, and coordinates.
And a check to filter duplicate locations when specifying both the location and city ID:
I think I should probably base the accessory ID on the city ID, rather than the location, but that would be a breaking change, causing HomeKit to see them as new, different accessories. |
I have just installed your new beta v2.5.6-0 and what can I say, it works perfectly only with the city ID! If you use city name and city ID, however, again another other location is used than the specified ID. It is now perfect for me as you have programmed it now, thank you very much for your efforts and the quick implementation! |
Support for calling current weather data by city ID instead of city name would be very nice.
Very often there are several same name of cities in different places, unfortunately there is no possibility to specify them exactly by name.
Information about call weather by city ID.
Thanks for your excellent plugins and the many extension and updates!
The text was updated successfully, but these errors were encountered: