Read the statement by Michael Teeuw here.
Changing icons of the modules Current Weather and Weather Forecast
-
@Manu85 yes, they will charge you IF you go over the 1000/day… nothing is free anymore… you MUST provide a valid card, or the api key is not functional
-
@sdetweil Thank you for your answer and you are right everything is charged today, fortunately there are still sites and people like you to share for FREE what they know
-
@Manu85 yes, but I don’t generate any pretty user interfaces!! no icons or graphs…lol
-
@sdetweil Yes but it’s thanks to people like you that there is still communication without banking intermediary to build projects… I would therefore stay with my version 2.5 which is free while waiting for a developer to find a solution:- ) what bothers me is that the weather forecast with pretty icons etc. there are some on smartphones, cars, television, internet etc. and all this is free, as soon as you want to do something different you have to PAY :-(
-
@Manu85 said in Changing icons of the modules Current Weather and Weather Forecast:
version 2.5 which is free while waiting for a developer to find a solution:- )
the problem is that the provider (openweathermap), is only providing v3 api keys now for the OneCall api used by the module.
SO… there is nothing the developer can do to get around that.
openweathermap is no longer issuing 2.5 api keys
-
@sdetweil I found a post from March 2023 where we talk about you on the same subject 😉
-
@manu85340 yes, this module is already using all that
apiVersion: "3.0", `https://api.openweathermap.org/data/${config.apiVersion}/onecall` +
-
@sdetweil I subscribed to onecall and I just tested this morning and I still have the same “loading” thing, in my config.js I put the following things:
{ module: "MMM-OneCallWeather", position: "top_right", // This can be any of the regions. // Best results in bottom_bar region due to horizontal default layout and icon sizes. config: { // See 'Configuration options' for more information. latitude: "46.561180", // Longitude from https://www.latlong.net/ longitude: "-1.782440", // Longitude from https://www.latlong.net/ - is West + is East of London apikey: "MY NEW API KEY V3.0" // openweathermap.org API key. } },
in MMM-OneCallWeather.js I have this:
letdata;Module.register("MMM-OneCallWeather", { // Default module config. defaults: { latitude: true, longitude: true, apikey: "", apiVersion: "3.0", units: config.units, layout: "vertical", // default showRainAmount: false, showWind: true, showWindDirection: true, showFeelsLike: true, tempUnits: "c", windunits: "mph", useBeaufortInCurrent: false, initialLoadDelay: 2500, // 2.5 seconds delay. This delay is used to keep the OpenWeather API happy. updateInterval: 10 * 60 * 1000, // every 10 minutes animationSpeed: 1000, updateFadeSpeed: 500, lang:config.language, language: config.language, requestDelay: 0,
I haven’t touched anything else, can you help me please?
-
-
@sdetweil Is that what we need to do? I ran the npm start command in putty
pi@MagicMirror:~ $ npm start npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/pi/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2024-01-24T12_40_06_083Z-debug.log