Skip to content

tticehurst/MMM-TrainTimesRTT

Repository files navigation

A live train departure module making use of the RTT api

To use this module you must make an account at https://api.rtt.io/ to get the required credentials for the api

Current status: COMPLETE


Install

  • Change into your modules directory (Example):

    • cd ~/MagicMirror/Modules
  • Clone the module into that folder:

    • git clone https://github.com/tticehurst/MMM-TrainTimesRTT.git
  • Change into the new module directory:

    • cd MMM-TrainTimesRTT
  • Install the required dependencies for the module:

    • npm install

Config

Option Description Example
origin The station to get departures and arrivals from origin: "lds"
username Your username for the RTT api username: "abcd"
password Your password for the RTT api password: "abcd"
amount The amount of trains to display amount: 5
refreshTime The minutes between each refresh refreshTime: 5

Example

Config

example image

Display

example image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published