diff --git a/README.md b/README.md index f5a2b12..17c337b 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,16 @@ # MagicMirror-Buses + ![#f03c15](https://placehold.it/15/f03c15/000000?text=+) `This is depreciated and no longer works since Yahoo abandoned queries for retrieving from HTML tables. I have no intention to fix this as I no longer use this program.` This is a module for the Magic Mirror project for Raspberry Pi seen here: https://github.com/MichMich/MagicMirror -##Introduction +## Introduction I wanted to make my Magic Mirror show the live updated bus information for my particular bus stop so I knew when to leave the house. For this I made a YQL request to the Brighton Buses website to collect the bus information as a JSON file. I then use this to make an array containing the bus number, destination and time until arrival. This then is then appropriately ordered into a table which is shown on the Magic Mirror. -##Configuation: +## Configuation: -###[main.js](modules/brightonBuses/main.js) +### [main.js](modules/brightonBuses/main.js) `busStop: xxxx,` must be changed to configure the bus stop you wish to view. To find the appropriate bus stop I would recommend viewing remy's list of all Brighton Bus stops [here](https://github.com/remy/brighton-buses/blob/master/data/all_stops.kml) and finding the 4 digit code for your bus stop. `busStopName:"xxxxxxxxxxx",`should be changed to display your bus stop name. @@ -20,6 +21,6 @@ This then is then appropriately ordered into a table which is shown on the Magic `noBusesMessage: "xxxxxxxxxxxxxx",` text to display if there are no buses on the schedule. -###[style.css](modules/brightonBuses/style.css) +### [style.css](modules/brightonBuses/style.css) Change however you want the style to be.