MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. rxlDavid
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 32
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by rxlDavid

    • RE: Blank Screen after New Installment

      @mmrize fixed it ty 🙂

      posted in Troubleshooting
      R
      rxlDavid
    • Blank Screen after New Installment

      Hi,
      while updating my Mirror it decided to crash. So it was not able to start anymore.
      I completely reinstalled Rasp OS and Magic Mirror.
      I added my modules and my old config, but when I try to start, it just shows me a blank screen.
      This is my pm2 log
      here

      Needed to post it on Pastebin since it was flagged as spam here…

      Can anyone help me?

      posted in Troubleshooting
      R
      rxlDavid
    • MMM-Traffic with TomTom API

      I would enyoy a Traffic Module using the TomTom API, since I am not able to make it work on my own 😉

      For my region, Tomtom is very accurate in Terms of traffic and its free 😉

      posted in Requests
      R
      rxlDavid
    • RE: Changing MMM-Traffic into using TomTom API

      @sdetweil
      The Same Error accured for Line 70, so I both commented those 2 lines.
      Now I get no Error, and the Loading disappeared, it now says:
      Screenshot_4.png

      posted in Development
      R
      rxlDavid
    • RE: Changing MMM-Traffic into using TomTom API

      @sdetweil
      So I forgot to close a bracket, so now its again showing the Loading screen.
      I get the following error:
      Screenshot_2.png
      What does the :69 mean?

      Edit: this is line 69

       .catch(e => {
              Line 69 self.errorMessage = payload.error.message;
              self.errorDescription = payload.error.description;
              self.loading = false;
              self.updateDom();
            });
      
      posted in Development
      R
      rxlDavid
    • RE: Changing MMM-Traffic into using TomTom API

      @sdetweil
      I do know I think this project is too hard for me lol
      I now changed this:

        getCommute: function (api_url) {
          var self = this;
          fetch('https://api.tomtom.com/routing/1/calculateRoute/4x.xxx%2C9.xxx%3A4x.xxx%2C9.xx/json?avoid=unpavedRoads&key=<key>')
      	  .then(console.log('API SUCESS')
            .then(json => {
              self.duration = Math.round(json.routes[0].duration / 60);
              self.errorMessage = self.errorDescription = undefined;
              self.loading = false;
              self.updateDom();
            })
            .catch(e => {
              self.errorMessage = payload.error.message;
              self.errorDescription = payload.error.description;
              self.loading = false;
              self.updateDom();
            });
      
        },
      

      Now the "loading does not even appear I don’t know if that’s good or bad, but I cant even see my (console.log(‘API SUCESS’) in the .txt

      posted in Development
      R
      rxlDavid
    • RE: Changing MMM-Traffic into using TomTom API

      @sdetweil
      Sorry, Tomtom provides a website which returns the data.
      So it wasn’t my MagicMirror returning it

      posted in Development
      R
      rxlDavid
    • RE: Changing MMM-Traffic into using TomTom API

      @sdetweil
      this is also the view Tomtom provided me.
      but I don’t get what I need to change.
      right now I got the following error in the console:
      [19.09.2021 17:22.10.688] [ERROR] Failed to fetch git data for MMM-Traffic: Erro r: block timeout reached

      posted in Development
      R
      rxlDavid
    • RE: Changing MMM-Traffic into using TomTom API

      @sdetweil
      I know, it was just an extinct, since it used private Data,
      I updated it to the full return with random Data

      posted in Development
      R
      rxlDavid
    • 1
    • 2
    • 3
    • 4
    • 1 / 4