Skip to content

Commit a723499

Browse files
committed
chore: release v3.1.0
* (H5N1v2) Changed update routine for weather and PV forecast to fixed fetch times. * (H5N1v2) Add a customizable HTML weather widget in the admin area. * (H5N1v2) Adaptation for version jumps from older configurations. * (H5N1v2) Description added to the admin area. * (H5N1v2) Readme updated in widget section. * (H5N1v2) Adapter internal widget adapted, hazards are highlighted in color (currently only in the internal adapter widget). * (copilot) Adapter requires node.js >= 22 now. * (H5N1v2) Update axios to v.1.16.0.
1 parent f9c6059 commit a723499

5 files changed

Lines changed: 39 additions & 40 deletions

File tree

CHANGELOG_OLD.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,67 @@
11
## CHANGELOG OLD
2+
## 2.6.2 (2026-03-25)
3+
* (H5N1v2) update @types/node dependency to version 22.19.15
24

35
## 2.6.1 (2026-03-04)
46
* (H5N1v2) chore: update dependencies to latest versions
57
* (mcm1957) fix: axios seems to be missing in dependencies
68
* (mcm1957) fix: language used for stateIds and names
79
* (mcm1957) fix: creation of intermediate objects missing
810

9-
### 2.6.0 (2026-02-19)
11+
## 2.6.0 (2026-02-19)
1012
* (H5N1v2) feat: Leave latitude and longitude empty to use system coordinates in settings.
1113
* (H5N1v2) feat: Added dropdown menu for timezones in settings.
1214

13-
### 2.5.1 (2026-02-17)
15+
## 2.5.1 (2026-02-17)
1416
* (oFbEQnpoLKKl6mbY5e13) Fix: The Icon 61n.png is not displayed and is in the wrong folder.
1517
* (H5N1) chore: update dependencies to latest versions
1618

17-
### 2.5.0 (2026-02-15)
19+
## 2.5.0 (2026-02-15)
1820
* (H5N1v2) New: Added "Bright Night Icons" option. You can now choose between dark and bright icons for better visibility on different backgrounds.
1921
* (H5N1v2) New: Added new icon set directory /admin/icons/night_bright/ for enhanced night-time visualization.
2022
* (H5N1v2) New: Move night icons from /admin/icons/weather_icons to /admin/icons/night_dark.
2123
* (H5N1v2) Fix: Updated AdapterConfig types to support new configuration fields.
2224
* (H5N1v2) Fix: Improved icon path logic for current weather and hourly forecasts.
2325

24-
### 2.4.1 (2026-02-14)
26+
## 2.4.1 (2026-02-14)
2527
* (H5N1v2) chore: update dependencies to latest versions.
2628
* (H5N1v2) add link to Widget in instanz configuration.
2729

28-
### 2.4.0 (2026-02-11)
30+
## 2.4.0 (2026-02-11)
2931
* (H5N1v2) fix: adjust moon phase calculation for accurate phase key assignment
3032
* (H5N1v2) chore: update dependencies
3133
* (H5N1v2) Added option to choose between wind direction (destination) and wind origin (source) icons in Admin.
3234
* (H5N1v2) New subfolder structure for alternative wind icons (direct_2).
3335

34-
### 2.3.0 (2026-02-09)
36+
## 2.3.0 (2026-02-09)
3537
* (H5N1v2) Added: Daily air quality & pollen aggregation (configurable 1, 3, or 6 days).
3638
* (H5N1v2) Added: Human-readable text mapping for pollen levels (None, Low, Moderate, High).
3739
* (H5N1v2) Added: Weekday names (name_day) for air quality forecast days.
3840
* (H5N1v2) Changed: Optimized object tree – only daily peak values are stored instead of bulky hourly data.
3941
* (H5N1v2) Changed: Improved cleanup logic – obsolete forecast objects are automatically removed.
4042

