APIXU Hubitat weather Tile


I took a closer look at his driver code and it looks like he already has the basic pieces in place to map the night variants, but hard coded it to day. Maybe it was just a remnant from testing that never got fixed. Either way, I’ll make a post in his thread to see what he thinks…

Line 285 of the current release can be changed from:

sendEvent(name: "forecastIcon", value: getWUIconName(obs.current.condition.code, 1), displayed: true)


sendEvent(name: "forecastIcon", value: getWUIconName(obs.current.condition.code, obs.current.is_day), displayed: true)


Just swapped out that line of code in the device driver and now all is GREAT! Thanks Josh! Now I just need an adjustable width music player tile! lol

[Solved] Zigbee Peanut Plugs on Hubitat

@josh I have updated to the latest driver and the sunrise sunset times are incorrect


it’s using the first set in the picture for sunset sunrise where it should be using the second set.


Found out how to disable the first set which automatically uses the second set:


Thanks for the update and glad to hear you got it working. Thanks for sharing the screenshots as well!

SharpTools only uses the localSunrise and localSunset values, so those will need to be published. If SharpTools had an old copy of those values cached from before they were removed (and re-added), it will continue to show the cached values until they are republished in the APIXU driver. :grinning:


I dont know whats going on now both sets are the same in device driver page. I re-enabled those and its all good for now. maybe its on APIXU side


So I just updated my driver last night to the newest code and now ST seems to be ‘stuck’…I figured it might take a bit for SharpTools to refresh but 12 hours later it’s still showing the same temp and the night time icon. Thoughts?

Nevermind, turned out to be a Hubitat issue. All is working now.


Can you provide some screenshots of what you are seeing in the driver and what you are seeing in the tile?
Thanks for the update. Looks like you’ve edited your post that it’s working now, but I’m going to leave this post here for reference… :smiley:

Bangali’s new 5.0.0 APIXU driver adds the option to choose which attributes to publish. From what I could tell, they are all enabled by default. If you disable any of them, you’ll want to make sure you’ve published all the attributes required for SharpTools (see below).

  • city
  • feelsLike - currently missing
  • forecastIcon
  • humidity
  • localSunrise - there are multiple and they appear to be named the same
  • localSunset - there are multiple and they appear to be named the same
  • percentPrecip
  • temperature
  • weather
  • wind - currently missing

I updated my test setup to the 5.0.0 APIXU driver and it looks like everything is working except for the feelsLike and wind attributes. Looking into Bangali’s code, it looks like he introduced a new sendEventPublish method which will only publish the event if it’s turned ‘on’ in the device preferences. Unfortunately, it looks like wind and feelsLike are missing from the attributes map so there is they can’t be enabled in the preferences. I’ve commented in his Github repository and will reach out to him directly.

For reference:
SharpTools uses the forecastIcon attribute from the driver to determine the displayed icon. And uses the temperature attribute for the main displayed temperature and the feelsLike attribute for the smaller ‘feels like XX°’ text.






Thanks Josh - This explanation was very helpful!