Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation correction for default weather module #208

Open
jazz-b opened this issue Nov 1, 2023 · 0 comments
Open

Documentation correction for default weather module #208

jazz-b opened this issue Nov 1, 2023 · 0 comments

Comments

@jazz-b
Copy link

jazz-b commented Nov 1, 2023

On https://docs.magicmirror.builders/modules/weather.html, in the Configuration Options section, under 'UK Met Office (ukmetoffice) options', for the 'apiBase' config option, the 'possible value' displayed is not correct.

The URL displayed starts with https, when it should be http. Using https results in a CORS error, whilst using http results in the weather being displayed as it should.

Note that corroberating information can be found in the overview section at: https://www.metoffice.gov.uk/services/data/datapoint/api-reference

Platform: Raspberry Pi 4
Node Version: 20.0.0
MagicMirror² Version: 2.25.0
My Working Configuration:

{
		module: "weather",
		position: "top_right",
		config: {
				apiBase: "http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/json/",
				locationID: 324240,
				apiKey: "SENSITIVE INFO REMOVED",
				weatherProvider: "ukmetoffice",
				type: "daily",
				roundTemp: true,
				degreeLabel: true,
				updateInterval: 21600000, // 21600000 = 6 hours
				showPrecipitationProbability: true
		}
}
@khassel khassel transferred this issue from MagicMirrorOrg/MagicMirror Nov 1, 2023
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

No branches or pull requests

1 participant