Commit Graph

342 Commits

Author SHA1 Message Date
Samer Albahra
3cad6744d0 Merge pull request #84 from PeteBa/fix-attribution
Update tests for attribution
2019-10-27 09:07:02 -07:00
Pete ba
a76a2cf74d Update tests 2019-10-27 15:58:57 +00:00
Samer Albahra
ba129ed0a1 Merge pull request #83 from PeteBa/fix-attribution
Add attribution to Watering Data
2019-10-27 08:47:53 -07:00
Pete ba
0f2607bb19 Add attribution to Watering Data 2019-10-27 14:29:37 +00:00
Samer Albahra
4806428c84 Merge pull request #82 from PeteBa/add-solarradition-to-local
Updated Local Weather Provider
2019-09-29 08:36:15 -07:00
Pete ba
2c141720f6 Fix missing newline 2019-09-23 19:39:07 +01:00
Pete ba
0473199218 Add solarradiation field to Local Weather Provider 2019-09-23 19:12:52 +01:00
Samer Albahra
4bfea405af Merge pull request #81 from Derpthemeus/add-error-codes
Add error codes to watering data errors
2019-09-09 17:33:29 -07:00
Samer Albahra
a9e53da23f Bump version 2019-09-08 19:17:18 -07:00
Matthew Oslan
6e0f9a73b8 Fix bug causing all errors to be treated as unexpected 2019-09-06 15:36:58 -04: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
f8d3c64a33 Fix tests 2019-09-01 11:23:56 -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
Matthew Oslan
ebf78eb677 Merge pull request #78 from OpenSprinkler/translate-darksky-icons-to-owm
Translate DarkSky icons to OWM (until app is updated)
2019-07-16 18:48:25 -04:00
Samer Albahra
a0042c014a Translate DarkSky icons to OWM (until app is updated) 2019-07-16 15:36:12 -07:00
Samer Albahra
c68fdc4880 Update version to 2.0.0 2019-07-16 15:00:20 -07:00
Samer Albahra
3dc6c7bd0c Remove unused code 2019-07-16 14:59:48 -07:00
Matthew Oslan
7df7e0d5ec Merge pull request #77 from OpenSprinkler/eto
Add ETo Support
2019-07-16 17:33:23 -04:00
Samer Albahra
70aa7261ba Merge pull request #75 from Derpthemeus/fix-local-weatherprovider
Use today's local PWS data if yesterday's data is not available
2019-07-16 14:33:05 -07:00
Matthew Oslan
ba302adce4 Merge pull request #76 from OpenSprinkler/dev
Merge `dev` into `master`
2019-07-16 17:28:35 -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
Samer Albahra
3038728d4a Merge pull request #74 from Derpthemeus/dont-error-on-missing-key
Silently fallback to default WeatherProvider if WUnderground API key is omitted
2019-07-12 16:46:22 -07: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
Samer Albahra
61ecb3a8e0 Merge pull request #72 from Derpthemeus/improve-pws-support
Split PWS ID and API key into 2 parameters
2019-07-06 06:43:37 -07: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
Samer Albahra
94681e9f03 Merge pull request #71 from Derpthemeus/cache-watering-scale
Cache calculated watering scale when using data from Dark Sky
2019-07-03 13:31:47 -07:00
Matthew Oslan
5eb696c3e8 Cache calculated watering scale when using data from Dark Sky 2019-07-03 16:26:14 -04:00
Samer Albahra
2567e3a871 Merge pull request #68 from Derpthemeus/minor-fixes
Make minor improvements to WeatherProviders
2019-07-02 15:09:44 -07: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
e80439eff1 Merge pull request #70 from Derpthemeus/add-pws-support
Add PWS support
2019-06-30 16:12:53 -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
Samer Albahra
e646733133 Merge pull request #63 from PeteBa/add-netatmo-instructions
Netatmo PWS instructions
2019-06-25 09:53:41 -07: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