MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. 0m4r
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 4
    • Posts 105
    • Groups 1

    0m4r

    @0m4r

    Module Developer
    17
    Reputation
    23
    Profile views
    105
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online
    Age 44
    Website www.github.com/0m4r
    Location Germany

    0m4r Unfollow Follow
    Module Developer

    Best posts made by 0m4r

    • MMM-euro2024

      A few weeks more to go, but the magic mirror module is already here for you: https://github.com/0m4r/MMM-euro2024!

      MMM-euro2024

      posted in Sport
      0m4r0
      0m4r
    • RE: MMM-SoccerLiveScore

      The module has been released with its newly delivered version 4.0:
      https://github.com/0m4r/MMM-SoccerLiveScore

      Please note that you need to obtain an API key from https://www.football-data.org/pricing (a free plan is also available)

      posted in Sport
      0m4r0
      0m4r
    • RE: MMM-PublicTransportHafas

      Updated today to the new “hafas-client” code, try it out here

      posted in Transport
      0m4r0
      0m4r
    • RE: Any plan to replace "request" and "moment"?

      @cowboysdude technically it is based on Chromium (https://www.chromium.org/).

      posted in Feature Requests
      0m4r0
      0m4r
    • RE: MMM-SoccerLiveScore

      I have forked the repository and fixed a few bugs as I noticed it is not maintained for 4 years. I have now reduced the numbers of API calls needed to fetch the team logos (that are now directly obtained by the HTML code) and reduced the number of API calls to fetch the table and the scores.
      The table APIs does not include a “refresh” time (as they maybe did return times ago) and this causes an infinite number of call to it.

      The forked repo is here: https://github.com/0m4r/MMM-SoccerLiveScore
      I have not made a PR as I d believe the original one is abandoned.

      posted in Sport
      0m4r0
      0m4r
    • RE: MMM-covid19 based on covid19api.com APIs

      Good news! I have updated the module to swap the data provider to a new one (that seems to be more reliable and provides the most recent available data and, some additional ones too!)

      The changes are still on a development branch, so if you are interested in trying them out you can do the following (assuming you are in your Magic Mirror module folder for MMM-covid19):

      git fetch -p
      git checkout feat/new-api-corona-lmao-ninja
      git pull -r
      npm install
      

      the configuration does not require any update, but a few settings are now obsolete and not used, this is how the new configuration settings could be looking like:

      countryCodes: ["DE", "IT", "US", "NZ", "UK", "FR", "IN", "ES", "BG", "GR"],
      useScheduler: true,
      schedulerConfig: '0 0 */1 * * */1', // update every hour, every day
      updateInterval: 0.5 * 60 * 1000, // update every 30 seconds, only used if useScheduler: false
      

      and here is a screenshot:
      9c110bfb-8ec5-4569-8c2f-d72f70335484-image.png

      and here is the GitHub repo:
      https://github.com/0m4r/MMM-covid19/tree/feat/new-api-corona-lmao-ninja

      posted in Health
      0m4r0
      0m4r
    • Any plan to replace "request" and "moment"?

      Is there any plan to migrate away from “request” and “moment”?

      https://github.com/request/request/issues/3142
      https://github.com/moment/moment#project-status

      Thanks :)

      posted in Feature Requests
      0m4r0
      0m4r
    • 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!)

      https://raw.githubusercontent.com/0m4r/MMM-SoccerLiveScore/master/MMM-SoccerLiveScores-Scorers.png

      https://raw.githubusercontent.com/0m4r/MMM-SoccerLiveScore/master/MMM-SoccerLiveScores-Tables.png

      https://raw.githubusercontent.com/0m4r/MMM-SoccerLiveScore/master/MMM-SoccerLiveScores-Standings.png

      posted in Sport
      0m4r0
      0m4r
    • RE: Cannot find module 'node-fetch' error with MMM-SoccerLiveScore

      @KristjanESPERANTO thank you!
      …and apologies for missing the whole discussion, I have updated my preferences to get e-mails when someone mentions me :)

      posted in Troubleshooting
      0m4r0
      0m4r
    • RE: MMM-CovidStats

      [edited]
      Apologies. I read it quickly and did not get you were adv your own module.

      posted in Health
      0m4r0
      0m4r

    Latest posts made by 0m4r

    • RE: MMM-SoccerLiveScore

      The module has been released with its newly delivered version 4.0:
      https://github.com/0m4r/MMM-SoccerLiveScore

      Please note that you need to obtain an API key from https://www.football-data.org/pricing (a free plan is also available)

      posted in Sport
      0m4r0
      0m4r
    • RE: MMM-SoccerLiveScore not displayed since today

      Please find here the instruction to setup the beta version: https://forum.magicmirror.builders/topic/1169/mmm-soccerlivescore/186?_=1728826313050

      posted in Troubleshooting
      0m4r0
      0m4r
    • RE: MMM-SoccerLiveScore

      IMPORTANT UPDATE:

      Following the unavailability of the API used by this module, a new version is under development and available for beta testing.

      If you are interested in trying it out, please follow the steps (they assume you are in the MMM-SoccerLiveScore folder):

      > git checkout beta
      > git pull -r
      > npm ci
      

      update the configuration as follows:

      {
        token: "TOKEN",
        leagues: [LEAGUE_ID_1, LEAGUE_ID_2],
        displayTime: 1 * 60 * 1000, // 1 minute
        requestInterval: 10 * 60 * 1000, // 10 minutes
        showNames: true,
        showLogos: true,
        showStandings: true,
        showTables: true,
        showScorers: true,
      }
      

      You must obtain the TOKEN from https://www.football-data.org/pricing (there is a free plan too!).

      The list of available leagues you can add to the configuration depends on your subscription plan, the full list of leagues is available here: https://docs.football-data.org/general/v4/lookup_tables.html#_league_codes (you need the competitionId)

      posted in Sport
      0m4r0
      0m4r
    • RE: MMM-SoccerLiveScore not displayed since today

      @kusselin please have a look here: https://github.com/0m4r/MMM-SoccerLiveScore/issues/13

      posted in Troubleshooting
      0m4r0
      0m4r
    • RE: MMM-euro2024

      @leafarenuk I replied to you on Git Hub a week ago or so.
      As I have not heard back from you since then, I assume the problem is resolved.

      If not, feel free to get in touch again.

      posted in Sport
      0m4r0
      0m4r
    • RE: MMM-euro2024

      @robiv8 try with this:

      {
      	disabled: false,
      	module: "MMM-euro2024",
      	position: "center",
      	header: "Euro 2024",
      	config: {
      	updateInterval: 60 * 1000,
      	token: "b1e67..myToken..67c8c5",
      	}
      },
      
      posted in Sport
      0m4r0
      0m4r
    • RE: MMM-euro2024

      @sdetweil this is good, isn’t it?

      posted in Sport
      0m4r0
      0m4r
    • RE: MMM-euro2024

      @robiv8 I think your configuration is wrong.
      Is the token wrapped into quotes?

      {
        disabled: false,
        module: 'MMM-euro2024',
        position: 'center',
        header: 'Euro 2024',
        config: {
          updateInterval: 60 * 1000,
          token: "M4g1cM1rr0r"
        }
      },
      
      posted in Sport
      0m4r0
      0m4r
    • RE: MMM-PublicTransportHafas

      Updated today to the new “hafas-client” code, try it out here

      posted in Transport
      0m4r0
      0m4r
    • RE: MMM-euro2024

      @sdetweil this is done in version 1.0.4

      posted in Sport
      0m4r0
      0m4r