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

On Data Refresh, Imperial Changes to Metric #17

Open
taeganw opened this issue Nov 3, 2024 · 1 comment
Open

On Data Refresh, Imperial Changes to Metric #17

taeganw opened this issue Nov 3, 2024 · 1 comment

Comments

@taeganw
Copy link

taeganw commented Nov 3, 2024

Ill try and add some more details, but it seems every 10 minutes (update interval) the pull changes the units value from imperial to metric.

my current config:
{
module: "MMM-OpenWeatherMapForecast", //https://github.com/MarcLandis/MMM-OpenWeatherMapForecast?tab=readme-ov-file
header: "Weather Forecast",
position: "top_left",
classes: "default everyone",
config: {
apikey: "",
latitude: "XXX",
longitude: "XXX",
iconset: "4c",
updateInterval:"10", // Every 10 minutes
mainIconset : "6fa", // Animated Icons
colored: true,
concise: true,
units:"imperial",
showDailyForecast: true,
forecastLayout: "tiled"
}
},

Let me know if I need to supply logs! Thanks

@taeganw
Copy link
Author

taeganw commented Nov 3, 2024

To fix this issue, I set the main magicMirror class to have units: "imperial" from its default "metric". my guess is the logic for this module checks the main object in the config value, no matter what the OpenWeatherMapForecast object contains. Not an issue, but I do think the child module value should override the parent.

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