Difference between revisions of "EBC Exercise 33 gpio via Siri"
(Initial info) |
m |
||
Line 7: | Line 7: | ||
* Then [https://support.apple.com/en-us/HT209055 setup Shortcuts] | * Then [https://support.apple.com/en-us/HT209055 setup Shortcuts] | ||
* Start Shortcuts on your iOS device. | * Start Shortcuts on your iOS device. | ||
+ | [[File:All Shortcuts.png|200px]] | ||
* Tap the '''+''' on the upper right. | * Tap the '''+''' on the upper right. | ||
+ | [[File:New shortcut.png|200px]] | ||
* Tap '''Add Action'''. | * Tap '''Add Action'''. | ||
+ | [[File:Actions.png|200px]] | ||
* Enter '''web''' then touch '''Get Contents of Web Page''' | * Enter '''web''' then touch '''Get Contents of Web Page''' | ||
+ | [[File:Enter URL.png|200px]] | ||
* Tap '''URL''' and enter the address of your Bone. Be sure to include '''http://''' | * Tap '''URL''' and enter the address of your Bone. Be sure to include '''http://''' | ||
− | + | [[File:With URL.png|200px]] | |
− | + | * Tap '''Next''' on the upper right. | |
+ | * Enter the Shortcut Name. This is the phrase you will speak to make the LED toggle. | ||
+ | [[File:Toggle LED.png|200px]] | ||
+ | * Tap '''Done''' | ||
+ | * Tap the newly created Shortcut to test it. | ||
{{YoderFoot}} | {{YoderFoot}} |
Latest revision as of 09:29, 25 November 2020
Embedded Linux Class by Mark A. Yoder
Once you have Flask working it's easy to have Siri toggle a gpio pin via iOS Shortcuts.
- Get Flask working using EBC_Exercise_32_gpio_via_flask#Controlling_GPIOs.
- Then setup Shortcuts
- Start Shortcuts on your iOS device.
- Tap the + on the upper right.
- Tap Add Action.
- Enter web then touch Get Contents of Web Page
- Tap URL and enter the address of your Bone. Be sure to include http://
- Tap Next on the upper right.
- Enter the Shortcut Name. This is the phrase you will speak to make the LED toggle.
- Tap Done
- Tap the newly created Shortcut to test it.
Embedded Linux Class by Mark A. Yoder