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

Hergo

@Hergo

0
Reputation
80
Profile views
6
Posts
0
Followers
0
Following
Joined Oct 27, 2019, 9:32 PM
Last Online Jul 13, 2020, 10:21 AM

Hergo Unfollow Follow

Latest posts made by Hergo

  • RE: WARNING! Could not validate config file

    Je reviens vers vous car j’ai un probleme avec le modules MMM-Transilien qui n’affiche pas de train et j’ai le message “MMM-Transilien : Error: certificate has expired” qui est afficher dans mon terminal … pourrais tu m’aider (ou je dois refaire un topic?)

    posted in Troubleshooting
    H
    Hergo
    Jul 13, 2020, 8:19 AM
  • RE: WARNING! Could not validate config file

    Merci je ne sais pas ce que tu a corriger mais ca fonctionne :) merci beaucoup

    posted in Troubleshooting
    H
    Hergo
    Jul 12, 2020, 11:57 AM
  • RE: WARNING! Could not validate config file

    Effectivement, merci mais j’ai toujours le meme message : “please create a config file” sur l’ecran …

    posted in Troubleshooting
    H
    Hergo
    Jul 12, 2020, 11:32 AM
  • RE: WARNING! Could not validate config file

    Merci de ta reponse voici mon config.js (bien sur j’ai cacher mes id)

    /* Magic Mirror Config Sample
    *

    • By Michael Teeuw http://michaelteeuw.nl
    • MIT Licensed.
    • For more information how you can configurate this file
    • See https://github.com/MichMich/MagicMirror#configuration

    */

    var config = {
    address: “localhost”, // Address to listen on, can be:
    // - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
    // - another specific IPv4/6 to listen on a specific interface
    // - “”, “0.0.0.0”, “::” to listen on any interface
    // Default, when address config is left out, is “localhost”
    port: 8080,
    ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses
    // or add a specific IPv4 of 192.168.1.5 :
    // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, "::ffff$
    // or IPv4 range of 192.168.3.0 --> 192.168.3.15 us$
    // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, "::ffff$

        language: "fr",
        timeFormat: 24,
        units: "metric",
    
        modules: [
                {
                        module: "alert",
                },
                {
                        module: "updatenotification",
                        position: "top_bar"
                },
                {
                        module: "clock",
                        position: "top_left"
                },
                {
                        module: "calendar",
                        header: "Jours Fériés",
                        position: "top_left",
                        config: {
                                calendars: [
                                        {
                                                symbol: "calendar-check",
                                                url: "webcal://www.webcal.fi/cal.php?id=180&format=ics&wrn=1&wp=4&wf=53&color=%23FF3100&cntr=fr&lang=fr&rid=wc"
                                ]
                        }
                },
                {
                        module: "MMM-DarkSkyForecast",
                        header: "Weather",
                        position: "top_right",
                        classes: "default everyone",
                        disabled: false,
                        config: {
                                apikey: "5591aa062fc3d9a59b191108d4fa2429",
                                latitude: "49.012830",
                                longitude: "2.251830",      
                                iconset: "4c",
                                concise: false,
                                forecastLayout: "tiled" ,
                                language: "fr" ,
                                label_timeFormat: "k[h]" ,
                                hourlyForecastInterval: "0" ,
                                maxHourliesToShow: "0" ,
                                maxDailiesToShow: "0" ,
                                label_high: "Max" ,
                                label_low: "Min" 
                        }
                },
                {
                        module: "weatherforecast",
                        position: "top_right",
                        header: "Prévisions à",
                        config: {
                                location: "Saint-Leu-la-Foret",
                                locationID: "2978768",  //ID from http://bulk.openwea$
                                appid: « XXXX »
                        }
                },
                {
                        module: "newsfeed",
                        position: "bottom_bar",
                        config: {
                                feeds: [
                                        {
                                                title: "20 Minutes",
                                                url: "http://www.20minutes.fr/rss/actu-france.xml"
                                        }
                                ],
                                showSourceTitle: true,
                                showPublishDate: true,
                                broadcastNewsFeeds: true,
                                broadcastNewsUpdates: true
                        }
                },
                { 
                        module : "MMM-NowPlayingOnSpotify" , 
                        position : "bottom_left" ,
                        config : { 
                                  showCoverArt : false , 
                                  clientID : « XXXX » , 
                                  clientSecret : « XXXX » , 
                                  accessToken : « XXXX » , 
                                  refreshToken : « XXXX » 
                        } 
                },
                {
                        module: 'MMM-Transilien',
                        position: 'top_left',
                        header:'Persan Beaumont vers St-Denis',
                        config:{
                                departUIC:"87276469",
                                arriveeUIC:"87271015",
                                login: »XXXX », // You must add your API login and password
                                password:"",
                                showRemainingTime: true
                        }
                },
    
        ]
    

    };

    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== “undefined”) {module.exports = config;}

    posted in Troubleshooting
    H
    Hergo
    Jul 12, 2020, 11:17 AM
  • WARNING! Could not validate config file

    Bonjour a tous,
    Etant debutant j’ai tout de meme reussi a creer la mirroir mais je ne m’en suis pas servi pendant un moment et quand j’ai voulu le remettre en marche il ne fonctionnais plus forcement donc j’ai refait mon fichier config.js mais quand je lance npm start le message :
    WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:49
    ]
    ^

    SyntaxError: Unexpected token ]
    at Module._compile (internal/modules/cjs/loader.js:722:23)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    at Function.Module._load (internal/modules/cjs/loader.js:560:12)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at loadConfig (/home/pi/MagicMirror/js/app.js:67:12)
    at App.start (/home/pi/MagicMirror/js/app.js:202:3)
    at Object. (/home/pi/MagicMirror/js/electron.js:126:7)
    at Module._compile (internal/modules/cjs/loader.js:786:30)
    s’affiche et le mirroir affiche un message d’erreur lui aussi je ne comprend pas pourquoi pourtant j’ai tout verifier sur plusieur site etc et aucun probleme … HELP

    posted in Troubleshooting
    H
    Hergo
    Jul 12, 2020, 9:58 AM
  • RE: MMM-Transilien (Paris - France)

    Salut a tous je suis assez nouveau dans les modules etc mais j’aime les défis
    MMM-Transilien m’a l’air vraiment pas mal mais quand je paramètre tout comme il “faut” j’ai aucun train afficher mais un message qui reste sur “Loading next trains…” j’ai bien reçu ma cles mais sans mdp mais je pense pas que le problème viens de la… Si quelqu’un peut m’aider ce serai sympatique :)

    posted in Transport
    H
    Hergo
    Oct 27, 2019, 9:56 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy