Skip to content
Get live estimations for bus stops in Valencia (Spain) on your MagicMirror.
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
translations
.gitignore
MMM-EMTValencia.css
MMM-EMTValencia.js
README.md
node_helper.js
package.json

README.md

Module: MMM-EMTValencia

This MagicMirror module displays information about estimations for bus stops in the city of Valencia (Spain). The service is provided by EMT Valencia. Supports English (en), Spanish (es) and Catalan (ca).

Module screen

Dependencies

Installation

Navigate into your MagicMirror's modules folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/TheRaulXP/MMM-EMTValencia

Navigate to the new MMM-EMTValencia folder and install the node dependencies.

npm install

Configure the module in your config.js file.

Find your stop number

To configure this module, you will need a stop number, and, optionally, the line number which you want to get information about. The stop number can be found by looking for the it at EMT Valencia's website.

EMT Valencia's website

Using the module

To use this module, add it to the modules array in the config/config.js file.

modules: [
  {
    module: 'MMM-EMTValencia',
    position: 'top_left',
    header: 'My bus stop',
    config: {
      stopNumber: 683,
      stopLine: null,
      updateInterval: 10
    }
  },
]

Configuration options

The following properties can be configured:

Option Description
stopNumber ID number of the bus stop.

Required
Value type: Integer
Default value: 683
stopLine Bus line to filter, ignoring other lines that share the same stop.

Value type: Integer
Default value: null (Show every line from the stop)
updateInterval Time (in seconds) to wait before refreshing the data from the API.

Required
Value type: Integer
Default value: 10
You can’t perform that action at this time.