Giter VIP home page Giter VIP logo

jalibu / mmm-rnv Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 557 KB

This module for the MagicMirror² platform monitors a given station in the RNV traffic network. It shows upcoming departures with their destination, type, delay and platform.

License: MIT License

CSS 1.74% JavaScript 8.89% TypeScript 72.65% Nunjucks 16.72%
bahn bus magicmirror magicmirror2 public-transport rhein-neckar-verkehr rnv strassenbahn train tram vrn

mmm-rnv's People

Contributors

jalibu avatar jupadin avatar kristjanesperanto avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

mmm-rnv's Issues

Can´t see anything in MagicMirror

Hallo Jan, 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",
position: "top_left",
config: {
animationSpeedMs: 2 * 1000, // 2 seconds
credentials: {
clientId: "",
clientSecret: "",
resourceId: "",
tenantId: "",
},
excludeLines: [5], // example ["N1", "5"]
excludePlatforms: [], // example ["A"]
highlightLines: [], // example ["1"]
maxResults: 10,
showLineColors: true,
showPlatform: false,
showTableHeadersAsSymbols: false,
stationId: '1585',
timeformat: 'HH:mm',
updateIntervalMs: 1 * 60 * 1000, // every 1 minute
walkingTimeMs: 3 * 60 * 1000 // 3 minutes footwalk
}
},
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

muss ich da den GraphQL API eintragen oder den gtfs-rt Endpoint??

Introduce choice of direction/implement includePoles in config

Is your feature request related to a problem? Please describe.
Currently all directions are shown for a particular station. This might not be meaningful e.g. if living near a final destination. It would be better then just to see the city-bound connections.

Describe the solution you'd like
Introdcution of a config parameter includePoles[] to just show tracks (which are called "poles" by RNV) that are of interest

MMM-RNV

Hallo Jan,

hat sich an dem Module was geändert...ich habe von der RNV neue IDs gesendet bekommen udn trotzdem funzt das Modul nicht mehr...

Wäre nett wenn du dich mal melden könntest.

Gruss
Heisemer

Hier meine Config:
{
module: 'MMM-RNV',
header: 'RNV Abfahrstmonitor',
position: 'bottom_center',
config: {
updateInterval: "60000",
animationSpeed: "2000",
stationID: "1585", // HD-Bahnhof
numJourneys: "5",
clientID: 'c86xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxc8',
tenantID: '87cdxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx616c9',
clientSecret: 'zx_8Q~Uxxxxxxxxxxxxxxxxxxxx1',
resourceID: '1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxaf',
coloredLines: "true",
showLineIcons: "true",
useColorForRealTimeInfo: "true",
showTableHeader: "true",
}
},

Introduce offset for walking time to station

Is your feature request related to a problem? Please describe.
In the current setup, connections are shown which can't be reached any more in time (when leaving home in that particular moment and walking to the station).

Describe the solution you'd like
Introduction of a config parameter (e.g. walkingTimeOffsetMinutes which defaults to 0) to hide connections which are earlier than now()+walkingTimeOffsetMinutes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.