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.
1.0.0
- Simple viewer for delay info.
cd ~/MagicMirror/modules/
git clone https://github.com/sabo10o29/MMM-TrainDelayInfoJP.git
cd MMM-TrainDelayInfoJP
npm install
{
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",
],
}
},
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 |