I’m just getting started with my magicmirror project, and having varying success.
I’ve tried a couple of 3rd Party weather modules, but have settled on the default on as I like the simplicity of it.
I’ve managed to configure it to show the current weather, but want to be able to view a forecast. However following the config instructions etc, changing it to a forecast just results in it appearing as loading on the screen.
I’m using weatherbit.io as the provider and config.js is set as follows
module: "weather",
position: "top_right",
config: {
apibase: "https://api.weatherbit.io/v2.0",
weatherEndpoint: "/current",
apiKey: "MY API KEY"
lat: MY LATITUDE
lon: MY LONGITUDE
weather.js
defaults: {
weatherProvider: "weatherbit"
type: "current",
this results in the correct display on magicmirror, however changing the endpoint to “/forecast”, “/daily” or “/forecast/daily” and the type to “forecast”, “daily” or “forecast/daily” just results in the loading icon.
Can anyone shed some light please?
Thanks