Commit Graph

25 Commits

Author SHA1 Message Date
Matthew Oslan
5eb696c3e8 Cache calculated watering scale when using data from Dark Sky 2019-07-03 16:26:14 -04:00
Matthew Oslan
a92f488ec3 Use fixed calendar day window in Dark Sky WeatherProvider 2019-07-02 17:15:09 -04:00
Matthew Oslan
dd92b8ecf8 Make both Dark Sky API calls simultaneously 2019-06-30 18:24:58 -04:00
Matthew Oslan
62f4a62cdf Merge branch 'dev' into minor-fixes 2019-06-30 16:40:41 -04:00
Matthew Oslan
5f35b0410c Add WUnderground WeatherProvider with Zimmerman PWS support 2019-06-28 20:13:51 -04:00
Matthew Oslan
dc171ebe68 Refactor watering scale logic flow 2019-06-28 20:07:22 -04:00
Matthew Oslan
930a0026de Improve handling of missing data in Dark Sky 2019-06-21 19:53:28 -04:00
Matthew Oslan
8d9fb96ea9 Error if WeatherProvider API key is not provided 2019-06-21 17:25:18 -04:00
Matthew Oslan
b57b019295 Add default implementations to WeatherProvider 2019-06-06 16:17:06 -04:00
Matthew Oslan
8368991c67 Convert WeatherProvider from interface to class 2019-06-06 16:11:59 -04:00
Matthew Oslan
b44cd4502c Overhaul error handling 2019-06-06 10:46:24 -04:00
Matthew Oslan
3df8e8b972 Merge branch 'master' into improve-weather-provider-handling 2019-05-27 01:40:21 -04:00
Matthew Oslan
e115343cb9 Actually use most recent data 2019-05-26 12:42:37 -04:00
Matthew Oslan
31e443620c Use most recent data and cleanup code 2019-05-26 00:54:15 -04:00
Matthew Oslan
dec9f31dec Revert "Add support for fallback WeatherProviders"
This reverts commit 0e23e56817.
2019-05-23 14:36:34 -04:00
Matthew Oslan
c181d12992 Ignore forecast data when calculating Dark Sky watering scale 2019-05-22 15:10:26 -04:00
Matthew Oslan
4ffeed5999 Convert local to a WeatherProvider 2019-05-21 22:49:49 -04:00
Matthew Oslan
bcd006acf3 Add WeatherProvider ID to returned data 2019-05-21 22:35:53 -04:00
Matthew Oslan
0e23e56817 Add support for fallback WeatherProviders 2019-05-21 22:14:46 -04:00
Matthew Oslan
56bf8a5962 Cleanup getWeatherData in DarkSky.ts 2019-05-20 16:41:12 -04:00
Matthew Oslan
d58e48293d Use rolling 24 hour window for watering scale 2019-05-20 16:37:46 -04:00
Matthew Oslan
0a75b3da52 Use 24 hour windows in OWM WeatherProvider 2019-05-13 19:43:35 -04:00
Matthew Oslan
e1750287b3 Use historic data for watering level calculation with Dark Sky 2019-05-13 19:41:00 -04:00
Matthew Oslan
16e913caf3 Add support for DarkSky API 2019-05-13 15:14:06 -04:00
Matthew Oslan
ee31e736ba Allow dynamic selection of weather provider 2019-05-12 01:55:00 -04:00