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
|
2992df9c33
|
Remove "pws:" prefix from PWS ID
|
2019-07-12 20:04:25 -04:00 |
|
Matthew Oslan
|
5787300b87
|
Silently fallback to default WeatherProvider if PWS key is omitted
|
2019-07-12 19:43:25 -04:00 |
|
Matthew Oslan
|
c53e60e090
|
Split PWS ID and API key into 2 parameters
|
2019-07-06 09:30:32 -04:00 |
|
Matthew Oslan
|
7ea1824048
|
Improve PWS support
The previous implementation would have required a firmware update
|
2019-07-05 22:47:07 -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
|
aa26698481
|
Fix compatibility with earlier Node.js versions
Named regex match groups are not supported until Node.js 10.0.0
|
2019-06-29 13:10:22 -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
|
95dadf601d
|
Document that AdjustmentOptions are non-nullable
|
2019-06-28 16:19:40 -04:00 |
|
Matthew Oslan
|
375cda9e11
|
Fix tests
|
2019-06-25 22:13:15 -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
|
2740c13bad
|
Resolve merge conflicts
|
2019-06-10 19:08:35 -04:00 |
|
Matthew Oslan
|
451ab32b7f
|
Resolve merge conflicts
|
2019-06-10 16:58:11 -04:00 |
|
Matthew Oslan
|
3f748704e0
|
Automatically URL query format response
|
2019-06-09 12:07:09 -04:00 |
|
Matthew Oslan
|
0281a835e2
|
Refactor adjustment method selection
|
2019-06-09 11:34:53 -04:00 |
|
Matthew Oslan
|
6648dbc20e
|
Move mock WeatherProvider to weather.spec.ts
|
2019-06-06 17:17:34 -04:00 |
|
Matthew Oslan
|
f489993d8c
|
Make error handling backwards compatible
|
2019-06-06 17:14:03 -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
|
16b13c1e43
|
Handle errors thrown by calculateZimmermanWateringScale
|
2019-06-06 13:01:26 -04:00 |
|
Matthew Oslan
|
69d08ed1b9
|
Add mock WeatherProvider
|
2019-06-06 12:25:49 -04:00 |
|
Matthew Oslan
|
b44cd4502c
|
Overhaul error handling
|
2019-06-06 10:46:24 -04:00 |
|
Matthew Oslan
|
cd6285fa86
|
Don't disable watering when rain is forecasted
|
2019-05-31 22:09:23 -04:00 |
|
Matthew Oslan
|
74f6a00f7b
|
Fix weather restrictions check
This was accidentally removed in a bad merge
|
2019-05-27 02:56:57 -04:00 |
|
Matthew Oslan
|
8c94af1fdb
|
Merge branch 'master' into improve-weather-provider-handling
|
2019-05-27 01:47:59 -04:00 |
|
Matthew Oslan
|
3df8e8b972
|
Merge branch 'master' into improve-weather-provider-handling
|
2019-05-27 01:40:21 -04:00 |
|
Pete ba
|
7edae63027
|
Revert California Restrictions check
|
2019-05-27 04:09:21 +01:00 |
|
Samer Albahra
|
fa5e684975
|
Merge pull request #38 from Derpthemeus/use-rolling-window
Update Dark Sky WeatherProvider
|
2019-05-26 12:47:54 -05:00 |
|
Matthew Oslan
|
e115343cb9
|
Actually use most recent data
|
2019-05-26 12:42:37 -04:00 |
|
Matthew Oslan
|
7ab7a1cec2
|
Miscellaneous code cleanup
|
2019-05-26 00:55:18 -04:00 |
|
Matthew Oslan
|
31e443620c
|
Use most recent data and cleanup code
|
2019-05-26 00:54:15 -04:00 |
|
Matthew Oslan
|
4490df0aef
|
Improve WeatherProvider error handling
|
2019-05-25 15:00:42 -04:00 |
|
Matthew Oslan
|
4c0a1d2e47
|
Merge branch 'master' into improve-weather-provider-handling
|
2019-05-23 14:54:34 -04:00 |
|
Matthew Oslan
|
dec9f31dec
|
Revert "Add support for fallback WeatherProviders"
This reverts commit 0e23e56817.
|
2019-05-23 14:36:34 -04:00 |
|
Samer Albahra
|
10c3a67387
|
Hide raw data when not used
|
2019-05-23 11:08:27 -05:00 |
|
Matthew Oslan
|
1313e170fb
|
Don't fetch WateringData if manual watering mode is being used
|
2019-05-23 11:53:52 -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
|
0297341670
|
Refactor watering scale adjustment method selection
|
2019-05-21 21:32:58 -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 |
|
Samer Albahra
|
9bbb41421f
|
Fix unit tests by mocking the date
|
2019-05-19 10:37:17 -05:00 |
|
Pete ba
|
5d8ab45244
|
Addresses rmloeb feedback
|
2019-05-19 09:12:02 +01:00 |
|