DarkSky.net Weather Driver
Summary[edit | edit source]
This driver is intended to pull weather data from DarkSky.net No Personal Weather Station (PWS) required.
Features[edit | edit source]
The driver exposes a default set of attributes for weather capabilities:
- humidity
- illuminance
- pressure
- temperature
- ultravioletIndex
Plus a small set of 'Required for Dashboard' attributes (used by SmartTiles/SharpTool.io, and maybe some others)
- city
- feelsLike
- forecastIcon
- localSunrise
- localSunset
- percentPrecip
- weather
- weatherIcon
- weatherIcons
- wind
- WindDirection
- windSpeed
There are many other 'optional' attributes that can be selected if you need those exposed. It is best to keep those off if you do not require them as they will increase the Hub database size if selected. You can turn 'on' the 'Display All Preferences' then hit 'Save Preferences' to expose the optional attributes. Turn on those you want, turn off those you no longer want, then 'Save Preferences' again. You can turn off 'Display All Preferences' then 'Save Preferences' to hide those options and reduce the clutter on the driver display. NOTE: You do NOT have to select the optional attribute to allow those specific attributes to show in either the 'myTile' or 'weatherSummary' attributes (e.g. 'alert' will show in myTile and weatherSummary even if it is not selected). Optional attributes include:
- alert -- Display any weather alert?
- betwixt -- Display the 'slice-of-day'?
- cloud -- Display cloud coverage %?
- condition_code -- Display 'condition_code'?
- condition_icon_only -- Display 'condition_code_only'?
- condition_icon_url -- Display 'condition_code_url'?
- condition_icon -- Dislay 'condition_icon'?
- condition_iconWithText -- Display 'condition_iconWithText'?
- condition_text -- Display 'condition_text'?
- dewpoint -- Display the dewpoint?
- fcstHighLow -- Display forecast High/Low temperatures?
- forecast_code -- Displays 'forecast_code'?
- forecast_text -- Displays 'forecast_text'?
- illuminated -- Display 'illuminated' (with 'lux' added for use on a Dashboard)?
- is_day -- Display 'is_day'?
- localSunrise -- Display the Group of 'Time of Local Sunrise and Sunset,' with and without Dashboard text?
- myTile -- Display 'mytile'?
- moonPhase -- Display 'moonPhase'?
- nearestStorm -- Display the neastestStorm data?
- nearestStormBearing -- Display 'nearestStormBearing'?
- nearestStormCardinal -- Display 'nearestStormCardinal'?
- nearestStormDirection -- Display 'nearestStormDirection'?
- nearestStormDistance -- Display 'nearestStormDistance'?
- ozone -- Display 'ozone'?
- percentPrecip -- Display the Chance of Rain, in percent?
- summarymessage -- Display the Weather Summary?
- precipExtended -- Display precipitation forecast?
- obspoll -- Display Observation and Poll times?
- vis -- Display visibility distance?
- wind_cardinal -- Display the Wind Direction (text initials)?
- wind_degree -- Display the Wind Direction (number)?
- wind_direction -- Display the Wind Direction (text words)?
- wind_gust -- Display the Wind Gust?
- wind_string -- Display the wind string?
Where is the Code[edit | edit source]
- Direct link to this drivers code - DarkSky.net Weather Driver
- All my Apps and Drivers can be found here - HubitatCommunity
Release Announcement on Hubitat Forum[edit | edit source]
All updates, feedback and discussions regarding this driver can be found here... Hubitat Community Forum