@mmrize fixed it ty :)
Read the statement by Michael Teeuw here.
Posts
-
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
hereNeeded to post it on Pastebin since it was flagged as spam here…
Can anyone help me?
-
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 ;)
-
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:

-
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:

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(); }); -
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
-
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 -
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 -
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 -
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” -
Changing MMM-Traffic into using TomTom API
Hi Guys,
Since the Mapbox API is very inaccurate in my region, I want to use the TomTom API.
I am completely new to developing modules, so I am trying to change an existing one.
I tried it with this one: MMM-TrafficThe first thing I change is the API Link, for the first tests, I removed the vars from the Link and replaced them with a static API request.
Another thing I changed was theself.duration = Math.round(json.routes[0].duration / 60);into:
self.duration = Math.round(json.routes[0].travelTimeInSeconds / 60);I uploaded an extinct of the API Return here
But after the changes, the Modules just shows its “Loading” Phrase, so I guess I missed something.
I would appreciate any type of help and I will provide further information if needed :)
-
Lets talk about Security
Hi,
I am using the MagicMirror OS for a few years now, and I really love it.
But I am a bit concerned about the security since a few modules need passwords for accounts.
The safest way to secure the data would be to not use modules with login I know but I want to use them.
So my question, what which settings or steps do you recommend regarding safety, thank you -
Display a Picture from a website
Hi,
I want to display an image from a website, the link ends with .jpg.
I want the image to be updated every 10min, is there any module doing that?Thank you :)
-
MMM Arcgis Corona
Hi,
Is it possible to make an Module which Shows the Overview in the Arcgis Website e.g. https://experience.arcgis.com/experience/ffe90c7ec3f540b1b1d30a4fdef6fd00
So Stats Like active positive etc. and maybe also multiple Arcgis links dir different regions?Thank you
-
RE: Cant connect on Browser
@killerjoe34 no just the ip.
But now I can connect but I only see a black screen
Ip Whitelist is clear -
Cant connect on Browser
Hi,
I have a problem…
I can’t access my mirror via my Browser, i tried using 0.0.0.0 , 127.0.0.1 and the ip of the PI,
but I wasn’t able to connect to it on my browser.
Anybody has an Idea why that’s the case?Thank you
-
AfterShip
Re: MMM-AfterShip
Hi,
are there any updates about the Aftership Problem?
I tried every Aftership module but they all don’t work. Its just loading and loading.
I hope somebody can help me :) -
Pages automaticly go back to main page
Hi,
I am searching for a module which changes the site of MMM-Pages e.g. every 5 minutes to a selected page.
I use GroveGesture but sometimes the page changes walking pass so i want a module which changes the page every X minutesThank you :)
-
RE: Pi Freezes
- default modules like clock calendar…
- internet-monitor
- MMM-GroveGestures
- MMM-Mail
- MMM-page-indicator
- MMM-pages
- MMM-PublicTransportHafas
- MMM-quote-of-the-day
- MMM-SystemStats
- MMM-WiFiPassword
and some other which i dont use, i will uninstall them later -done