Skip to content

Adding SMHI as a provider for the weather module#2361

Merged
MichMich merged 2 commits intoMagicMirrorOrg:developfrom
buxxi:smhi-provider
Dec 21, 2020
Merged

Adding SMHI as a provider for the weather module#2361
MichMich merged 2 commits intoMagicMirrorOrg:developfrom
buxxi:smhi-provider

Conversation

@buxxi
Copy link
Contributor

@buxxi buxxi commented Dec 19, 2020

Created a new provider for weather data that uses SMHI (Sveriges meteorologiska och hydrologiska institut) that provides weather data for Sweden (and a bit of the neigbouring countries).

  • Uses SunCalc for sunset and sunrise since the api doesn't provide it.
  • Only returns metric units. Shouldn't this conversion be made in the weather-module instead so each provider doesn't have to convert to all the possible units?

@MichMich MichMich merged commit 0419e06 into MagicMirrorOrg:develop Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants