jupadin / mmm-rnv Goto Github PK
View Code? Open in Web Editor NEWMagicMirror² module to monitor a given station in the Rhein-Neckar-Verkehr (RNV) public transportation network.
License: MIT License
MagicMirror² module to monitor a given station in the Rhein-Neckar-Verkehr (RNV) public transportation network.
License: MIT License
Hallo Julian, wir hatten glaube ich vor einem Jahr mal schon Kontakt bzg. deinem MMM-RNV Modul....und der Config.
Hat bis jetzt alles Prima funktioniert bis letztens...da wurde nicht mehr angezeigt im MM. Ich habe daraufhin die RNV angeschrieben udn jetzt haben Sie mir folgendes gesendet per eMail:
hier die Credentials, aus unserem Portal:
Client ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Secret Text: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Ich hoffe, dass ich Ihnen damit weiterhelfen konnte. Die Gültigkeit
des Key wird im System nur verlängert. Der Key ändert sich nicht.
und hier noch meine config:
{
module: 'MMM-RNV',
header: 'RNV Abfahrstmonitor',
position: 'bottom_center',
config: {
updateInterval: "60000",
animationSpeed: "2000",
stationID: "1160", // HD-Bahnhof
numJourneys: "10",
clientID: 'xxxxxxxxxxxxxxxxxxxxxxx',
tenantID: '87xxxxxxxxxxxxxxxxxxxxxxx',
clientSecret: 'xxxxxxxxxxxxxxxxxAyT4gaxxxxxxxxx0',
resourceID: '1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
coloredLines: "true",
showLineIcons: "true",
useColorForRealTimeInfo: "true",
showTableHeader: "true",
}
},
Es gibt doch aber noch die resourceID und tenantID
Benötige ich diese dann nicht oder bleibt die auch gleich...wenn ich die beiden Sachen ändere clientID und secret text alias clientSecret wird nichts angezeigt und im MM wird immer angezeigt:
No API credentials provided
Weisst Du woran das liegen kannn?
Über ne Info herzlichen Dank
Gruss
Heisemer
Servus Julian,
tolles Modul.
Kleines Fehlerchen:
Wenn im node_helper der Client Request in den Catch Block in Zeile 166 läuft (z.B. weil es ein Connection Timeout gab), dann stellt das Modul leider seine Arbeit ein, weil das setTimeout nicht mehr durchlaufen wird.
Hallo Julian, ich wollte dein Modul für Magic Mirror nutzen...habe es über console in den module ordner installiert wie beschrieben mit npm install....danach habe ich in der Magicmirror config datei folgendes eingetragen:
{
module: 'MMM-RNV',
header: 'RNV Abfahrstmonitor',
position: 'top_right',
config: {
apiKey: 'Enter your apiKey here',
// or
clientID: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
tenantID: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
clientSecret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
resourceID: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
},
header: "RNV Abfahrtsmonitor",
stationId: "1585",
numJourneys: "10",
updateInterval: "60000",
animationSpeed: "2000",
coloredLines: "true",
showLineIcons: "true",
useColorForRealTimeInfo: "true",
showTableHeader: "true",
},
API direkt hat mir die RNV nicht zugesendet...nur die ID´s!!
nach einem Start des MM kommt aber nur Lade......
Was mache ich falsch?
Über ne kurze Rückinfo herzlichen Dank
Gruss
Kussel
thanks for the update.
In MMM-RNV.js there is a typo in line 35: "cliendID" instead of "cientID".
Unfortunately the application only shows "Loading" with my credentials from the RNV data hub and is not working.
I received these credentials:
@clientID=ba589733-8724-4f95-b4d0-b9f18a0*****
@TenantID=87cd3c4f-1e0a-4350-889e-3969cd4*****
@clientSecret=JzuJc-4Ed~BXl4w2I.B8JUu.b0GEn*****
@resource=1484212f-edce-452a-aae9-46141ba*****
@scope=https://rnv-dds-sandbox-graphqlextern.azurewebsites.net/user_impersonation
@hostname=https://graphql-sandbox-dds.rnv-online.de
--> oAuthURL == scope?
--> tenantID is not necessary?
please update the description for users without an api key. Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.