I have the Hubitat darksky app running and a tile on my sharptools dashboard. All info seems to be working fine other than the forcast icon. it is showing as N/A.
Any suggestions?
I have the Hubitat darksky app running and a tile on my sharptools dashboard. All info seems to be working fine other than the forcast icon. it is showing as N/A.
Any suggestions?
Thanks for posting! What troubleshooting have you tried?
I made sure I have the sharptools option in the driver checked and that the forcasticon and weathericon fields both say lightrain which is correct but no icon shows on the dashboard
Thanks for the additional details.
lightrain
is not one of the supported icon codes.
What geographic area are you in? I wanted to see if I can reproduce the issue.
near kentville, nova scotia, canada
Thanks. Would you mind providing a screenshot of what your Current States are for the driver?
Interesting. I’m not able to reproduce that result, but I might be hitting a different city than you as the weather is showing ‘clear’ for the areas I tried.
For a “City name” of Cambridge, I get:
Current States
- city : Cambridge
- feelsLike : 59.2
- forecastIcon : clear
- humidity : 22
- illuminance : 7861
- localSunrise : 7:29 AM
- localSunset : 6:57 PM
- percentPrecip : 3
- pressure : 30.27
- temperature : 59.2
- ultravioletIndex : 6
- weather : Clear
- weatherIcon : clear
- wind : 2.2
For a “City name” of Cambridge, Canada I get:
Current States
- city : Cambridge, Canada
- feelsLike : 59.4
- forecastIcon : clear
- humidity : 22
- illuminance : 7930
- localSunrise : 7:29 AM
- localSunset : 6:57 PM
- percentPrecip : 3
- pressure : 30.27
- temperature : 59.4
- ultravioletIndex : 6
- weather : Clear
- weatherIcon : clear
- wind : 2.2
For a “City name” of Kentville, Canada I get:
Current States
- city : Kentville, Canada
- feelsLike : 59.4
- forecastIcon : clear
- humidity : 22
- illuminance : 7946
- localSunrise : 7:29 AM
- localSunset : 6:57 PM
- percentPrecip : 3
- pressure : 30.27
- temperature : 59.4
- ultravioletIndex : 6
- weather : Clear
- weatherIcon : clear
- wind : 2.2
–
It looks like there are other current states being shown for you, so I’m guessing there are other preferences enabled as well. I noticed that his driver has two different sets of icon names available.
For example, ‘lightrain’ looks like:
ccode: 'lightrain',
altIcon: '11.png',
ctext: 'Light Rain',
owmIcon: '10d',
stdIcon: 'rain',
luxpercent: 0.5
Note that the ‘stdIcon’ is correct, but it looks like the ‘ccode’ is being used in your case. I’m wondering if one of the other preferences might change which icon name is used.
the only other preferences i have on are the two for weather summary, I guess i dont need those either
I was just looking through the code commits (history) for the Dark Sky driver and it looks like Matthew changed the condition codes and icon mapping about 10 days ago. I was still running a version of his driver from a few weeks ago which works fine.
I’m drafting a response to Mathew in his thread to see if we can get the mapping for the forecastIcon
and weatherIcon
cleaned up.
In the meantime, if you wanted to try a version older than 1.2.0 of his Dark Sky driver, I believe that should work for you. For example:
That worked, Thanks!
Keeping this within the same thread, but let me know if I need to start a new one:
I am also using Hubitat with Darksky. Latest version is working for me, so josh, maybe Matthew fixed it? I am curious about the ability to edit information displayed or not displayed on the Sharptools icon. I posted a screenshot below of my current info, but I can’t seem to edit any of the info. I assume this needs to occur in Hubitat? But the icon of Darksky in Hubitat is showing different info than Sharptools?
Thanks for the advice on this.
Thanks for the message. Can you clarify what you were expecting to see in the SharpTools tile?
The SharpTools weather tile determines what icon to show based on the forecastIcon
or weatherIcon
attribute. It looks like the weather is ‘clear’, so a clear icon is shown.
I was hoping to hide or show the various data points like windspeed or sunrise/sunset times? Thanks Josh.
I’ve been thinking about adding it as an option to the Weather Tile, so I’ve noted your request.
Edit: I’ve collapsed the notes below about publishing just the individual attributes you want. I took another look at the Dark Sky driver and it looks like the forecastIcon
and weatherIcon
attributes are only published when the Dash - SharpTools preference is enabled, so it won’t work as expected.
In the meantime, you can recreate the Dark Sky device and only select the specific attributes you are interested in displaying. Most of them are optional and will not be displayed if they are not available.
Important: Make sure to create a new device using the driver. Just changing the attribute preferences on an existing device won’t do anything as the device will already have existing values stored for the attributes you no longer want.
Basically, instead of selecting the Dash - SharpTools. option in the preferences, you would switch on just the individual attributes that you are interested in. Here’s a map of the various attributes:
Makes complete sense and thanks so much for the help on this!