Commit Graph

202 Commits

Author SHA1 Message Date
Matthew Oslan
4e65661a70 Create Geocoder abstraction 2020-06-06 14:17:52 -04:00
Matthew Oslan
5b0059ea76 Use consistent field name for weather provider 2020-03-22 14:25:09 -04: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
Samer Albahra
e354931438 Merge pull request #88 from OpenSprinkler/dst-fix
Fix daylight saving time bug
2020-03-09 13:59:51 -07:00
Matthew Oslan
601f6130d7 Fix daylight saving time bug 2020-03-09 16:56:13 -04:00
Matthew Oslan
d56f66e61f Don't reset scale on error for manual mode 2020-03-04 22:36:43 -05:00
Pete ba
0fae1002b5 Initial commit 2019-11-10 22:36:19 +00:00
Samer Albahra
902b401811 Merge pull request #85 from PeteBa/wunderground-precip
Shift WUnderground to use precipTotal
2019-11-10 09:34:42 -08:00
Pete ba
80701302a6 Initial commit 2019-11-10 15:58:03 +00:00
Pete ba
0f2607bb19 Add attribution to Watering Data 2019-10-27 14:29:37 +00:00
Pete ba
0473199218 Add solarradiation field to Local Weather Provider 2019-09-23 19:12:52 +01:00
Matthew Oslan
3f11dbc1cc Tidy up unexpected error handling 2019-09-02 12:11:27 -04:00
Matthew Oslan
1a1ecafcb0 Throw errors instead of returning them 2019-09-02 11:32:38 -04:00
Matthew Oslan
2918527bcb Remove errMessage 2019-09-01 15:05:41 -04:00
Matthew Oslan
d77553bce4 Include an error code in every response 2019-08-31 18:36:25 -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
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
3112498f3c Error if a PWS is used with the ETo AdjustmentMethod 2019-07-06 10:17:44 -04:00
Matthew Oslan
114786efba Merge 'dev' into 'eto' 2019-07-06 10:15:22 -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
Samer Albahra
9149aaaa93 Merge pull request #69 from Derpthemeus/automatic-base-eto
Add baseline ETo endpoint
2019-07-02 15:09:27 -07: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
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
03b1f4c341 Add precipitation to EToAdjustmentMethod rawData 2019-06-25 21:55:21 -04:00
Matthew Oslan
7a7fde393f Add baseline ETo endpoint 2019-06-25 17:11:03 -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
49db07071f Add more information to EToAdjustmentMethod raw data 2019-06-18 18:19:53 -04:00
Matthew Oslan
f68a981257 Change radiation units to kWh 2019-06-18 10:46:51 -04:00
Matthew Oslan
009fa90ec8 Improve clarity 2019-06-17 22:24:06 -04:00
Matthew Oslan
69e8d64f41 Register ETo AdjustmentMethod 2019-06-12 11:02:10 -04:00
Matthew Oslan
3e0141cdac Add ETo AdjustmentMethod 2019-06-11 19:10:32 -04:00
Matthew Oslan
2740c13bad Resolve merge conflicts 2019-06-10 19:08:35 -04:00