Commit Graph

160 Commits

Author SHA1 Message Date
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
Karsten Hassel 7ba76020d8 fix e2e tests after spectron update 2021-02-07 00:20:30 +01:00
buxxi 0683734d5a Make a sane default for weatherEndpoint based on the type 2021-01-24 10:32:43 +01:00
buxxi 3c4d7a33e0 Fixing code style issue with no return before default 2021-01-23 12:07:10 +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 78190d9c7f Merge branch 'develop' into Issue-TranslateEncodedHtml 2021-01-21 15:10:14 +01:00
Dan Forsyth 33592b3c0e Removed |safe from translates in the default module templates 2021-01-20 14:06:00 -05:00
Dan Forsyth ad9c2549bc Removed |safe from translates in the default module templates 2021-01-20 13:47:32 -05:00
veeck 90f07295b1 Add extra check for currentweather 2021-01-17 15:00:34 +01:00
rejas 42cac81953 Fix tests 2021-01-15 23:12:44 +01:00
rejas e0d43a4c1e Add new Event CURRENTWEATHER_TYPE
- send it from the weather and currentweather module
- use it in the compliments module directly instead of the data
2021-01-15 21:47:14 +01:00
Ashish Tank 774b86c7dc Code cleanup for feels like translation 2021-01-10 17:37:10 +01:00
Michael Teeuw 6f0f75cf27 Merge pull request #2388 from drewski3420/no_negative_zero
No negative zero
2021-01-07 12:41:30 +01:00
Michael Teeuw 7b36bb025a Improve readabiliy. 2021-01-07 11:51:10 +01:00
Ashish Tank 4a341b381e Added support for variables in nunjucks templates for translate filter 2020-12-31 18:58:21 +01:00
drewski3420@gmail.com e51f6597ed This change prevents returning '-0' (negative zero) when roundTemp is true. 2020-12-30 09:03:19 -05: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 be0c8f4f16 Prettier fix. 2020-12-08 16:01:19 +01:00
Michael Teeuw 46fd2de315 Merge branch 'develop' into develop 2020-12-08 15:53:21 +01:00
Michael Teeuw d43679d59e Merge pull request #2185 from Sub028/master
Weather config enhancement
2020-12-08 15:51:41 +01:00
Michael Teeuw ce46fb5384 Fix Prettier Issue 2020-12-08 15:43:41 +01:00
Michael Teeuw 43b33cb6de Fix prettier issue. 2020-12-08 15:42:01 +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
Aurélien Veillard 198525f2ce Weather config enhancement
Add new parameter 'useKmh' to display wind speed in km/h instead of m/s.
2020-11-07 09:54:13 +01:00
veeck 078438442a Cleanup some log levels 2020-11-06 11:47:29 +01:00
flopp999 d11696015d Update forecast.njk 2020-10-12 09:10:51 +02:00
flopp999 3b76ca4f9b Update forecast.njk 2020-10-12 09:09:42 +02:00
flopp999 1bc0270d7b Update forecast.njk
change name of day to today and tomorrow
2020-10-11 09:36:52 +02:00
Michael Teeuw 207a9ba723 Merge branch 'develop' into bryanzzhu-weather 2020-09-18 12:15:44 +02:00
rejas 86fb1b938b Check for undefined header data in weather modules 2020-08-13 21:51:18 +02:00
rejas fd3f520e95 Fix typos 2020-08-13 21:51:18 +02:00
Bryan Zhu 3901543697 readded processing for numEntries option that I accidentally took out 2020-08-02 00:22:19 -04:00
Bryan Zhu a4d73e2a67 amended code according to pull request reviews 2020-08-01 17:39:58 -04: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
rejas c8664d5952 Cleanup weatherprovider jsdoc 2020-07-30 12:58:35 +02:00
rejas 43bcf4ab98 Run eslint over files, see what gets fixed automatically and clean up 2020-07-27 14:25:43 +02: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