veeck
a7756cec13
Inline some functions
2021-09-02 20:37:41 +02:00
veeck
9ee11654a6
Update jsdocs
2021-09-02 20:35:43 +02:00
veeck
a273266e5e
Remove useless returns and now unused jsdoc variables
2021-09-02 20:35:25 +02:00
rejas
c132206543
Use new method in ukmetofficedatahub provider
2021-09-01 20:02:45 +02:00
rejas
d7429a4812
Add eslint rule for === vs == and fix its occurence
2021-08-31 23:39:40 +02:00
rejas
be76d5ce9a
Use new method in smhi provider
2021-08-31 23:34:22 +02:00
rejas
43eb760bce
Use isDayTime method
2021-08-31 22:01:30 +02:00
rejas
a7684e3e9f
Add common method for determining if it is daytime
2021-08-31 21:55:43 +02:00
rejas
8949aa3bec
Add common method for updating suntimes
2021-08-31 21:41:27 +02:00
Adam Piontek
1a8413d8f0
update weathergov provider to try fetching not just current but also forecast when API URLs available
2021-08-10 18:54:34 -04:00
rejas
3a5052c871
Final jsdoc comments
2021-08-05 16:38:57 +02:00
rejas
cd18794fca
Update jsdocs
2021-08-01 09:53:28 +02:00
veeck
36d6a5bc15
Start cleaning up some jsdoc
2021-07-14 10:41:29 +02:00
rejas
2619f92d09
More var -> let/const conversions
2021-07-14 10:41:29 +02:00
veeck
bcff953fbb
Fix warning in weather provider
2021-07-14 10:41:29 +02:00
veeck
bcc0cc599d
Fix == usages
2021-07-14 10:41:29 +02:00
Michael Teeuw
7fdf7de11c
Merge pull request #2600 from njwilliams/njw/openweathermap-onecall-fix
2021-06-25 11:32:49 +02:00
Nick Williams
775d1091db
typo when not using /onecall - was getting forecast from wrong attr
2021-06-24 21:39:32 -04:00
Nick Williams
e686611890
update One Call API results for openweathermap
...
The results from the /onecall endpoint were not
being parsed correctly in current and forecast mode - it was
assuming the current/forecast endpoint API, and the return
datasets are different. The effect was that the module
would simply display "Loading..." when in /onecall mode, since
it has no way of displaying error status (ideally, it should,
but leave that for another day)
2021-06-17 19:30:56 -04:00
Kevin G
0ecb66c99e
Fixed precipitation unit conversion logic
...
Found an error that precipitation amount was not being calculated correctly when config.js is asking for Imperial units. This has been fixed.
2021-06-02 16:15:44 -04:00
Kevin G
463ce394fe
ran prettier...
2021-05-21 10:13:39 -04:00
Kevin G
c4fd4e0317
New provider - Environment Canada
...
Added a new provider that pulls weather data - current, forecast, and hourly - from Environment Canada (Canadian gov weather service). This provider supports Canadian locations only. Documentation will be provided that outlines specific behaviours of this provider and required 'weather' modules parms for Env Canada.
2021-05-13 11:12:30 -04:00
rejas
838eed2630
Use es6 notation in weatherprovider
2021-04-18 15:06:06 +02:00
rejas
2ababa521d
Use es6 notation in weather module and ukmet provider
2021-04-17 16:29:38 +02:00
veeck
10c47a6c38
Really run prettier
2021-04-12 19:33:23 +02:00
Gerardo Gonzalez
331d147d50
Update ukmetofficedatahub.js
...
There is a wrong treatment to appendLocationNameToHeader.
The location should be always returned and leave the weater.js to decide if is included or not in the header.
2021-04-10 01:20:52 +01:00
Robby Griffin
cdd1853369
Fix weather module openweathermap not loading if lat and lon set without onecall. Lat and Lon take precedence over LocationID and Location.
2021-03-11 12:48:41 -05:00
buxxi
0683734d5a
Make a sane default for weatherEndpoint based on the type
2021-01-24 10:32:43 +01:00
buxxi
5a421220c9
Updating readme and changelog and fixing typo in method
2021-01-23 11:40:02 +01:00
buxxi
41508931be
Moving default values regarding specific providers into the providers themselves
2021-01-23 11:21:56 +01:00
buxxi
e2cfa24686
make weatherprovider have a method for hourly fetching instead of a generic weatherData
2021-01-23 10:45:55 +01:00
buxxi
d48113f2d9
Moving openweathermap specific check for hourly into its provider and make invalid types fail nicer
2021-01-23 10:13:41 +01:00
Michael Teeuw
a8ef594dab
Stupid commit to check github actions.
2020-12-21 11:23:02 +01:00
buxxi
3f851c1fd6
Adding SMHI as a provider for the weather module
2020-12-19 11:13:46 +01:00
Michael Teeuw
e950cdaf32
Prettier fixes.
2020-12-08 16:20:48 +01:00
Michael Teeuw
f97be2f8f3
Fix prettier issue.
2020-12-08 16:07:11 +01:00
Michael Teeuw
46fd2de315
Merge branch 'develop' into develop
2020-12-08 15:53:21 +01:00
Michael Teeuw
7944045893
Merge branch 'develop' into weatherbit
2020-11-15 19:59:12 +01:00
Andrew
92ab705ff5
Update weatherbit.js
...
Post npm lint:prettier
2020-11-14 18:32:18 -05:00
Andrew
2951f0c40c
Update weatherbit.js
2020-11-14 18:28:20 -05:00
Aurélien Veillard
1460f002ab
Add new parameter "useKmh" to weather module
...
Add new parameter "useKmh" to weather module for displaying wind speed as km/h instead of m/s when windUnits is set to metric.
2020-11-08 14:01:02 +01:00
Aurélien Veillard
0d6f736c2c
Fix windspeed convertion error in ukmetoffice weather provider
...
Fix windspeed convertion error from mph to m/s in ukmetoffice weather provider (#2189 )
2020-11-08 12:37:21 +01:00
Andrew
da88e11d04
Add files via upload
...
Adds support for Weatherbit.io
API Key needed, based on existing classes for Dark Sky and Weather.gov
2020-11-07 20:15:54 -05:00
veeck
078438442a
Cleanup some log levels
2020-11-06 11:47:29 +01:00
Bryan Zhu
f6854f58ff
ran prettier on weather module code
2020-08-01 14:03:48 -04:00
Bryan Zhu
b1a67d1fc5
integrated onecall usage into existing types
2020-08-01 02:59:08 -04:00
easyas314
1244121216
change weathergov.js for multi-URL api
2020-07-11 15:01:16 -04:00
easyas314
46543daa13
Merge branch 'wxGov' of github.com:easyas314/MagicMirror into wxGov
2020-07-11 14:56:35 -04:00
Brad Simmons
6277384bf9
Merge pull request #3 from MichMich/develop
...
Merge MM/Develop
2020-07-11 14:54:22 -04:00
Bryan Zhu
85ed1b85ae
added functional current, hourly, and daily forecasts via OpenWeatherMap One Call API
2020-07-01 05:08:04 -04:00