41-
### 2.2.5 (2026-02-07)
43+
## 2.2.5 (2026-02-07)
4244
* (H5N1v2) Nitrogen dioxide (NO2) datapoint added to the air quality data, user request.
4345
* (H5N1v2) Added new datapoints for "global_tilted_irradiance" & "et0_fao_evapotranspiration" in hourlyX and "et0_fao_evapotranspiration_sum" in dailyX.
4446
* (H5N1v2) Some Log-messages translated in main.ts
4547
* (H5N1v2) Corrected setStateAsync to setState in main.ts
4648
* (H5N1v2) fix: update forecast hours handling.
4749
* (H5N1v2) Added an info folder with a last_update data point to check when the last update was performed.
4850

49-
### 2.2.4 (2026-02-06)
51+
## 2.2.4 (2026-02-06)
5052
* (H5N1v2) fix: update snow depth unit from cm to m in metric unit map
5153
* (H5N1v2) add: precipitation in hourly & precipitation_sum (snow,rain,showers) in daily.
5254
* (H5N1v2) Implemented state caching to reduce redundant database I/O operations.
5355
* (H5N1v2) Optimized socket management with explicit connection handling and timeouts.
5456
* (H5N1v2) Refactored update logic for better resource management
5557

56-
### 2.2.3 (2026-02-03)
58+
## 2.2.3 (2026-02-03)
5759
* (wg25 iob-forum) Fix: In the hourly forecast, all hours were incorrectly inheriting the date from the last "day".*
5860
* (wg25 iob-forum) Fix: Corrected name_day for day0. Previously, it was hardcoded as "Today" (a legacy remnant). It now correctly displays the actual day of the week.
5961
* (H5N1v2) Updated hours*: Split date and time into separate data points ("date" and "time") based on user feedback.
6062
* (H5N1v2) Added 'date' key with translations to all translation files.
6163

62-
### 2.2.2 (2026-01-30)
64+
## 2.2.2 (2026-01-30)
6365
* (H5N1v2) fix: update js-controller and admin dependencies to latest versions
6466
* (H5N1v2) fix: add missing responsive breakpoints in jsonConfig
6567
* (H5N1v2) fix: Chinese translations files & correct import path for Chinese translations
@@ -69,39 +71,39 @@
6971
* (H5N1v2) Enhance performance and readability by caching translations, unit maps, and imperial settings.
7072
* (H5N1v2) Refactor icon retrieval methods for wind direction and moon phases, optimize cleanup logic for deleted locations, improve state creation and updating with consistent translation handling.
7173

72-
### 2.2.1 (2026-01-26)
74+
## 2.2.1 (2026-01-26)
7375
* (H5N1v2) fix: Correct quotation marks for relative humidity translation in French
7476

75-
### 2.2.0 (2026-01-26)
77+
## 2.2.0 (2026-01-26)
7678
* (H5N1v2) add unit translations for improved localization in weather data
7779
* (H5N1v2) add additional pollen units and translations to unit maps
7880
* (H5N1v2) add carbon monoxide, dust, olive pollen, and ozone in air quality & translations
7981
* (H5N1v2) refactor weather data fetching to use constants for parameter keys
8082
* (H5N1v2) remove unused dependencies and scripts
8183
* (H5N1v2) add image for wind warning
8284

83-
### 2.1.0 (2026-01-18)
85+
## 2.1.0 (2026-01-18)
8486
* (H5N1v2) add module suncalc
8587
* (H5N1v2) add Moon Phase value, text and icon url datapoints
8688
* (H5N1v2) add Moon Phase icons
8789
* (H5N1v2) add translations for Moon Phases
8890
* (H5N1v2) Changed location for weather icons for better overview
8991

90-
### 2.0.1 (2026-01-18)
92+
## 2.0.1 (2026-01-18)
9193
* (H5N1v2) Fix wind direction icons
9294

93-
### 2.0.0 (2026-01-15)
95+
## 2.0.0 (2026-01-15)
9496
* (H5N1v2) Major Feature: Migrated to a dynamic table-based location management (multi-location support).
9597
* (H5N1v2) Major Feature: Implemented smart recursive cleanup logic for objects (locations, days, hours, air quality).
9698
* (H5N1v2) Improved UI visibility for coordinates link.
9799

98-
### 1.2.1 (2026-01-13)
100+
## 1.2.1 (2026-01-13)
99101
* (H5n1v2) Fix settings for adapter checker
100102

101-
### 1.2.0
103+
## 1.2.0
102104
* Updated internal project structure to latest standards; improved code stability and maintenance.
103105

