Skip to content

Commit 5afa45f

Browse files
committed
docs: update README with detailed instructions for hourly forecast and add moon phases icons; include update note and change log enhancements
1 parent 5897070 commit 5afa45f

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ After installation, configure the following fields in the instance settings:
4444
2. **Coordinates (Latitude & Longitude):** Determine your location (you can find these on openstreetmap.org).
4545
3. **Update Interval:** Time interval in minutes (Default: 30 min).
4646
4. **Forecast Days:** Number of days for the daily overview (0–16 days).
47-
5. **Hourly Forecast:** Toggle and set the number of hours per day (e.g., the next 24 hours).
47+
5. **Hourly Forecast:** Enable or disable this option and set the number of hours (e.g., the next 24 hours). For example, hour0 is the current hour, hour1 is the next hour, and so on.
4848
6. **Optional Data:** Checkboxes for pollen and air quality data.
4949
7. **Units:** Choose between Metric and Imperial.
5050

@@ -57,6 +57,7 @@ The adapter provides dynamic icon paths that can be used directly in visualizati
5757
* **Weather Icons:** Found under `weather.current.icon_url`. The adapter automatically distinguishes between day and night (e.g., Sun vs. Moon).
5858
* **Wind Direction:** Static paths under `wind_direction_icon` display a compass arrow corresponding to the degree value.
5959
* **Wind Gust Warning:** A warning icon is displayed under `wind_gust_icon` for wind speeds above approx. 39 km/h (Bft 6), featuring levels 0–4.
60+
* **Moon Phases Icons:** Moon icons can be found under `moon_phase_icon` they display the moon phases.
6061

6162
---
6263

@@ -66,11 +67,26 @@ The adapter provides dynamic icon paths that can be used directly in visualizati
6667
|:---|:---|
6768
| `weather.current` | Current measurements (Temp, Dew point, Wind, etc.) |
6869
| `weather.forecast.dayX` | Daily forecast for Day X |
69-
| `weather.forecast.hourly.dayX.hourY` | Hourly details per day |
70+
| `weather.forecast.hourly.hourX` | Stündliche Details pro volle Stunde |
7071
| `air.current` | Air quality and pollen levels as text and value |
7172

7273
---
74+
75+
## Update note
76+
77+
After a new adapter update, it is recommended to delete the entire directory tree and let it be recreated.
78+
7379
## Change Log
80+
### **WORK IN PROGRESS**
81+
* (H5N1v2) fix: update js-controller and admin dependencies to latest versions
82+
* (H5N1v2) fix: add missing responsive breakpoints in jsonConfig
83+
* (H5N1v2) fix: Chinese translations files & correct import path for Chinese translations
84+
* (H5N1v2) fix: add missing translation for precipitation probability to the translations
85+
* (H5N1v2) fix: Adjusted the creation of hourly state icons to account for day/night conditions.
86+
* (H5N1v2) add: Added debug logs to track the execution flow and data processing for better traceability.
87+
* (H5N1v2) Enhance performance and readability by caching translations, unit maps, and imperial settings.
88+
* (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.
89+
7490
### 2.2.1 (2026-01-26)
7591
* (H5N1v2) fix: Correct quotation marks for relative humidity translation in French
7692

0 commit comments

Comments
 (0)