Skip to content

Interacting with the scoreboard with iOS Shortcuts

Tommy Farley edited this page Mar 2, 2019 · 4 revisions

With the Shortcuts app on iOS you can easily ssh into the scoreboard to interact with it.

These steps assume you've created the systemd service script for starting your scoreboard when you boot your Pi.

Setup

  1. From Shortcuts create a new custom Shortcut using the + button in the top right corner.
  2. Search for "ssh" and select "Run Script Over SSH"
  3. For "Host" you'll need to know the hostname or IP address of your scoreboard in order to proceed. You can set the hostname with raspi-config or you can find the IP address with ifconfig. I use hostname since the IP address can change over time.
  4. Port stays at 22.
  5. User is pi and password is the password you set with raspi-config.

Scripts

  1. Restart/Stop/Start the board - Pick one action! sudo service mlb-led-scoreboard restart/stop/start
  2. Updating the board from git cd mlb-led-scoreboard ; sudo ./install.sh -n ; sudo service mlb-led-scoreboard restart

Using Siri with the actions

  1. Tap the Switch icon in the top right (under Done)
  2. Name the shortcut and give it an icon if you want
  3. Set up the Siri phrase to use with the script.
  4. Save and you're done!