@j-e-f-f can it be a timezone issue?
are the APIs expecting time in UTC? Moment does operates on user timezone (or browser timezone in this case)
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
-
RE: MMM-SoccerLiveScore
@lavolp3 yes, I have had a look into it and it is in the making. I do not get to have much time to work on this side project, so you may need to wait a little longer for it to happen.
I’ll let you know if I have a development version to show.…and thanks for the compliments! ;)
-
RE: MMM-SoccerLiveScore
@egnos this should be fixed with the last release, see https://forum.magicmirror.builders/topic/1169/mmm-soccerlivescore/103?_=1617689765014
-
RE: MMM-SoccerLiveScore
I have just released a new version on the master branch of my own fork of this module, it is available here: https://github.com/0m4r/MMM-SoccerLiveScore.
There are a lot of code cleanups, refactoring, and improvements.
There are also a few new features:- enable the display of the “scorers” for the leagues.
- tables display a red pulsating dot on the game that are “live” at that moment in time
- is it possible to only display one of the standings, tables, and scorers
- headers display more information about (league name and round!)
- table got faded colors to indicate relevant positions
As a plus, as it was reported to me already before, the logo of Juventus is not visible! (@Egnos this is for you!)



-
RE: MMM-SoccerLiveScore
@schlittrix I just tried this:
.module.MMM-SoccerLiveScore { max-width: 400px; overflow: hidden; background-color: red; // debug only }and it seems to work

-
RE: MMM-SoccerLiveScore
@schlittrix I have done some changes and have not updated the screenshots :P
I may need to review the layout with only the logos “on”.
… btw, I realized, I gave you the wrong piece of code, that one would fix the height, but you asked for the width, can you try like this:.module.MMM-SoccerLiveScore { max-width: 400px; //any value that fits you overflow: hidden; } -
RE: MMM-SoccerLiveScore
uhm… the problem is that you may not be able to see the whole standings then.
I have also go got a similar problem and still have not found a real solution.Ayway, you can try to add in the custom.css something like:
.module.MMM-SoccerLiveScore { max-height: 400px; //any value that fits you overflow: hidden; } -
RE: MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast
@anubis273 how do you start your magic mirror?
I guess with eithernpm run startornpm run server
In either case, you should be able to see the logs that are generated in the console…you may also want to try to change the log level in your config.js to a more verbose level than “ERORR” (which I believe is the default)
-
RE: I get error in magic mirror when am installing the magic mirror the cmd: npm run start
@chethan I suggest you contact the module developer. Can’t help with it :)
-
RE: I get error in magic mirror when am installing the magic mirror the cmd: npm run start
@chethan
do you connect via ssh to your rasperry pi?
then use this:
DISPLAY=:0 nohup npm start -
RE: I get error in magic mirror when am installing the magic mirror the cmd: npm run start
@chethan yeah, thanks, but what operating system?
-
RE: I get error in magic mirror when am installing the magic mirror the cmd: npm run start
@chethan what is the Os you have installed it on? it it is the “lite” version it will not work. Electron requires a GUI interface to run
-
RE: I get error in magic mirror when am installing the magic mirror the cmd: npm run start
@chethan have you done an “npm install” before the “npm start”?
-
RE: MMM-SoccerLiveScore
@egnos I posted the link to the repo in my prev comment.
Anyhow, to see the latest (under development) updates, after you cloe you need to switch to the development branch:from your MagicMirror home folder, enter the modules one
cd modules
clone the repo
checkout the development branch
git checkout development
You may need to restart MagicMirror.
-
RE: MMM-SoccerLiveScore
@egnos I can still see them, but I have installed my own fork which I tweaked and fixed in some places: https://github.com/0m4r/MMM-SoccerLiveScore
If you are familiar with github you can even try some of the new features I am working on by checking out the developer branch :)
-
RE: MMM-SoccerLiveScore
@lavolp3 I think with some more work it can be done…
I am also considering to add the scorers standings for each league
It is quite a hard work to reverse engineer the APIs, but it is fun :D -
RE: MMM-PublicTransportHafas
hi! this may come a little too late, but I have forked the original git repo and made a few adjustments (including updating old dependencies here: https://github.com/0m4r/MMM-PublicTransportHafas/
Feel free to try it out! -
RE: MMM-SoccerLiveScore
@lavolp3 I am actually reverse-engineering the APIs as there is no formal documentation.
Anyhow,
Do you know if the API provides the goals in any game as well?
yes, the score is provided.
If the game is ended it provides the final result, if the game is on-going you get the current score, if the game is not started it provides a default “0 - 0” result.And is German 2nd League and/or DFB cup integrated? (EDIT ok seen it in your README)
the list of supported league are the same you can see on the toralarm.de website
Are real-time live results availabe?
yes, it is available. The APIs also return a suggested time to refresh to get up to date results.
-
RE: MMM-SoccerLiveScore
@Feedy88 would you be so kind to add a feature request to the github repo: https://github.com/0m4r/MMM-SoccerLiveScore/issues? thanks!