Difference between revisions of "EBC Exercise 33 gpio via Siri"

From eLinux.org
Jump to: navigation, search
(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

thumb‎ 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.

All Shortcuts.png

  • Tap the + on the upper right.

New shortcut.png

  • Tap Add Action.

Actions.png

  • Enter web then touch Get Contents of Web Page

Enter URL.png

  • Tap URL and enter the address of your Bone. Be sure to include http://

With URL.png

  • Tap Next on the upper right.
  • Enter the Shortcut Name. This is the phrase you will speak to make the LED toggle.

Toggle LED.png

  • Tap Done
  • Tap the newly created Shortcut to test it.




thumb‎ Embedded Linux Class by Mark A. Yoder