Read the statement by Michael Teeuw here.
Changing icons of the modules Current Weather and Weather Forecast
-
@sdetweil
you are right (as usual) I put units:"metric",
in config.js of the module and it works, you are the best
-
@Manu85 if you don’t specify in the module config it uses the settings at the top of config.js
-
@sdetweil I still have some advice to ask you but I’m going to bed, because in France it’s already Sunday and it’s 00:03 AM ;-)
thank you again for your help -
@Manu85 ok, good night. I am driving til after 3 pm us mountain time. I think your time +8
-
@sdetweil good luck and thank you for your help
-
@sdetweil yes indeed, we do not have the same night area…
-
@sdetweil Hello, I didn’t succeed in feeling like, but it doesn’t matter, I’ll leave it like that…
if I understood correctly I need to keep my MM up to date, do I need to run your script every 3 months or is there a solution to do it automatically and is it also possible for the mirror modules? -
@sdetweil I got a weather module update alert, I tried to update, but I got this error message, did I do something wrong?
pi@MagicMirror:~/MagicMirror/modules/MMM-OneCallWeather $ git pull Depuis https://github.com/KristjanESPERANTO/MMM-OneCallWeather f7f964d..0069540 main -> origin/main Mise ▒ jour f7f964d..0069540 error: Vos modifications locales aux fichiers suivants seraient ▒cras▒es par la fusion▒: MMM-OneCallWeather.js package-lock.json Veuillez valider ou remiser vos modifications avant la fusion. Abandon pi@MagicMirror:~/MagicMirror/modules/MMM-OneCallWeather $
-
@Manu85 said in Changing icons of the modules Current Weather and Weather Forecast:
MMM-OneCallWeather.js
because you changed it.
git checkout MMM-OneCallWeather.js
remember, never change module code, all config goes in config.js
tempUnits: "metric"
NOT “C”
package-lock.json, erase it then git pull
-
@sdetweil If I understood correctly it is that I changed something in ```
MMM-OneCallWeather.jsI understand that you are saying that I changed the value from ``` tempUnits: "metric" ``` to ``` tempUnits: "c" ```? I didn't touch it, it's like that in the file (I gave you a screenshot from github) and I promise you that I understand that nothing should be changed in these folders. so now I have to pass the line: ``` git checkout MMM-OneCallWeather.js ```? and then I delete: package-lock.json and then I do git pull, should I put: ``` tempUnits: "metric" ``` so different from what is in the ``` MMM-OneCallWeather.js ```?