Skip to content

Open Weather One Call library to gather current, hourly (48), and 7 day weather for your current location

License

Notifications You must be signed in to change notification settings

jf1452/OpenWeatherOneCall

 
 

Repository files navigation

OpenWeatherOneCall v1.2.2

(THIS IS FOR THE ESP32, does NOT operate on other Arduino systems)

Open Weather One Call library to gather current and 7 day weather information
Requires a One Call API Key from http://openweathermap.org
An optional GOOGLE API Key for geolocation through WiFi is available at https://developers.google.com/maps/documentation/javascript/get-api-key
Weather for ANY location can be gathered by sending location coordinates manually, via GPS, or using a CITY ID.


This library is the easiest method for gathering information from One Weather using the One Call API.

For Dark Sky users migrating to a new system all previously used DarkSkySevenDay current and 7 day variables remain intact with noted exceptions

Future versions will incorporate hourly reports

OpenWeatherOneCall v1.2.0 includes the implementation of CITY_ID as an option to geolocation or GPS coordinates. Please make sure you read all documentation to become familiar with the calling routine.If you are upgrading from a previous version it requires an additional parameter!
Thank you for your patience while we gather our wits
during this change in the weather.


# Variables
**CURRENT WEATHER**
Access with OWOC.current.variable
temperature
apparentTemperature
pressure
humidity
dewPoint
uvIndex (midday number)
cloudCover
visibility
windSpeed
windBearing
windGust
icon

**DEPRECATED DARKSKY VARIABLES**
nearestStormDistance
nearestStormBearing
precipIntensity
precipProbability
ozone


**FUTURE WEATHER**
Access with OWOC.forecast[x].variable
sunriseTime
sunsetTime
temperatureHigh
temperatureMin
temperaturemax
temperatureLow
apparentTemperatureHigh
apparentTemperatureLow
pressure
humidity
dewPoint
windSpeed
windBearing
precipType
icon
cloudCover
precipIntensity
uvIndex

**DEPRECATED DARKSKY VARIABLES**
summary
moonPhase
precipIntensityMax
precipIntensityMaxTime
precipProbability
temperatureHighTime
temperatureLowTime
apparentTemperatureLowTime
windGust
windGustTime
uvIndexTime
ozone
temperatureMinTime
temperatureMaxTime
apparentTemperatureMaxTime
apparentTemperatureMinTime

About

Open Weather One Call library to gather current, hourly (48), and 7 day weather for your current location

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 77.4%
  • C++ 22.6%