Skip to content
Port Authority (Pittsburgh Buses) module for MagicMirror2
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is a module for the MagicMirror².

This module displays real time Pittsburgh bus information from Port Authority for chosen bus routes and bus stops, including:

  1. chosen bus route
  2. arrival time
  3. remaining minutes to arrival time
  4. bus direction(inbound/outbound)
  5. chosen bus stop(name)
  6. bus destination

Default screenshot Verbose screenshot


  1. Add MMM-PGHBus to your MagicMirror/modules directory
cd ~/MagicMirror/modules
git clone
cd MMM-PGHBus/
npm install
  1. Configure your MagicMirror/config/congfig.js file
modules: [
        module: 'MMM-PGHBus',
        position: 'top_left',
        config: {
            key: "",  // get developer API key from
            busStopPairs: [],       // add as many "bus-stopID"s as you want, e.g."71C-2573", "71A-2573", "71A-2633"; stopID can be found on Google Map
            useHeader: true,                   // optional, default true
            header: "When Do Buses Come",      // optional
            verbose: false,                    // optional, default false
            maxWidth: "450px",                 // optional, default 450px
            updateInterval: 45 * 1000,         // bus schedule update speed, optional, default 45s
            animationSpeed: 3000              // fade in & fade out speed, optional, default 3s
You can’t perform that action at this time.