Read the statement by Michael Teeuw here.
Soccer Noob needs help!
-
Nope, does not work.
An example would be nice. -
MMM-SoccerLiveScore worked out of the box!
But after a few hours the module stops.
Other modules keep going.
Any body know the solution?
Peter -
I do not have it running long enough to see this behaviour.
But, if you see this with
$ pm2 logs mm
0|mm | (node:22849) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Do this (line 37):
$ vi /home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js //var image = new Buffer(body).toString('base64'); var image = Buffer.from(body).toString('base64'); $ pm2 restart mm
Then observe and pay attention to the pm2 logs.
-
Hi,
Just to say that MMM-SoccerLiveScore is running on my MM for 28 hours now.
@thedoorsfanatic
Still waiting for an example on hiding / dimming a module for a specific time on a specific day using MMM-SoccerLiveScore.
When you have time. -
@evroom
I am a beginner from Germany with bad English and I am not using dimLevel at all.
To show a module just at a certain time I put this in the config of a module:config: { module_schedule: {from: '30 6 * * 1-5', to: '45 7 * * 1-5' }, }
shows a module only from 6.30 h to 7.45 from Monday to Friday.
Just use this to figure out what range you need:
https://crontab.guru/#30-59_6___1-5 -
@thedoorsfanatic said in Soccer Noob needs help!:
module_schedule:
that only works for this one module…not… MMM-ModuleScheduler appears to support showing/dimming or hiding modules based on time of day (cron style schedule)
-
MMM-SoccerLiveScore looks very nice, works fine, but still dissapears after some time.
Sometimes it comes back after a few minutes, sometimes not.
Nothing strange in the pm2 logs …
Peter -
@thedoorsfanatic
I am Dutch living in Germany and I like Bad English, well the band :-)
Thanks for the example. -
Do you know how to hide or dim a module between certain times.
For example, matches in Germany generally start on Saturday at 15:30 and the sports program ends at 20:00.
So I want to hide or dim the module during this time.
The problem with the scheduler is, that it shows at the from time and dims at the to time.
Cannot find an example where it hides/dims at the from time and shows at the to time. -
@evroom no, sorry… this is module specific, not a general thing…
spounds like you could reverse the times