MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.


  • Description

    You want to know when is your next train to go to work and live in France ?

    The MMM-SNCF based on MMM-Transilien is now availiable

    This is my first module so be indulgent with me 😉 and do not hesitate to give me some issues or PR.

    Have a good day !


  • Hi,
    I want to use MMM-SNCF with 2 directions.
    One from Monaco to Nice, the other from Monaco to Vintimille (Italy)

    I put 2 modules in config.js

    module: 'MMM-SNCF',
        position: 'top_right',
        header:'Monaco vers Nice',


    module: 'MMM-SNCF',
    position: 'top_left',
    header:'Monaco vers Ventimiglia',

    the problem is that the 2 modules displays the same result !

  • Project Sponsor Module Developer


    You could try this, although there is no guarantee of success.

    Make a copy of your MMM-SNCF folder. Paste the copy into your modules folder, renaming it to MMM-SNCF2. Inside the MMM-SNCF2 folder, rename the MMM-SNCF.css file to MMM-SNCF2.css and rename the MMM-SNCF.js file to MMM-SNCF2.js. Open the MMM-SNCF2.js file and change line 9 to Module.register("MMM-SNCF2", { and line 27 to return [this.file("css/MMM-SNCF2.css")];

  • Hi,
    I try and i have a black screen.
    I change node_helper.js

    console.log("\r\nMMM-SNCF2- NodeHelper started");

    after i do : npm install and it works !

    I made some changes about the informations i need.

    The problem is that I have the train number once in two

  • Bonjour Jvanoost
    Merci pour ton module sur les trajets de trains SNCF

    Serait-il possible de créer un nouveau module donnant les trains au départ d’une gare.
    Le lien API des prochains départ de la gare de Montparnasse est :

    J’ai bien tenté" de comprendre tes codes JS mais mes connaissances sont bien trop faibles.