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

    Posts

    Recent Best Controversial
    • RE: MMM-TracCar

      Hello,

      I try to use this Module that seams amazing !

      For the field “gmapid”, I created an accound on Google Cloud Platform (with credit card number…), but it is not working. Could you please give more infos about the value requested by your module and the way to configure it ?
      The key I got looks like (I change some letters of course !) :
      ApybZyXX5ou0t-XZXSnj3w_J_lmtw6v5xxVV5U9

      Also it seams that now Google Map API key will not be free anymore (from mid-july), it there still a way to make this plugin work without paying Google ?

      Thanks a lot,
      AgP

      posted in Transport
      A
      AgP42
    • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

      @nem1 said in MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures):

      The API is live again. So I think you did something wrong. Can you post the part of your config?

      Thank you for your answer and your help, in fact I initially copy-paste the official example of config, just to try the module before doing more configuration :

      {
          module: "MMM-PublicTransportBerlin",
          position: "top_right",
          config: {
              name: "Alexanderplatz",
              stationId: "90000010000",
              hidden: false,
              ignoredStations: [900000100003,2342,1337],
              ignoredLines: ["U5", "U8", "S75" "Bus 100"],               
              excludedTransportationTypes: "bus,suburban,subway",   
              travelTimeToStation: 10,
              interval: 120000,
              departureMinutes: 10,          
              maxDepartures: 15,
              marqueeLongDirections: true,
              showColoredLineSymbols: true,  
              useColorForRealtimeInfo: true,
              showTableHeaders: true,
              showTableHeadersAsSymbols: true,
              maxUnreachableDepartures: 3,    
              maxReachableDepartures: 7,
              fadeUnreachableDepartures: true,
              fadeReachableDepartures: true,
              fadePointForReachableDepartures: 0.25,
              excludeDelayFromTimeLabel: true
          }
      },
      

      but it didn’t work at all, the MagicMirror display the error that the config file is not valid :“Please create a config file”.
      So to debug that I remove all the non-required parameters, and keep only :

      {
          module: "MMM-PublicTransportBerlin",
          position: "top_right",
          config: {
              name: "Alexanderplatz",
              stationId: "90000010000"
          }
      },
      

      Then the Mirror is starting again but this module display this error :
      0_1530713996786_20180704_161734_resized.jpg

      Any idea of the origin of the problem ?
      Can you maybe send me a valid config to try it ?

      (My Mirror was in 2.4.0 and now updated in 2.4.1, but same issue, the Module is updated at its last version)

      Thanks in advance,
      AgP42

      posted in Transport
      A
      AgP42
    • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

      Hello,

      It is my first installation of this module and I also have the same error message.
      Is the VBB data still out of order or did I wrongly configure my module ?

      Thank you in advance,

      posted in Transport
      A
      AgP42
    • RE: Weather forecast only displays 'invalid date'

      @killing-joke said in Weather forecast only displays ‘invalid date’:

      I found a solution on https://github.com/MichMich/MagicMirror/commit/0e2e8d2e2aca2f8d0f1f2eb7b213577fcc4f623a
      But I had to change the lines 338 and 339 instead of 336 and 337

      var day = moment(forecast.dt_txt, "YYYY-MM-DD hh:mm:ss").format("ddd");
      var hour = moment(forecast.dt_txt, "YYYY-MM-DD hh:mm:ss").format("H");
      

      into

      var day;
      var hour;
      if(!!forecast.dt_txt) {
      	day = moment(forecast.dt_txt, "YYYY-MM-DD hh:mm:ss").format("ddd");
      	hour = moment(forecast.dt_txt, "YYYY-MM-DD hh:mm:ss").format("H");
      } else {
      	day = moment(forecast.dt, "X").format("ddd");
      	hour = moment(forecast.dt, "X").format("H");
      }
      

      It works for my MM.

      Works fine, thank you for the advice !

      posted in Troubleshooting
      A
      AgP42
    • RE: Weather forecast only displays 'invalid date'

      Hello,

      same problem for me since the update in 2.4.0… So general update issue probably (looking forward for a solution !:slightly_smiling_face: )

      To answer @killing-joke said in Weather forecast only displays ‘invalid date’:

      same here.

      Is there a possibilty to erase the comma and country code behind the location in the header?!

      I did change the following on the file “/MagicMirror/modules/default/weatherferecast/weatherforecast.js” :

      // Override getHeader method.
      getHeader: function() {
      if (this.config.appendLocationNameToHeader) {
      //line to change
      //return this.data.header + " " + this.fetchedLocationName;
      return "Prévisions Météo Nogent"; // write here what you want...
      }
      
      return this.data.header;
      }, 
      

      Here is the result :

      20180702_220235_resized

      You can of course change the line on the way you want to remove only the part you need.

      posted in Troubleshooting
      A
      AgP42
    • 1 / 1