Visual Weather - 15 day weather forecast and infobar widget

There are 199 replies in this Thread which was already clicked 48,209 times. The last Post () by KiddaC.

  • 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.

    [Current box] OCTAGON SF8008 V3 SUPREME 2024 model,

    [Also owns] Gigablue UHD trio 4K

    Enigma2 owner since 2012 :lolz:

    Edited 3 times, last by xwzdrl ().

  • 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.

    ** A person who feels appreciated will always do more than what is expected **

  • 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 function


    Conditional the description to show either original description or alert.

    then change the skin reference to this conditional value.


    Code
                self["description"].setText(str(self.display_description))

    ** A person who feels appreciated will always do more than what is expected **

  • 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.

    ** A person who feels appreciated will always do more than what is expected **

  • 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.

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!