104-
### 1.1.0
106+
## 1.1.0
105107
* Initial NPM release
106108
* fix for air quality timestamps
107109
* added icons for wind direction and storm warnings

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ The adapter uses the **Faiman model** to estimate the module temperature. This m
274274
After a new adapter update, it is recommended to delete the entire directory tree and let it be recreated.
275275

276276
## Changelog
277-
### **WORK IN PROGRESS**
277+
### 3.1.0 (2026-05-03)
278278
* (H5N1v2) Changed update routine for weather and PV forecast to fixed fetch times.
279-
* (H5N1v2) Add a customizable HTML weather widget in the admin area.
279+
* (H5N1v2) Added a customizable HTML weather widget in the admin area.
280280
* (H5N1v2) Adaptation for version jumps from older configurations.
281281
* (H5N1v2) Description added to the admin area.
282282
* (H5N1v2) Readme updated in widget section.
@@ -303,9 +303,6 @@ After a new adapter update, it is recommended to delete the entire directory tre
303303
### 2.6.3 (2026-03-26)
304304
* (H5N1v2) add sentry plugin to automatically report errors to developer
305305

306-
### 2.6.2 (2026-03-25)
307-
* (H5N1v2) update @types/node dependency to version 22.19.15
308-
309306
## Older Changelog
310307
[OLDER CHANGELOG](CHANGELOG_OLD.md)
311308

