Skip to content

Documentation correction for default weather module #208

@jazz-b

Description

@jazz-b

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
		}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions