Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarVanL authored Mar 16, 2018
1 parent 8a11830 commit 2b22769
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.

0 comments on commit 2b22769

Please sign in to comment.