408 Commits

Author SHA1 Message Date
Samer Albahra
e55589aae3 Bump version 2020-03-22 10:55:05 -07:00
Samer Albahra
438151c646 Merge pull request #91 from OpenSprinkler/reduce-response-size
Reduce response size
2020-03-21 18:32:11 -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
Samer Albahra
fb52d18b8b Merge pull request #90 from OpenSprinkler/dependabot/npm_and_yarn/lodash-4.17.15
Bump lodash from 4.17.11 to 4.17.15
2020-03-09 14:06:08 -07:00
Samer Albahra
7713bd7511 Merge pull request #89 from OpenSprinkler/dependabot/npm_and_yarn/mixin-deep-1.3.2
Bump mixin-deep from 1.3.1 to 1.3.2
2020-03-09 14:05:41 -07:00
dependabot[bot]
7ef70869c4 Bump lodash from 4.17.11 to 4.17.15
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-09 21:00:14 +00:00
dependabot[bot]
0501159a1f Bump mixin-deep from 1.3.1 to 1.3.2
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-09 21:00:13 +00: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
Samer Albahra
a351b8797d Merge pull request #87 from OpenSprinkler/dont-reset-scale
Don't reset scale on error for manual mode
2020-03-09 13:59:40 -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
Samer Albahra
0cfd777963 Merge pull request #86 from PeteBa/add-pws-to-raindelay
Add PWS support to RainDelay adjustment method
2019-11-10 16:18:00 -08: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
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