Driver Version: 2.8.0
Some people have requested that I add ‘myTile’ code to this driver.
As always, I had to try and make it better
(Rather than just hack someone else’s code in somewhere)
So, I have created a new attribute for the driver ‘WeatherDisplay’ and setup a ‘standard’, default output so you can quickly add this data to a dashboard tile.
There is now a new switch displayed in the driver:
Once this is enabled and the device is saved (to refresh the display) a few new bits appear
Even with the default dashboard you are able to select the font weight as shown above and also the colour of the font (entered as above in hex format – no need for a ‘#’ at the beginning)
The settings, as displayed, will give you a ‘standard’ output that looks like this
(on a blue background)
Yellow, italic text.
(This is a 1x1 tile but pictured on a big screen so you may have to set the tile to a different size)
One thing you may have noticed after tuning on the 'Weather Dashboard Summary’ switch is an additional switch: ‘Custom Weather Dashboard Summary’
Try turning this on then saving the preferences again.
When you come back to the driver… it should look like this at the bottom of the ‘Preferences’ section:
You now have 8 lines that you can populate with attributes from the driver.
You can also add any line of text. (when selecting 'Free Text’ and saving, a box will appear for you to enter your text.)
Each of the 8 lines has a ‘drop-down’ list of the attributes that you can populate the line with
This is how I’ve set my example:
And it looks like this:
Try the update and have a play
One thing to note:
After installation & configuration, please hit the ‘poll’ button to populate the attribute before creating your tile.
You can create the tile using the attribute: WeatherDisplay
Please let me know if you have any issues or find any bugs as this has only been tested by a couple of people and we may have missed something.
Also, I have not had any issues creating the tile etc with this driver but if you do, then please let me know about that too.