All of my (Kyle Mason) (mediatech15) widgets are free to copy modify and edit how you see fit. You may re-post the variants freely (an inspired by is nice)
This widget is cell look alike widget for use with the OpenWeatherAPI One Call. This allows you to specify the root item and then based on a few parameters you can make dynamic cards.
Fully Responsive
Supports Day and Hour
Dynamic hiding of elements not supported by Time (Days vs Hours items)
May I suggest this for the definition of your props:
props:
parameters:
- description: Card Label
name: label
required: false
type: TEXT
groupName: weather_widget_params
- description: Time for card. Must be Today, Tomorrow, Day2, Day3, Day4, Day5, Hours01, Hours02, Hours03, Hours04, Hours05, Hours06, Hours07, Hours08, Hours09, Hours10, Hours11, Hours12
name: day
required: true
type: TEXT
pattern: Today|Tomorrow|Day2|Day3|Day4|Day5|Hours01|Hours02|Hours03|Hours04|Hours05|Hours06|Hours07|Hours08|Hours09|Hours10|Hours11|Hours12
groupName: weather_widget_params
- context: item
description: Show Current Temps
label: Enable
name: current
required: false
type: BOOLEAN
groupName: weather_widget_params
- context: item
description: One Call API Weather and Forecast Item
label: Item
name: api
required: true
type: TEXT
groupName: weather_widget_params
parameterGroups:
- name: weather_widget_params
label: Weather Widget Params
description: This assumes standard <a class="external text-color-blue" target="_blank" href="https://openweathermap.org/api/one-call-api">One Call API</a> usage with stardard underscore naming.
If you put all your parameters into a group you have a chance to give it a description (basic HTML is allowed) so your explanation would look way better:
Also remember to put only a single link to your raw code in your post and add the published tag so folks can install your widget from the openHAB UI.
I was following the post that says maintainers/admins add the published tags. If that isnât the case I can add them. Given im using snippets is there a way i can on the forum post have a history? and only the most recent link be consumed by karaf?
You add the published tag yourself, thereâs no pre-moderation, if you screw up then hopefully a moderator or someone with rights to edit your post will intervene.
For the widget to be installable you need to provide a link whose URL ends in .yaml, for GitLab this would be this button:
ahh so as long as latest only is the full raw link im ok.
Can I ask that Announcing the Community Marketplace be updated about tags and the template for this category? both state mods adding that tag. I feel alot of posts in this category that dont have the tag would if the users knew.
There is a known issue with non-english items. Given the suffixes are appended in english. The root item is the the item that is created from the thing (typically just a group) that all the other (actual items with data) are held under.
So the error is caused by a default value but is working for me in M5. I wonder if the default property changed to defaultValue based on error message.
Iâve looked everywhere for this root item to no avail! There is nothing in my items list, and the channels for the onecall weather thing doesnât contain anything that looks like what you describe. Can you point me in the right direction please?