Read the statement by Michael Teeuw here.
MMM-OpenWeatherForecast Error 401
-
@Vauxdvihl Are you using the fork from Tom-Hirschberger?
-
@KristjanESPERANTO
No…hmm i don’t know
Can you guide me?
Thx -
For this is also really spuky
Using the default weather module with my api key
Config “OpenweatherMap”
Everything runs fine
Using the “MMM-OpenWeatherMapForecast” i get the error meassage 401
Strange… -
@Vauxdvihl said in MMM-OpenWeatherForecast Error 401:
Can you guide me?
Try
git remote -v
in the module’s directory. -
@KristjanESPERANTO
no change
Still error -
@Vauxdvihl that command will output which repo the module came from
please show the output
-
Here ue are
@raspberrypi:~/MagicMirror/modules/MMM-OpenWeatherForecast $ git remote -v origin https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast (fetch) origin https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast (push)
-
@Vauxdvihl Okay, so that shows us that you’re using the right fork 👍 Let’s see the part of config.js for this module (without API key, of course).
-
Thank you
module: "MMM-OpenWeatherForecast", //header: "Wetter Berlin", // Optional header position: "top_right", classes: "default everyone", disabled: false, config: { apikey: "key", latitude: "51.xxxxx", longitude: "-0.xxxxx", iconset: "2c", concise: true, showWind: false, displayKmhForWind: true, animatedIconStartDelay: 2000, label_timeFormat: "HH:mm", forecastLayout: "tiled", forecastHeaderText: "", label_sunriseTimeFormat: "HH:mm", maxHourliesToShow: 0, maxDailiesToShow: 4, label_days: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], } },
-
@Vauxdvihl openweathermap discontinued their 2.5 api. so the url in the module might be wrong. Check the configuration possibilities for your module and see if you can choose the 3.0 api.