Good evening you can add it to show the next day as well infobar like this in the photo in Visual Weather
Visual Weather - 15 day weather forecast and infobar widget
- KiddaC
- Thread is marked as Resolved.
-
-
Here is a similar one from infobarcompact.xml
-
Example for a custom weather skin
Example: “myskin”
1.Copy the folder “myskin” to:
/usr/lib/enigma2/python/Extension/VisualWeather/Skins
2.Copy the files key_green-1080.png and key_red-1080.png to:
/usr/lib/enigma2/python/Extension/VisualWeather/visual-gfx
3.Enable the skin developer mode
(this is the last option in the weather settings).
4.In the weather settings, select the skin → choose “myskin”.
5.Save with the green button.
6.Restart the GUI (optional, usually not necessary).
You can also configure the info bar to show the “Compact Widget” or the “Full Width Widget”.
Hello KiddaC,
Thank you for the great plugin.
I hope you don’t mind that your plugin has been adapted for Python 2.7 and will continue to be developed further.
-
Works fine with octagon sf8008 supreme Openvix . Skin simple ten eighty. Good plugin.
-
Hello KiddaC,
is there a way to display the warnings (“alerts”) contained in data.json in the XML skin of VisualWeather?
For example:
• "description": "Similar temperatures persist"
• "headline": "Official FROST WARNING"
• "event": "FROST"
I tried to implement this using forecast.py, but unfortunately without success.
Thank you
################
From data.json extract:
{
"description": "Similar temperatures will continue with no rain expected.",
"resolvedAddress": "Berlin, Germany",
"alerts": [
{
"ends": "2026-01-21T11:00:00",
"description": "Moderate frost is expected between -5 °C and -9 °C.",
"language": "de",
"headline": "Official FROST WARNING",
"id": "2.49.0.0.276.0.DWD.PVW.1768908720000.803fb63a-bded-48be-864d-4837165e6862",
"onset": "2026-01-20T17:00:00",
"link": "https://dwd.de/warnings",
"onsetEpoch": 1768924800,
"endsEpoch": 1768989600,
"event": "FROST"
}
###############
-
It was never coded in, as alerts obviously only appear if there is an alert.
And instead of a new element - it would be easier to just replace the description if a weather alert. -
I can do it in both, by replacing the description with an alert. event - headline.
I will update the files. But this is what you would have to do.
in forecast.py
Read the alert data in processdata functionCode
Display Moreself.alerts = self.weather.get("alerts", []) self.alerts_event = None self.alerts_headline = None self.alerts_description = None self.alerts_ends = None self.alerts_endsEpoch = None self.alerts_start = None self.alerts_startEpoch = None if self.alerts: alert = self.alerts[0] self.alerts_event = alert.get("event") self.alerts_headline = alert.get("headline") self.alerts_description = alert.get("description") self.alerts_ends = alert.get("ends") self.alerts_endsEpoch = alert.get("endsEpoch") self.alerts_start = alert.get("onset") self.alerts_startEpoch = alert.get("onsetEpoch") self.has_alerts = bool(self.weather.get("alerts"))Conditional the description to show either original description or alert.
Code
Display Moreself.display_description = self.description if self.has_alerts: if self.alerts_startEpoch and self.alerts_endsEpoch: try: now_epoch = int(time.time()) except: now_epoch = None if now_epoch: if now_epoch >= int(self.alerts_startEpoch) and now_epoch <= int(self.alerts_endsEpoch): parts = [] if self.alerts_headline: parts.append(self.alerts_event) if self.alerts_description: parts.append(self.alerts_headline) if parts: self.display_description = ": ".join(parts)then change the skin reference to this conditional value.
-
Not really got much room for alert info without amending the skins, UK alerts are very long.
pasted-from-clipboard.png
Where as your berlin example is small.
pasted-from-clipboard.png
but the data now works. However you want to use or display it -
-
This website will give similar data if you want to check how big your local weather alerts are going to be.
https://www.meteoalarm.org/en/live/ -
VisualWeather V1.12
New files on post 1
If local weather alert, Show weather alerts instead of description.
-
Hello.
I have a problem: Dreambox Two + OpenATV 7.6 + API Key + Location tested and working on the website.
The location is not appearing in the application. I have tried entering the location and the apikey manually, restarted the box, and nothing has worked.
-
For location:
Berlin, DE
For the key:
- Create apikey.txt
- Enter the key
- Copy apikey.txt to: /etc/enigma2/VisualWeather
- Start the GUI
-
It didn't work...
-
-
Don't know why I waste my time writing stuff. I clearly said above (with lots of screenshots), there isn't any room for these long alerts without changing all the skin files. And it isn't worth the effort for alerts that will appear a few times a year.
Pontiak asked about getting the alert data, I plumbed in the data. If people want to amend the skins for their own personal use. That up to them. -
With version 1.12, „alert“ values are now read and processed.
Each city can provide different weather warnings.
The following data sources are new:
alert_headline
alert_description
alert_event
The data source:
description
already existed in version 1.11.
These data sources must be integrated into forecast.xml in order to be displayed.
In the Image:
1. description:
Similar temperatures will continue, with rain possible on Thursday and snow possible on Friday.
2. alert_headline:
Official WARNING of FROST
3. alert_description:
Light frost is expected, with temperatures between 0 °C and −3 °C.
4. alert_event:
Not shown in the image.
-
That will work for you pontiak as your german alert data is small.
I can't put it in globally, as most european weather alert data is a lot longer than your examples.
-
Hey everyone, the plugin hasn't been working on OpenATV 8.0 beta for the past 5 days. Does anyone have any information about this?
-
https://www.visualcrossing.com/
Log into the website. See if your API key is still active, or whether you have used all your free credits.
Its working fine for me on openatv 7.5
Enhance your Enigma2 with KiddaC's creations
Download HD skins, IPTV players (X-Streamity, EStalker), bouquet tools, picon managers, and essential plugins for a complete setup. KiddaC's Enigma2 resources: skins (slyk, v-skin, onyx), IPTV plugins (Xtreamity, Jedi Maker), and utilities (E2Piconizer, ScreenNames) for customization and control.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!
