Read the statement by Michael Teeuw here.
weatherforecast showing only two days.
-
@oemel09… yep, just can confirm. This fix works like charm ;-)
-
@oemel09 Perfect. Thanks for the workaround.
-
@oemel09 thx for your support. Different to many others, this fix doesn’t work for me. I’m running MM in a docker container and am not able to keep line 297 of
weatherforecast.js
edited. It always jumps back into its origin version:params += "&cnt=" + (this.config.maxNumberOfDays < 1 || this.config.maxNumberOfDays > 17 ? 7 : this.config.maxNumberOfDays);
I tried in
/mounts/modules/default/weatherforecast/
and also inside the container. I also set the container environment:MM_OVERRIDE_CSS: "false"
, but no way, after restarting the container, it is always showing the “old” values above
Any hints? -
Patch worked for me, thank you!
-
If you are using this setup https://gitlab.com/khassel/magicmirror#default-modules you need also set
MM_OVERRIDE_DEFAULT_MODULES: "false"
-
@karsten13 was pretty sure I did this. Works perfect, thanks a lot.
-
@castletonroad I have had the same eperience too.
-
@oemel09 Thanks, your fix is working fine!
-
I have the same Problem
Thanks, your fix is working very good -
Hey guys,
may I’m to silly for that stuff but I’m not able to fix the 2 day problem.
If I change something in the weatherforecast.js and reboot the pi, every value is default again. I have changed a file named entrypoint.sh in the build directory. I set there both MM_OVERRIDE values to “false”.
Can please anybody help me to fix that?