Kristjan SCHMIDT
a5668b1b99
Magic Mirror -> MagicMirror²
...
Consistent spelling
2022-01-26 23:09:26 +01:00
Christopher Fenner
9e4997aa81
Merge branch 'develop' into patch-1
2022-01-12 20:39:09 +01:00
Christopher Fenner
1619dd29e9
Apply suggestions from code review
2022-01-06 21:28:25 +01:00
Christopher Fenner
24bfaaca7e
use solid type for font awesome icons
2022-01-05 13:18:08 +01:00
Sean Scott
0f596d5620
Update weather.js
...
Set absoluteDates default to false
2022-01-02 14:45:24 -07:00
Sean Scott
a5668ef729
Update forecast.njk
...
Add an absolute date option to the weather module's forecast.
2022-01-02 11:35:29 -07:00
Karsten Hassel
0ec80a7791
move weather-test to e2e
2021-10-16 00:05:12 +02:00
rejas
d4168f6b5d
Use feels_like data from openweathermap instead of calculating it
2021-10-02 22:15:21 +02:00
rejas
0bf3ff9c17
Refer to new docs page for development documentation
2021-09-04 22:49:40 +02:00
rejas
221b6325f6
Cleanup some docs in the weather modules
2021-09-04 13:50:21 +02:00
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
f2bc10c5c0
Add tests for new methods
2021-08-31 23:32:05 +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
rejas
745a5f0376
Move ignoreToday logic into template to fix undefined forecast
2021-08-01 09:39:07 +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
95d1b8a6d0
Corrected formating
2021-06-02 16:25:53 -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
af52b91799
Fix to precipitation logic
...
Found a really dumb error I made that broke compatibility with OpenWeatherMap hourly forecast under certain conditions. This is now fixed.
2021-06-02 11:43:56 -04:00
rejas
1b42dc779b
Run prettier again
2021-05-29 16:11:39 +02:00
Michael Teeuw
a0ee23d84e
Merge pull request #2568 from Crazylegstoo/envcanada
2021-05-29 14:01:04 +02:00
Michael Teeuw
49d2d8c9d0
Merge pull request #2574 from daniel-windsor/forecase-ignore-today
2021-05-29 13:59:55 +02:00
Daniel Windsor
fc5a438cdc
Add flag that removes today entry in forecast
2021-05-26 21:45:24 +12:00
Kevin G
db89da3daa
Ran prettier
2021-05-21 12:11:58 -04:00
Kevin G
463ce394fe
ran prettier...
2021-05-21 10:13:39 -04:00
Kevin G
1faefebe42
Formatting correction for min/max display
2021-05-21 10:06:54 -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
Kevin G
3c76933824
Edit Update
...
Formatting
2021-05-13 11:00:43 -04:00
Kevin G
fa83819bee
Edit update
...
Formatting
2021-05-13 10:59:45 -04:00
Kevin G
b65ae88879
Edit update
...
Formatting
2021-05-13 10:58:08 -04:00
Kevin G
96db21f9bf
Updates to support Environment Canada provider
...
Code updates to support a new weatherobject element called precipitationUnits. For the 'forecast' and 'hourly' UI, the weather module will use this new element if it is not null (i.e. a provider has pushed some value into this object element). If the element is null, then default 'units' processing will still occur. This allows a provider to have a customn unit of measure for precipitation - e.g. Env Canada will use mm for rain and cm for snow.
2021-05-13 10:56: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
veeck
4b8043086e
Merge branch 'develop' into patch-1
2021-04-12 19:28:51 +02:00