Commit Graph

120 Commits

Author SHA1 Message Date
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
Matthew Oslan
746d938e56 Return raw data used to calculate watering level 2019-05-04 16:11:12 -04:00
Samer Albahra
128c430570 Merge pull request #15 from shampeon/master
Amount of rain to trigger California rain restrictions should be 0.1", not 0.01"
2019-04-28 17:58:01 -06:00
Pete ba
bafdecccca Seperate OWM calls for App and OS 2019-04-20 21:59:11 +01:00
Ian Evans
de627f007e Amount of rain should be 0.1", not 0.01", a typically immesurable amount of rain. 2019-04-18 15:07:16 -07:00
Samer Albahra
e92be3a001 Average the min/max temp for current temp (instead of using day value) 2019-04-10 01:32:25 +03:00
Samer Albahra
0145ee4bef Fix OWM always returning preciption in mm 2019-04-10 01:27:56 +03:00
Samer Albahra
bd7b522e8a Fix forecast bug 2019-03-04 16:18:16 -06:00
Samer Albahra
bdeb5c4579 Zero index the forecast data 2019-03-04 16:17:23 -06:00
Samer Albahra
de4ce48e39 Use daily forcecast data instead of hourly 2019-03-04 16:07:46 -06:00
Samer Albahra
b063bd37e5 Fix list check 2019-03-03 16:17:46 -06:00
Samer Albahra
5fab1adc98 Handle when no list data is provided in OWM reply 2019-03-03 16:13:20 -06:00
Samer Albahra
a1486b91e0 Add forecast data 2019-03-01 13:45:11 -06:00
Samer Albahra
aa5b6fb9ba Add CORS to weather endpoint 2019-03-01 00:25:46 -06:00
Samer Albahra
f1eb400b93 Fix lint issues 2019-02-28 23:25:07 -06:00
Samer Albahra
b51ea21d4e Remove unused code 2019-02-28 09:17:30 -06:00
Samer Albahra
7b5939739f Add endpoint for getting weather data 2019-02-28 09:16:23 -06:00
Samer Albahra
3ec31ae6e3 Encode the API key when passed 2019-01-10 13:35:00 -06:00
Samer Albahra
5d7b5651a5 Average out the incoming data from OpenWeatherMaps 2018-08-28 00:14:27 -05:00
Samer Albahra
616a0bda6f Fix unit tests and remove unused code 2018-07-22 19:31:38 -05:00
Samer Albahra
1fa985e941 Clean up unused code/tests 2018-07-22 18:43:22 -05:00
Samer Albahra
14ed3bdc4e Remove dead code 2018-07-22 13:04:56 -05:00
Samer Albahra
6d8c355869 Handle no valid data states 2018-05-24 08:20:19 -05:00