-
Notifications
You must be signed in to change notification settings - Fork 21
Example use cases: Shortcut for iOS
Johannes edited this page Mar 12, 2020
·
7 revisions
Currently I'm using the script (located on my RaspberryPi which is always connected to my router via ethernet) combined with Shortcuts (https://itunes.apple.com/de/app/workflow/id915249334?mt=8) on my iPhone/iPad.
Shortcuts offers the possibility to send SSH commands directly to your raspberry or to any other SSH capable device. After creating the workflow itself, I have added them to the Today Widget view for faster access.
On the right side you can see my current today view in iOS 13 with access to switch on/off the WiFi of the router and repeater. In addition I have fast access to switch on/off the lights in front of the Fritz!Box.
Find below a description on how to create one of these shortcuts.
- Open the shortcuts app and create a new shortcut
- Click on "Add action"
- Search for SSH and select the action
- Add your Host, Port, user, password and script to be executed (e.g. /location/on/your/server/fritzBoxShell.sh WLAN 1)
- Define a name and select your preferred icon and click on "Done"
- Run your shortcut