Feature Request: Support OpenWeather City ID as an Alternative to Coordinates
还没有人认领这个 Issue。
评估
调研方向
Start by locating the weather configuration and the code that builds the OpenWeather request; the issue names WeatherLatLong and the /data/2.5/weather endpoint but no files or tests. Check how existing configuration is documented and tested. Done when an optional WeatherCityId selects the ID-based request while existing coordinate-based configurations continue to work.
由索引模型根据 Issue 内容生成。
描述
Description
It would be great if ImmichFrame could support configuring the weather location using an OpenWeather City ID in addition to the existing latitude/longitude option.
Use Case
When using coordinates, the OpenWeather API sometimes returns the name of a nearby town instead of the actual municipality where the coordinates are located. Although the weather data itself is correct, the displayed location name can be misleading.
Details
For example:
Coordinates: 47.7628, 19.5409
Actual location: Erdőtarcsa, Hungary
OpenWeather response: "name": "Héhalom"
Using the OpenWeather City ID (for example, 7284908 for Erdőtarcsa) would ensure that the intended location name is displayed consistently.
Proposed solution
Add an optional configuration value, for example:
WeatherCityId: 7284908
If WeatherCityId is set, ImmichFrame could query:
/data/2.5/weather?id=
Otherwise, it would continue using the existing coordinate-based request (WeatherLatLong), maintaining full backward compatibility.
This would provide users with a reliable way to display the correct location name while preserving the current behavior for existing configurations.
Thanks for considering this feature!
Pre-Submission Checklist
-
This is a feature request and not a bug report
-
I have checked for related issues and checked the documentation
- 主要语言
- C#
- 星标
- 2.4k
- 派生
- 121
- 平均合并
- 18 天 20 小时
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
immichFrame/ImmichFrame 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
immichFrame/ImmichFrame#735 ·
-
bug
难度 4/5 3-5 天 新手友好度 56/100
immichFrame/ImmichFrame#733 ·
-
难度 3/5 1-2 天 新手友好度 76/100
immichFrame/ImmichFrame#732 ·
-
难度 2/5 1-3 小时 新手友好度 22/100
immichFrame/ImmichFrame#731 · 1 个 reaction ·
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
immichFrame/ImmichFrame#729 ·
查看 immichFrame/ImmichFrame 的全部 Issue
相似的 Issue
-
Feature needs response
难度 2/5 1-3 小时 新手友好度 70/100
Adyen/adyen-dotnet-api-library#1907 ·
维护者通常 5 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
dimitar-radenkov/Pointframe#318 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
DotHarness/dotcraft#546 ·
维护者通常 1 天内回复
-
a-corriger bug
难度 2/5 1-3 小时 新手友好度 78/100
christian-raj/S-Aloha#303 · 1 条评论 ·
-
Input editor says "Apply Changes" even when no changes have been made.可能已有人在做 @hcooper 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 72/100
MobiFlight/MobiFlight-Connector#3526 ·
维护者通常 1 天内回复