Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 1.57 KB

README.md

File metadata and controls

48 lines (40 loc) · 1.57 KB

MMM-TrainDelayInfoJP

Display the delay information of target trains on your magic mirror. This module uses 鉄道遅延情報のjson. The display time is the last update time of the delay information on the resource server.

Features

Screenshot

-Sample screenshot 1
Screenshot

UPDATE

1.0.0

  • Simple viewer for delay info.

Installation

cd ~/MagicMirror/modules/
git clone https://github.com/sabo10o29/MMM-TrainDelayInfoJP.git
cd MMM-TrainDelayInfoJP
npm install

Necessary Configuration

{
    module: "MMM-TrainDelayInfoJP",
    //Positions of *_bar and *_third are not support.
    position: "top_left",
    config: {
        notifyLines:[
            //Please fill in the some line names which you want to check their delay. 
            //Find the line name from the line list[1]
			"Line name",
		],
    }
},

[1]Line list

Optional Configuration

Option Description
upadteinterval Update interval to get event from '鉄道遅延情報のjson'.

Type: int
Default value: 3 * 60 * 60 *1000 (3 hours)
timeFormat The time format of the delay info based on moment.js.

Type: String
Default value: HH:mm
title Title name

Type: String
Default value: ⚠︎Delay info