Commit Graph

142 Commits

Author SHA1 Message Date
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
Samer Albahra
4b2198fed7 Consolidate OWM mocks 2019-05-13 21:43:35 -05:00
Samer Albahra
2928e3e515 Add test for adjustment method 1 2019-05-13 21:41:37 -05:00
Samer Albahra
9275abde27 Improve categories for tests 2019-05-13 21:38:45 -05:00
Samer Albahra
c1a8b1f96d Merge pull request #26 from Derpthemeus/improve-resolveCoordinates
Improve location resolution error handling
2019-05-13 21:04:33 -05:00
Samer Albahra
caf381ab73 Change tests for new Typescript change 2019-05-13 20:54:03 -05:00
Matthew Oslan
df1ae9e63f Improve location resolution error handling 2019-05-13 20:40:07 -04:00
Samer Albahra
e94f8bf8ff Fix bug with updated geo-tz package 2019-05-13 19:09:33 -05: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
Matthew Oslan
31af9d3320 Use ES6 modules 2019-05-12 01:38:27 -04:00
Matthew Oslan
f0c32a32ba Add HTTPS support to httpRequest 2019-05-12 00:21:19 -04:00
Matthew Oslan
31e7e5401a Rebase on master 2019-05-11 16:21:30 -04:00
Pete ba
7775b2e613 rmloeb feedback and review 2019-05-11 11:37:48 +01:00
Matthew Oslan
08211acbc8 Separate OWMWeatherData and OWMWateringData from TimeData 2019-05-10 19:30:40 -04:00
Matthew Oslan
d53307c602 Update remaining functions to modern TypeScript 2019-05-10 18:49:45 -04:00
Matthew Oslan
b11a125528 Update getWeatherData to modern TypeScript 2019-05-10 12:57:22 -04:00
Matthew Oslan
bef43c9453 Update getOWMWateringData to modern TypeScript 2019-05-09 16:40:50 -04:00
Matthew Oslan
4401781dfa Update getOWMWeatherData to modern TypeScript 2019-05-09 16:29:47 -04:00
Matthew Oslan
cc14e089e2 Update getTimezone and getTimeData to modern TypeScript 2019-05-09 16:19:07 -04:00
Matthew Oslan
bffede7734 Update resolveCoordinates to modern TypeScript 2019-05-09 15:28:18 -04:00
Matthew Oslan
f2f40d2253 Update getData and httpRequest to modern TypeScript 2019-05-09 13:20:49 -04:00
Matthew Oslan
6acb40eed1 Begin refactoring to TypeScript 2019-05-09 00:55:37 -04:00
Pete ba
612f911285 Refactor to dedupe and add version 2019-05-06 15:56:14 +01:00
Pete ba
ca21058977 Rebase on latest master
Revert refactor versioning

Tidy revert of versioning

Bump version
2019-05-06 15:46:41 +01:00
Matthew Oslan
6e0a38ada3 Improve raw data returned by watering level calculation 2019-05-05 19:09:29 -04:00