io-package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
{
22
"common": {
33
"name": "open-meteo-weather",
4-
"version": "3.0.1",
4+
"version": "3.1.0",
55
"news": {
6+
"3.1.0": {
7+
"en": "Changed update routine for weather and PV forecast to fixed fetch times.\nAdded a customizable HTML weather widget in the admin area.\nAdaptation for version jumps from older configurations.\nDescription added to the admin area.\nReadme updated in widget section.\nAdapter internal widget adapted, hazards are highlighted in color (currently only in the internal adapter widget).\nAdapter requires node.js >= 22 now.\nUpdate axios to v.1.16.0.",
8+
"de": "Die Aktualisierungsroutine für Wetter- und PV-Vorhersagen wurde auf feste Abrufzeiten umgestellt.\nIm Adminbereich wurde ein anpassbares HTML-Wetter-Widget hinzugefügt.\nAnpassung für Versionssprünge von älteren Konfigurationen.\nBeschreibung im Adminbereich hinzugefügt.\nDie Readme-Datei wurde im Widget-Bereich aktualisiert.\nDas interne Adapter-Widget wurde angepasst, Gefahren werden farblich hervorgehoben (derzeit nur im internen Adapter-Widget).\nDer Adapter benötigt jetzt node.js >= 22.\nAktualisieren Sie axios auf Version 1.16.0.",
9+
"ru": "Изменена процедура обновления прогнозов погоды и солнечной активности: теперь время получения данных фиксировано.\nВ административную панель добавлен настраиваемый HTML-виджет погоды.\nАдаптация для перехода на новые версии при использовании более старых конфигураций.\nВ административную панель добавлено описание.\nВ разделе виджетов обновлен файл Readme.\nВнутренний виджет адаптера адаптирован, опасности выделены цветом (в настоящее время только во внутреннем виджете адаптера).\nДля работы адаптера теперь требуется Node.js версии >= 22.\nОбновите Axios до версии 1.16.0.",
10+
"pt": "Alterada a rotina de atualização das previsões meteorológicas e de energia fotovoltaica para horários de busca fixos.\nAdicionado um widget de previsão do tempo em HTML personalizável na área administrativa.\nAdaptação para mudanças de versão a partir de configurações mais antigas.\nDescrição adicionada à área administrativa.\nLeia o arquivo Readme atualizado na seção de widgets.\nWidget interno do adaptador adaptado, os riscos são destacados em cores (atualmente apenas no widget interno do adaptador).\nO adaptador agora requer o Node.js versão 22 ou superior.\nAtualize o Axios para a versão 1.16.0.",
11+
"nl": "De updateprocedure voor de weer- en PV-voorspelling is aangepast naar vaste ophaaltijden.\nEr is een aanpasbare HTML-weerwidget toegevoegd aan het beheerdersgedeelte.\nAanpassing voor versie-overgangen vanuit oudere configuraties.\nBeschrijving toegevoegd aan het beheerdersgedeelte.\nReadme bijgewerkt in de widgetsectie.\nDe interne adapterwidget is aangepast, gevaren worden in kleur gemarkeerd (momenteel alleen in de interne adapterwidget).\nAdapter vereist nu Node.js versie 22 of hoger.\nUpdate axios naar versie 1.16.0.",
12+
"fr": "Modification de la routine de mise à jour des prévisions météorologiques et photovoltaïques afin de fixer les temps de récupération.\nAjout d'un widget météo HTML personnalisable dans la zone d'administration.\nAdaptation pour les changements de version à partir des configurations plus anciennes.\nDescription ajoutée à la zone d'administration.\nLe fichier Lisez-moi a été mis à jour dans la section des widgets.\nLe widget interne de l'adaptateur a été adapté ; les dangers sont mis en évidence en couleur (actuellement uniquement dans le widget interne de l'adaptateur).\nL'adaptateur requiert désormais node.js >= 22.\nMettez à jour axios vers la version 1.16.0.",
13+
"it": "È stata modificata la routine di aggiornamento per le previsioni meteo e fotovoltaiche, impostando orari di recupero fissi.\nAggiunto un widget meteo HTML personalizzabile nell'area di amministrazione.\nAdattamento per i passaggi di versione da configurazioni precedenti.\nDescrizione aggiunta all'area amministrativa.\nIl file Readme è stato aggiornato nella sezione widget.\nIl widget interno dell'adattatore è stato adattato, i pericoli sono evidenziati a colori (attualmente solo nel widget interno dell'adattatore).\nL'adattatore ora richiede Node.js >= 22.\nAggiornare Axios alla versione 1.16.0.",
14+
"es": "Se modificó la rutina de actualización de la previsión meteorológica y fotovoltaica para que los tiempos de obtención sean fijos.\nSe ha añadido un widget HTML personalizable para el pronóstico del tiempo en el área de administración.\nAdaptación para saltos de versión desde configuraciones anteriores.\nSe ha añadido la descripción al área de administración.\nEl archivo Léame se ha actualizado en la sección de widgets.\nSe ha adaptado el widget interno del adaptador y los peligros se resaltan en color (actualmente solo en el widget interno del adaptador).\nEl adaptador ahora requiere node.js >= 22.\nActualizar Axios a la versión 1.16.0.",
15+
"pl": "Zmieniono procedurę aktualizacji prognozy pogody i PV, aby uzyskać stałe czasy pobierania.\nDodano konfigurowalny widget pogody HTML w obszarze administracyjnym.\nDostosowanie do zmian wersji ze starszych konfiguracji.\nOpis dodany do obszaru administracyjnego.\nZaktualizowano plik Readme w sekcji widżetów.\nWewnętrzny widżet adaptera został dostosowany, zagrożenia są wyróżnione kolorem (aktualnie tylko w wewnętrznym widżecie adaptera).\nAdapter wymaga teraz node.js >= 22.\nZaktualizuj axios do wersji 1.16.0.",
16+
"uk": "Змінено процедуру оновлення прогнозу погоди та сонячної енергії на фіксований час отримання.\nДодано налаштовуваний HTML-віджет погоди в адміністративній панелі.\nАдаптація для переходів на інші версії зі старіших конфігурацій.\nОпис додано до адміністративної панелі.\nФайл Readme оновлено в розділі віджетів.\nВнутрішній віджет адаптера адаптовано, небезпеки виділено кольором (наразі лише у внутрішньому віджеті адаптера).\nАдаптер тепер вимагає node.js >= 22.\nОновіть axios до версії 1.16.0.",
17+
"zh-cn": "更改了天气和光伏预测的更新程序,改为固定获取时间。\n在后台管理区域添加了可自定义的HTML天气小部件。\n适应从旧配置到新配置的版本跃升。\n已在管理区域添加描述。\n小部件部分的自述文件已更新。\n适配器内部小部件已调整,危险区域以颜色突出显示(目前仅在内部适配器小部件中)。\n适配器现在需要 node.js >= 22。\n将 axios 更新到 v.1.16.0。"
18+
},
619
"3.0.1": {
720
"en": "update dependencies\nimprove error handling in API calls with detailed messages\nfix: attribute in jsonConfig.\nfix: yellow help text in admin for pv-forecast extra dp's, poor recognition on white background\nfix: update interval for pv-forecast \"once before sunrise\" time incorrectly calculated",
821
"de": "Abhängigkeiten aktualisieren\nVerbesserung der Fehlerbehandlung bei API-Aufrufen durch detaillierte Fehlermeldungen\nKorrektur: Attribut in jsonConfig.\nBehoben: Gelber Hilfetext im Adminbereich für zusätzliche DP-Datenpunkte (pv-forecast), schlechte Lesbarkeit auf weißem Hintergrund\nBehoben: Aktualisierungsintervall für die PV-Vorhersage „einmal vor Sonnenaufgang“ falsch berechnet",
@@ -80,19 +93,6 @@
8093
"pl": "core: aktualizacja zależności do najnowszych wersji\nfix: axios wydaje się brakować w zależności\nfix: język używany dla stanu Identyfikatory i nazwy\nfix: tworzenie brakujących obiektów pośrednich",
8194
"uk": "chore: оновлення залежності до останніх версій\nвиправити: axios здається бути відсутнім у залежності\nвиправити: мова використовується для держави Ids і імена\nвиправити: створення проміжних об'єктів відсутні",
8295
"zh-cn": "字符串:更新对最新版本的依赖\n修补: 轴线似乎在依赖中缺失\n修补:用于状态的语言 编号和名称\n修补: 中间对象缺失的创建"
83-
},
84-
"2.6.0": {
85-
"en": "feat: Leave latitude and longitude empty to use system coordinates in settings. \nfeat: Added dropdown menu for timezones in settings.",
86-
"de": "feat: Lassen Sie Breite und Länge leer, um Systemkoordinaten in Einstellungen zu verwenden.\nfeat: Dropdown-Menü für Zeitzonen in Einstellungen hinzugefügt.",
87-
"ru": "подвиг: оставьте широту и долготу пустыми для использования системных координат в настройках.\nfeat: Добавлено выпадающее меню для часовых поясов в настройках.",
88-
"pt": "feat: Deixe a latitude e longitude vazias para usar as coordenadas do sistema nas configurações.\nfeat: Added dropdown menu for timezones in settings.",
89-
"nl": "feat: Laat breedte- en lengtegraad leeg om systeemcoördinaten te gebruiken in instellingen.\nfeat: Dropdown menu toegevoegd voor tijdzones in instellingen.",
90-
"fr": "feat: Laissez la latitude et la longitude vides pour utiliser les coordonnées système dans les réglages.\nfeat: Ajout du menu déroulant pour les fuseaux horaires dans les paramètres.",
91-
"it": "feat: Lasciare latitudine e longitudine vuota per usare le coordinate di sistema nelle impostazioni.\nfeat: Aggiunta menu a discesa per fusi orari nelle impostazioni.",
92-
"es": "haz: Deja la latitud y la longitud vacías para usar las coordenadas del sistema en la configuración.\nhazaña: Menú desplegable añadido para las zonas del tiempo en la configuración.",
93-
"pl": "feat: pozostawić szerokość geograficzną i długość geograficzną pustą, aby użyć współrzędnych systemowych w ustawieniach.\nfeat: Dodano rozwijane menu dla stref czasowych w ustawieniach.",
94-
"uk": "feat: Залишити широтість і довготи порожній для використання системних координат в налаштуваннях.\nfeat: Додано випадаюче меню для таймерів в налаштуваннях.",
95-
"zh-cn": "功绩:将纬度和经度空置,以便在设置中使用系统坐标.\n成就: 添加了设置时区下拉菜单 ."
9696
}
9797
},
9898
"plugins": {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iobroker.open-meteo-weather",
3-
"version": "3.0.1",
3+
"version": "3.1.0",
44
"description": "Get local weather, air quality, pollen and Photovoltaic Forecast data from Open-Meteo.com",
55
"author": {
66
"name": "H5N1",

0 commit comments

Comments
 (0)