MagicMirror icon indicating copy to clipboard operation
MagicMirror copied to clipboard

Openmeteo shows apparent temperature in hourly and daily

Open F3RIXX opened this issue 2 years ago • 0 comments

I use openmeteo as the weatherprovider. It works good.

In the current weather is all fine.

But when I put the hourly and the daily in, it shows me the apparent temperature and not the temperature itself.

	{
		module: "weather",
		position: "top_right",
		config: {
			weatherProvider: "openmeteo",
			apiBase: "https://api.open-meteo.com/v1",
			lat: "xx",
			lon: "xx",
			windUnits: "kmh",
			updateInterval: "300000",
			appendLocationNameToHeader: false,
			showSun: false,
			showHumidity: "true"
		}
	},
	{
		module: "weather",
		position: "top_right",
		config: {
			weatherProvider: "openmeteo",
			apiBase: "https://api.open-meteo.com/v1",
			lat: "xx",
			lon: "xx",
			type: "hourly",
			maxEntries: "7",
			showPrecipitationAmount: "true",
			showPrecipitationProbability: "true",
			updateInterval: "1800000",
			appendLocationNameToHeader: false,
			fade: false
		}
	},
	{
		module: "weather",
		position: "top_right",
		config: {
			weatherProvider: "openmeteo",
			apiBase: "https://api.open-meteo.com/v1",
			lat: "xx",
			lon: "xx",
			maxNumberOfDays: "7",
			type: "daily",
			showPrecipitationAmount: "true",
			showPrecipitationProbability: "true",
			updateInterval: "7200000",
			appendLocationNameToHeader: false,
			fade: false
		}
	},

I'm confused, and don't know where I have to look to change it. I looked in the provider folder the openmeteo.js too, and changed there something from apparent to temperature_2m, but it didn't worked.

Can you/somebody help me?

Thanks

F3RIXX avatar Nov 23 '23 19:11 F3RIXX