Samer Albahra
10bcbfe835
Parse the float correctly instead of using as string
2018-05-20 17:09:40 -05:00
Samer Albahra
4637ac0fbe
Fix the comment
2018-05-20 17:07:30 -05:00
Samer Albahra
b332eaaf14
Improve request to OWM
2018-05-20 17:06:23 -05:00
Samer Albahra
aa266d5d8b
Fix missing precip data from OpenWeatherMap
2018-05-20 17:00:25 -05:00
Samer Albahra
e938f57c3c
Fix issue retrieving timezone data for OpenWeather Map
2018-05-20 16:27:08 -05:00
Samer Albahra
d19f121559
Fix spacing issue
2018-05-20 16:07:40 -05:00
Samer Albahra
9f32feee42
Remove debugging code
2018-05-20 16:06:00 -05:00
Samer Albahra
22d7fa5892
Add OpenWeatherMap and set it as the default when no key is provided
2018-05-20 16:04:00 -05:00
Samer Albahra
f69fef232a
Update timezone lookup to use offline method instead of Google API
2018-05-19 09:53:22 -05:00
Rui Wang
bf538ab085
fix the conditional operator for precip calculation to avoid NaN issue
2016-06-08 09:48:35 -04:00
Samer Albahra
9baf984fd2
Update all dependencies
2016-06-04 01:54:55 -05:00
Samer Albahra
58e5db163c
Correctly clamp precipitation value to 0 when negative
2016-06-04 01:40:29 -05:00
Samer Albahra
9c827ded59
Merge pull request #5 from PeteBa/zimm2
...
Added ability to set reference weather conditions (Temp, Rain, Humidity) to the Zimmerman adjustment method
2016-03-12 15:34:05 -08:00
Peter Basham
9b12b2b29e
Minor changes to pass automated npm test
2016-03-11 19:26:07 +00:00
Peter Basham
0b145bf936
Minor change to explicitly declare variables and pass lint tests
2016-03-11 18:35:39 +00:00
Peter Basham
5a71213c80
Added ability to set reference weather conditions (Temp, Rain, Humidty) to the Zimmerman adjustment method
2016-03-11 17:57:49 +00:00
Samer Albahra
02e5e233c7
Restore missing variable updates
2016-02-22 17:47:43 -06:00
Samer Albahra
a1145690ca
Minor fixes from previous pull request
2016-02-21 13:31:17 -06:00
Samer Albahra
3b5fa86d39
Merge pull request #4 from PeteBa/Local-Hosting
...
Allow port to be user-configurable
2016-02-21 13:28:12 -06:00
Peter Basham
a1bd09176f
Avoid port conflicts when Firmware, App and Weather are hosted on the same local RPi
2016-02-21 14:29:07 +00:00
Samer Albahra
b5b4ab3115
Fix default value for users with Auto Rain Delay method
2015-11-25 03:22:26 -06:00
Samer Albahra
3f9f3df53b
Verify Google feedback is correct and use API key
2015-11-21 14:00:55 -06:00
Samer Albahra
87b7b779ba
Fix incorrect weather call
2015-11-02 17:16:50 -06:00
Samer Albahra
cc549afb69
Remove Open Weather Map dependency
2015-11-02 17:14:58 -06:00
Samer Albahra
175e0d6c10
Add API Key for Open Weather Maps
2015-10-09 17:00:35 -05:00
Samer Albahra
2a73c76f8e
Fix JSHint error
2015-09-23 22:55:42 -05:00
Samer Albahra
cc94e4b26c
Fix sunrise/sunset times by adding timezone offsets when using OWM
2015-09-23 22:53:45 -05:00
Samer Albahra
c8dab8e58c
Fix issues sourcing data from weather.com by using OpenWeatherMaps
2015-09-23 22:35:22 -05:00
Samer Albahra
6fe876cfc5
Remove weather data dependency
2015-09-20 22:30:45 -05:00
Samer Albahra
64cb5ce436
Remove incorrect comment
2015-08-20 18:20:54 -05:00
Samer Albahra
2b960f6f44
Additional minor improvements
2015-08-11 15:28:41 -05:00
Samer Albahra
7425a65038
Update incorrect reference to callback
2015-08-11 15:24:30 -05:00
Samer Albahra
36a70a14ce
Small improvements and code cleaning
2015-08-11 15:21:57 -05:00
Samer Albahra
76acc76f0f
Fix bug referencing invalid value from cache
2015-08-07 20:34:02 -05:00
Samer Albahra
57b44e4dd6
Fix bug parsing adjustment options when encoded in \x?? format
2015-08-07 20:31:13 -05:00
Samer Albahra
f2a02d4f42
Correctly support Weather Underground unique IDs
2015-08-02 00:06:28 -05:00
Samer Albahra
a8827dbb96
Use the correct adjustmentOption for auto rain delay
2015-07-30 22:30:48 -07:00
Samer Albahra
58bc020f34
Move weather-based rain delay into it's own adjustment method
...
The previous implementation caused the scale to change to zero for
user’s not using a weather adjustment method. This is not ideal since
the water scale will remain at 0% until there is user intervention.
Now it will be a user selectable method which uses a user-configurable
delay value which defaults to 24 hours.
2015-07-30 21:23:19 -07:00
Samer Albahra
abb37cc2bb
Remove code climate badge
2015-07-30 20:57:52 -07:00
Samer Albahra
1d1ecea46b
Add secondary method to retrieve data from weather.com
...
Currently incomplete as it does not get precipitation data
2015-07-24 01:44:49 -05:00
Samer Albahra
9ef4cb759b
Use Weather Underground astronomy data for sun rise/set
...
Changes discussed in issue #3
2015-07-23 18:25:23 -05:00
Samer Albahra
eeae47ef5d
Change the way restrictions are applied
2015-07-19 23:01:35 -05:00
Samer Albahra
b11f952502
Remove duplicate JSHint dependency
2015-07-12 16:04:31 -05:00
Samer Albahra
d832c61f0b
Add ability to test against Weather Underground
2015-07-12 15:54:51 -05:00
Samer Albahra
ec2d681299
Add code coverage badge
2015-07-12 15:26:02 -05:00
Samer Albahra
a4d466e0e8
Add code coverage and upload to Codecov.io
2015-07-12 15:16:39 -05:00
Samer Albahra
34752edd74
Add expected data reply to compare
2015-07-12 14:24:27 -05:00
Samer Albahra
9cacab7deb
Added first working version of unit tests
2015-07-12 09:41:47 -05:00
Samer Albahra
5190a65b77
Update package version in readme to working image
2015-07-09 21:31:11 -05:00
Samer Albahra
aa2eccc955
Replace coverage badge with code climate badge
2015-07-09 15:16:53 -05:00