-
Notifications
You must be signed in to change notification settings - Fork 104
Interacting with the scoreboard with iOS Shortcuts
Tommy Farley edited this page Mar 2, 2019
·
4 revisions
With the https://itunes.apple.com/us/app/shortcuts/id915249334?mt=8 app on iOS you can easily ssh into the scoreboard to interact with it.
These steps assume you've created the [https://github.com/MLB-LED-Scoreboard/mlb-led-scoreboard/wiki/Creating-a-systemd-startup-script](systemd service script) for starting your scoreboard when you boot your Pi.
- From Shortcuts create a new custom Shortcut using the + button in the top right corner.
- Search for "ssh" and select "Run Script Over SSH"
- 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 https://geek-university.com/raspberry-pi/change-raspberry-pis-hostname/ or you can find the IP address with https://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/finding-your-pis-ip-address. I use hostname since the IP address can change over time.
- Port stays at 22.
- User is pi and password is the password you set with raspi-config.
- Restart/Stop/Start the board - Pick one action! (sudo service mlb-led-scoreboard restart/stop/start)
- Updating the board (cd mlb-led-scoreboard ; sudo ./install.sh -n)
- Tap the Switch icon in the top right (under Done)
- Name the shortcut and give it an icon if you want
- Set up the Siri phrase to use with the script.
- Save and you're done!