• 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. rxlDavid
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
R
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 15
  • Posts 32
  • Groups 0

rxlDavid

@rxlDavid

1
Reputation
28
Profile views
32
Posts
0
Followers
0
Following
Joined Apr 28, 2020, 6:24 AM
Last Online Jul 12, 2023, 7:07 PM

rxlDavid Unfollow Follow

Best posts made by rxlDavid

  • DHL Tracking with DHL Paket Account

    Hi,
    I wonder if its possible to have a module which shows you informations about your Shipment, like this:
    MMM-ShipmentTracking
    But without having to add the tracking nr each time, instead your dhl account ist synchronised with your Mirror.

    I wonder if its possible :)

    posted in Requests
    R
    rxlDavid
    May 8, 2020, 4:17 PM

Latest posts made by rxlDavid

  • RE: Blank Screen after New Installment

    @mmrize fixed it ty :)

    posted in Troubleshooting
    R
    rxlDavid
    Oct 19, 2021, 11:34 AM
  • 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
    Oct 6, 2021, 6:20 PM
  • 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
    Sep 19, 2021, 5:50 PM
  • 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
    Sep 19, 2021, 5:16 PM
  • 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
    Sep 19, 2021, 5:00 PM
  • 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
    Sep 19, 2021, 4:35 PM
  • 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
    Sep 19, 2021, 3:32 PM
  • 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
    Sep 19, 2021, 3:24 PM
  • 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
    Sep 19, 2021, 3:17 PM
  • RE: Changing MMM-Traffic into using TomTom API

    @sdetweil
    hi,
    I changed the API Return, there is an option to get it back in JSON.
    What do you mean with write message to the console? & where/when should I execute “npm start >somefile.txt”

    posted in Development
    R
    rxlDavid
    Sep 19, 2021, 3:09 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