Commit Graph

44 Commits

Author SHA1 Message Date
todd
c25a2961ba fixing compile time error 2021-10-06 14:27:26 -07:00
todd
618af6c00b removing date code, just noticed you are using moment anyhow so I should have used that anyhow. 2021-10-06 13:59:01 -07:00
todd
256f63c870 Fixing issues with the OWM weather service after their recent changes to the API 2021-10-06 13:33:59 -07:00
Matthew Oslan
b743fc2cb5 Merge branch 'master' into reduce-response-size
# Conflicts:
#	routes/weatherProviders/DarkSky.ts
2020-03-21 16:40:35 -04:00
Matthew Oslan
a563cbd21c Reduce length of weatherProvider field in response 2020-03-21 16:37:03 -04:00
Matthew Oslan
601f6130d7 Fix daylight saving time bug 2020-03-09 16:56:13 -04:00
Pete ba
80701302a6 Initial commit 2019-11-10 15:58:03 +00:00
Pete ba
0473199218 Add solarradiation field to Local Weather Provider 2019-09-23 19:12:52 +01:00
Matthew Oslan
2918527bcb Remove errMessage 2019-09-01 15:05:41 -04:00
Matthew Oslan
9b99b993ab Add error codes to watering data errors 2019-08-24 19:02:41 -04:00
Samer Albahra
a0042c014a Translate DarkSky icons to OWM (until app is updated) 2019-07-16 15:36:12 -07:00
Matthew Oslan
7df7e0d5ec Merge pull request #77 from OpenSprinkler/eto
Add ETo Support
2019-07-16 17:33:23 -04:00
Matthew Oslan
615d1dd145 Use today's local PWS data if yesterday's data is not available
Fixes #73
2019-07-16 15:10:01 -04:00
Matthew Oslan
114786efba Merge 'dev' into 'eto' 2019-07-06 10:15:22 -04:00
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
a248eaab53 Merge 'dev' into 'eto' 2019-06-30 16:33:54 -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
36c2435895 Merge pull request #66 from Derpthemeus/add-eto-support-to-owm
Add ETo support to OWM
2019-06-22 14:24:13 -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
6aa3b7a5b7 Add ETo support to OWM 2019-06-20 14:03:21 -04:00
Matthew Oslan
ca42db5d80 Add ETo support to Dark Sky 2019-06-20 11:57:03 -04:00
Matthew Oslan
3e0141cdac Add ETo AdjustmentMethod 2019-06-11 19:10:32 -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