Read the statement by Michael Teeuw here.
MMM-TrainConnections
-
@clebo99 correct
-
Have I to clone TrainConnections in MagicMirror/Modules or only in MagicMirror?
I only get a black screen on my MagicMirror Version2.
-
You will need to clon it in to
~/MagicMirror/modules
and add the config to yourconfig/config.js
fileBangee
-
The Problem was Thatcher the Module folder had a wrong Name, MMM-trainconnetions.
I renamed it to trainconnections and it works. -
i can’t use the command ‘sudo command install’ cause it isn’t a right command
(i install it in the modules order)
but then i can change the api.php (have to add 2 api’s right)
then i have to change my config (add the modul)but how i can get german api’s ?
i wrote a email on DBOpenData@deutschebahn.com to give me the api’sbut where should i add then the api’s in api.php ?
-
okay i can’t edit my post…
how can i change the connection.php script so that i see when my train come to late ?
i only wanna see my train from my city (for example berlin) to frankfurt
with the lateness timebut only the way to the city (like that https://forum.magicmirror.builders/uploads/files/1462363258197-mm_st.jpg)
not the way backfrom the “Deutsche Bahn” i only got that (with apikey)
http://download-data.deutschebahn.com/static/apis/fahrplan/Fpl-API-Doku-Open-Data-BETA-0_81_2.pdf