Read the statement by Michael Teeuw here.
Posts
-
RE: automatic update module by notification
@bdream said in automatic update module by notification:
I would prefer having an automatic to update in case it’s notified.
option1: Adding a new paramter “forceUpdate” to the notification module so that it does the update instead of the notification (someone has to code this)
option2: Write a bash script which iterates over the module folders doing something like this (in every module folder)
git reset --hard git pull [ -f "package.json" ] && npm installThis script should be executed e.g. daily by e.g. a cronjob.
As Sam already mentioned this would be the hard way, may its better not to change a running system and ignore the notification, your decision.
-
RE: MMM-PythonPrint customisation
the docker image
karsten13/magicmirror:latestdoesn’t contain python. Simplest solution for this is to use the fat imagekarsten13/magicmirror:fat, for more infos: https://khassel.gitlab.io/magicmirror/images/ -
RE: `git clone` with `--depth=1`?
single branch could be another option like here.
But we should update the doc from
npm installtonpm install --only=prod(sam uses this already in his install script), because the devDependencies are really fat. -
RE: How to use Yr as a weather provider
see https://github.com/MichMich/MagicMirror-Documentation/pull/134/files
will hopefully soon merged into official documentation (there are merge conflicts …)
-
RE: ISS tracker
@bhepler said in ISS tracker:
@karsten13 - I don’t know which map framework you’re running, but I’ve been using Leaflet and it gives me a lot of flexibility in maps. Several free tile sources and many more that just require an API key. You can see a simple example at my MMM-Birdnet module. Specifically, check out the map options.
thanks!
I’m using ol (openlayers), with your help I found already the free cards of cartodb, they should work with ol too.
-
RE: MMM-PythonPrint customisation
yes, the docs … no native english speaker so docs are always a struggle. Thanks for the hints, will update …
-
RE: Need help for tests suite
from mm folder
npx jest tests/...<filename> -
RE: v2.22.0 | default calendar: no symbols with customEvents
@sdetweil said in v2.22.0 | default calendar: no symbols with customEvents:
you can pull down the develop branch and try it out.
the fix is not on
developbecause it is not merged yet but it should not take a long time … -
RE: Module for MagicMirror forum
the use of a csrf token is restricted to admins (as already mentioned by @bugsounet), there is a hack described here to open this for all users but I don’t think we should do this.
For accessing the read(-only) api you can use a cookie from your browser, e.g.
curl --cookie "express.sid=xxxxxxx" https://forum.magicmirror.builders/api/unreadbut this would be challenging to use in a module for mm …