[Deprecated] Weather Dot Gov - Gathering data from weather.gov

Introducing 'Weather Dot Gov'
Making the Weather.gov data usable with Hubitat.

No longer actively supporting this app. Weather.gov website is too unpredictable/unreliable.


  • Collect and display tons of weather data from weather.gov
  • NO signups or cost needed!
  • Daily Forecast, Weekly Forecasts, Alerts, Notifications, Pollen and Asthma Forecasts
  • All data is available to use in RM or any other app
  • Several pre-made tiles to choose from or build your own using Tile Master.
  • Parent/Child App structure
  • Create as many child apps as needed

This app can be found on my GitHub.

When reporting problems...

  • Be sure you are on the latest version. I won't troubleshoot an older version.
  • Turn on debug and screenshot the issue happening in the log. One line or just the error doesn't cut it. I need a log.
  • Post the screenshot of the log with an explanation of the problem.


Note: If using Smartly, add this to your CSS within the Dashboard settings.

.tile-primary, .tile-contents{
   height: 100% ;

Also see this thread...


App portion coming along nicely. Here's a little example.

Current - Horizontal:

Current - Vertical:

Daily - Can have up to 7 days (each day with 2 parts!)



OH BABY! keep going, I am glued to this thread.
Thank You, Bruce.


Hopefully others can add their LUX code to this driver. Would be greatly appreciated as that is what I use the current DarkSky for.

1 Like

I came here to say this same thing.

If we wanted to change the method of getting solar data, NWS has a nifty solar calculator that could probably be used :slight_smile:

Ditto for this please!

Also request adding Lux

Since this is an app/driver for Weather.gov I ask that anyone that can find a Lux setting come forward with this information. :wink: I haven't seen one that's for sure.

If I recall correctly, the other weather drivers had to use a custom algorithm for these—something that took visibility and time of day into consideration.

I’ll see if I can dig anything up, though. It sure would be nice to have!

1 Like

Beta release on GitHub...

V1.0.0 - 04/07/20 - Initial release

V1.0.0 - 04/07/20 - Initial release

Driver - Data:
V1.0.0 - 04/07/20 - Initial release

Driver - Tile:
V1.0.0 - 04/07/20 - Initial release


I don't recall seeing Lux on any site but I do recall seeing solar radiation in watts/meter^2 which I find much more meaningful. It's been a long time since I've seen it.

DarkSky driver exposed Lux attribute; don't know the inner workings...

Looks like driver derives Lux

// >>>>>>>>>> Begin Lux Processing <<<<<<<<<<
void updateLux(boolean pollAgain=true) {
LOGINFO("UpdateLux $pollAgain")
if(pollAgain) {
String curTime = new Date().format("HH:mm", TimeZone.getDefault())
String newLight
if(curTime < getDataValue("tw_begin") || curTime > getDataValue("tw_end")) {
newLight = "false"
} else {
newLight = "true"
if(newLight != getDataValue("is_lightOld")) {
def (lux, bwn) = estimateLux(getDataValue("condition_code"), getDataValue("cloud").toInteger())
updateDataValue("illuminance", !lux ? "0" : lux.toString())
updateDataValue("illuminated", String.format("%,4d", !lux ? 0 : lux).toString())
updateDataValue("bwn", bwn)
if(pollAgain) PostPoll()


Seem to be getting an error in the Child App. I noticed I could not create a daily tile, it keeps saying Select an Attribute even though the driver had populated the data. I saw this in the logs:

I uninstalled and reinstalled and still showing the same thing,

Sorry about that, try the new version on GitHub...

V1.0.1 - 04/08/20 - Fixed typo

The fix seemed to fix my issue with the tile.


I know this might be a little problem I'm missing the condition image.
Missing in the driver section too.

Can you show me a screenshot of your data device, Current States? Specifically showing the icon attribute.


I think this is what you are asking for

Nope, wrong driver. That's the Tile driver. I need the Data driver.

Like this:

Download the Hubitat app