feat(signage): the weather all the way: a week, the next hours, feels like, humidity, wind, rain chance, sunrise / sunset, UV, in words; row, column, card, list of days or hourly layouts

services/weather.py asks Open-Meteo for 7 days, the next 24 hours and the details
(mph for Fahrenheit); older answers without them still read. The widget's layout,
the details it adds and the place's name; up to 7 days. Plan 6R.18, F-116.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 15:07:03 +02:00
co-authored by Claude Opus 5.5
parent 673113aff7
commit 84c2d5b2d8
10 changed files with 301 additions and 43 deletions
+27 -2
View File
@@ -1553,7 +1553,10 @@
"0-2": "Today and tomorrow",
"0-3": "Today and the next 2 days",
"1-1": "Tomorrow",
"2-1": "The day after tomorrow"
"2-1": "The day after tomorrow",
"0-5": "Today and the next 4 days",
"0-7": "The whole week",
"1-3": "Tomorrow and the 2 days after"
},
"menuEdit_one": "Products and look ({{count}} product)",
"menuEdit_other": "Products and look ({{count}} products)",
@@ -1707,7 +1710,29 @@
"toMedia": "Make one on the Media page",
"add": "Add pictures or videos",
"empty": "Nothing in the gallery yet: it stays hidden."
}
},
"weatherLayout": "Layout",
"weatherLayouts": {
"row": "In a row",
"column": "In a column",
"card": "A card",
"list": "A list of days",
"hourly": "The next hours"
},
"weatherDetails": "Also shows",
"weatherNoDetails": "Nothing more",
"weatherDetail": {
"words": "The weather in words",
"feels": "Feels like",
"humidity": "Humidity",
"wind": "Wind",
"rain": "Chance of rain",
"sun": "Sunrise and sunset",
"uv": "UV index"
},
"weatherHours": "Hours",
"weatherPlace": "The place",
"weatherPlaceLabel": "Show its name"
},
"tabs": {
"playlists": "Playlists",
+16 -1
View File
@@ -492,7 +492,22 @@
"title": "Calibrating the picture of {{name}}",
"hint": "In the manager (Signage → Screens), move each edge until the arrows touch the edges of the screen."
},
"closed": "Closed"
"closed": "Closed",
"weather": {
"feels": "Feels like {{t}}",
"today": "Today",
"words": {
"sun": "Sunny",
"moon": "Clear",
"cloud-sun": "Partly cloudy",
"cloud-moon": "Partly cloudy",
"cloud": "Cloudy",
"fog": "Fog",
"rain": "Rain",
"snow": "Snow",
"storm": "Thunderstorm"
}
}
},
"menuTablet": {
"title": "Menu",