<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Alexa Automated Workbench Part 1 -- Episode 325</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3288/alexa-automated-workbench-part-1----episode-325</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Alexa Automated Workbench Part 1 -- Episode 325</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3288/alexa-automated-workbench-part-1----episode-325</link><pubDate>Fri, 12 Jan 2018 08:24:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:296ebbb7-01ba-44c1-b9fb-f75d60eb244a</guid><dc:creator>Matt</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3288/alexa-automated-workbench-part-1----episode-325#comments</comments><description>Current Revision posted to Documents by Matt on 1/12/2018 8:24:00 AM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;background-color:#c4e3ed;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="3" style="padding:6px 0px 10px 11px;vertical-align:top;"&gt;&lt;a href="/e14/assets/legacy/TBHSlogo2.png" data-e14adj="t"&gt;&lt;img alt="image" class="nolightbox" src="/e14/assets/legacy/TBHSlogo2.png"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="3" style="vertical-align:top;padding:8px 13px 13px;"&gt;&lt;p style="margin:0;font-size:18px;font-weight:bold;padding-bottom:6px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/" data-e14adj="t"&gt;element14&amp;#39;s The Ben Heck Show&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding-bottom:6px;line-height:18px;"&gt;&lt;strong&gt;Join the Ben Heck team every week for amazing hacks!&lt;/strong&gt; Watch them build and mod community-inspired projects using electronics!&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="/challengesprojects/element14-presents/benheck/" data-e14adj="t"&gt;Back to The Ben Heck Show homepage &lt;img loading="lazy" alt="image" src="/e14/assets/legacy/gen/LinkArrow.gif"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#004156;vertical-align:middle;" width="30%"&gt;&lt;a class="" href="https://www.element14.com/community/community/experts/benheck/thelearningcircuit?ICID=BH-episodedoc-topban" target="_blank" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;The Learning Circuit&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#005973;vertical-align:middle;"&gt;&lt;a class="" href="https://www.element14.com/community/community/experts/benheck/sudosergeant?ICID=BH-episodedoc-topban" target="_blank" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;sudo Sergeant&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#006f91;vertical-align:middle;"&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/9678/the-ben-heck-show-episode-archive" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;See All Episodes&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table style="width:80%;display:block;margin:0 auto;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding-bottom:12px;"&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=3TaLlI4BqeI"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p style="margin:0;border:1px solid #b8d7e5;background-color:#e9f6fc;padding:8px;max-width:634px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;Bob Badley, a local entrepreneur and engineer, stops by the shop to show Ben how team can use their Alexa device to automate their workbench. After walking Ben through the initial setup for building a skill, they’ll use a Python script to command a Raspberry Pi, works with any UART device, down to a USB port in a pinball.&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;JavaScript Object Notation (JSON) is the standard text=based format for representing structured data based on JavaScript object syntax. It is commonly used for transmitting data in web applications.&amp;nbsp; In order to get this working, they’ll need to set up a Pi that can take in a JSonRequest and send back a JSonResponse.&amp;nbsp; Then they’ll set up a skill in Amaazon that can send the request and handle the response.&amp;nbsp; They’ll have to have all these parts working simultaneously in order to have anything work at all. Bob walks Ben through setting up an Amazon Developer Account.&amp;nbsp;&amp;nbsp; Since Ben already has an echo at the shop that is linked to his account, they can use Ben&amp;#39;s existing Amazon account information to login to Amazon Web Developer.&amp;nbsp;&amp;nbsp;&amp;nbsp; The echo dot they have at will automatically link to any Alexa skills that they build.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;Once you sign in you have the option to get started with an Alexa Skills Kit or an Alexa Voice Service.&amp;nbsp; The Voice Service is used when you are building a device that was Alexa enabled.&amp;nbsp; Since they will be using an existing Amazon echo device they only need to go to Alexa Skills Kit. The two options that are frequently used are the custom interaction model and the smart home skill API.&amp;nbsp; The smart home skill API is a little more complicated because it requires more configuring.&amp;nbsp; The Custom Interaction Model, on the other hand, is easier to use but you have to invoke it using your custom word.&amp;nbsp; There are a couple of ways you can use an “Invocation Word”, the trigger used to give commands.&amp;nbsp; You could say “Alexa ask the to… ” or you could say “Alexa… “ while using the UART control that they are configuring.&amp;nbsp; Nothing else to configure on this page so they move onto the interaction model.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;They can either write their interaction model in pure JSon or they can launch Skill Builder, Amazon’s&amp;nbsp; WYSIWG solution for those who don’t want to code.&amp;nbsp; For those who remember XML, a machine and human readable way of formatting data, JSon is a much better way of doing something similar. Using the Amazon Skill Set you are presented with three built-in intents that every skill needs to handle.: Amazon cancel intent, help, and stop.&amp;nbsp; Intents allow you to get out of back-and-forths with Alexa, something it’s enabled to do.&amp;nbsp; Now that they’ve gone over the default intents, it’s time for Bob to show Ben how to create one of his own.&amp;nbsp; The custom intent option allows you to setup your own keyword trigger.&amp;nbsp; The name you give it is a label, for the creator, they’ll add their own sample utterance once that’s enabled.&amp;nbsp; Intent slots are the variables you can use when setting up your commands, outside of the trigger command.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;&lt;span&gt;Bob walks Ben through what he needs to do in order to configure sample utterances and intent slots for the UART skill that they are building Once that&amp;#39;s done they go over format formattypes and content Once they are done configuring the new skill Felix joins them to do a Pi to UART test As a special treat Ben pulls out a Radio Shack TRS-80 model 100 one of his favorite classic computers to run the test Its got an&amp;nbsp; &lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-mNn3ViI7-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=NULL&amp;amp;nsku=46F5197&amp;amp;COM=noscript" target="_blank" data-e14adj="t"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=NULL&amp;amp;nsku=46F5197&amp;amp;COM=noscript" target="_blank" data-e14adj="t"&gt;RS-232&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-mNn3ViI7-unlinked"&gt;RS-232&lt;/span&gt;&lt;/span&gt; port on it and an FTDI adapter that he&amp;#39;s built in They&amp;#39;ll eventually use Alexa to ping the shop IP address and tunnel in to control the Raspberry Pi but this will suffice for testing Next they run an Alexa to Server to UART test Bob walks Ben through the web service that will run Alexa to Serva to UART The code for content parameters etc is written in PHP It will call the Python used for the Pi and Python will be used to send the things that they are requesting Python will be the thing acting on the Raspberry Pi that communicates with their serial ports &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-wiki-small" href="/challengesprojects/element14-presents/benheck/w/documents/2888/element14-s-the-ben-heck-show-disclaimer" data-e14adj="t"&gt;Disclaimer&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: javascript object notation, alexa voice service, hack, alexa skills kit, ftdi adapter, ip address, custom interaction model, json, xml, raspberry pi, uart, trs-80, jsonrequest, radio shack, Alexa, bh_accessibility, smart home skill api, heck, ben, amazon dot, trigger command, tbhs_ep, jsonresponse&lt;/div&gt;
</description></item><item><title>Episode 325: Alexa Automated Workbench Part 1</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3288/alexa-automated-workbench-part-1----episode-325/revision/1</link><pubDate>Wed, 09 May 2018 19:54:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:296ebbb7-01ba-44c1-b9fb-f75d60eb244a</guid><dc:creator>tariq.ahmad</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/3288/alexa-automated-workbench-part-1----episode-325#comments</comments><description>Revision 1 posted to Documents by tariq.ahmad on 5/9/2018 7:54:57 PM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;background-color:#c4e3ed;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="3" style="padding:6px 0px 10px 11px;vertical-align:top;"&gt;&lt;a href="/e14/assets/legacy/TBHSlogo2.png"&gt;&lt;img alt="image" class="nolightbox" src="/e14/assets/legacy/TBHSlogo2.png"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="3" style="vertical-align:top;padding:8px 13px 13px;"&gt;&lt;p style="margin:0;font-size:18px;font-weight:bold;padding-bottom:6px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/"&gt;element14&amp;#39;s The Ben Heck Show&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding-bottom:6px;line-height:18px;"&gt;&lt;strong&gt;Join the Ben Heck team every week for amazing hacks!&lt;/strong&gt; Watch them build and mod community-inspired projects using electronics!&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="/challengesprojects/element14-presents/benheck/"&gt;Back to The Ben Heck Show homepage &lt;img loading="lazy" alt="image" src="/e14/assets/legacy/gen/LinkArrow.gif"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#004156;vertical-align:middle;" width="30%"&gt;&lt;a class="" href="https://www.element14.com/community/community/experts/benheck/thelearningcircuit?ICID=BH-episodedoc-topban"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;The Learning Circuit&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#005973;vertical-align:middle;"&gt;&lt;a class="" href="https://www.element14.com/community/community/experts/benheck/sudosergeant?ICID=BH-episodedoc-topban"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;sudo Sergeant&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#006f91;vertical-align:middle;"&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/9678/the-ben-heck-show-episode-archive"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;See All Episodes&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table style="width:80%;display:block;margin:0 auto;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding-bottom:12px;"&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=3TaLlI4BqeI"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p style="margin:0;border:1px solid #b8d7e5;background-color:#e9f6fc;padding:8px;max-width:634px;"&gt;&lt;span style="color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;text-align:justify;"&gt;Bob Badley, a local entrepreneur and engineer, stops by the shop to show Ben how team can use their Alexa device to automate their workbench. After walking Ben through the initial setup for building a skill, they’ll use a Python script to command a Raspberry Pi, works with any UART device, down to a USB port in a pinball.&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;JavaScript Object Notation (JSON) is the standard text=based format for representing structured data based on JavaScript object syntax. It is commonly used for transmitting data in web applications.&amp;nbsp; In order to get this working, they’ll need to set up a Pi that can take in a JSonRequest and send back a JSonResponse.&amp;nbsp; Then they’ll set up a skill in Amaazon that can send the request and handle the response.&amp;nbsp; They’ll have to have all these parts working simultaneously in order to have anything work at all. Bob walks Ben through setting up an Amazon Developer Account.&amp;nbsp;&amp;nbsp; Since Ben already has an echo at the shop that is linked to his account, they can use Ben&amp;#39;s existing Amazon account information to login to Amazon Web Developer.&amp;nbsp;&amp;nbsp;&amp;nbsp; The echo dot they have at will automatically link to any Alexa skills that they build.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;Once you sign in you have the option to get started with an Alexa Skills Kit or an Alexa Voice Service.&amp;nbsp; The Voice Service is used when you are building a device that was Alexa enabled.&amp;nbsp; Since they will be using an existing Amazon echo device they only need to go to Alexa Skills Kit. The two options that are frequently used are the custom interaction model and the smart home skill API.&amp;nbsp; The smart home skill API is a little more complicated because it requires more configuring.&amp;nbsp; The Custom Interaction Model, on the other hand, is easier to use but you have to invoke it using your custom word.&amp;nbsp; There are a couple of ways you can use an “Invocation Word”, the trigger used to give commands.&amp;nbsp; You could say “Alexa ask the to… ” or you could say “Alexa… “ while using the UART control that they are configuring.&amp;nbsp; Nothing else to configure on this page so they move onto the interaction model.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;They can either write their interaction model in pure JSon or they can launch Skill Builder, Amazon’s&amp;nbsp; WYSIWG solution for those who don’t want to code.&amp;nbsp; For those who remember XML, a machine and human readable way of formatting data, JSon is a much better way of doing something similar. Using the Amazon Skill Set you are presented with three built-in intents that every skill needs to handle.: Amazon cancel intent, help, and stop.&amp;nbsp; Intents allow you to get out of back-and-forths with Alexa, something it’s enabled to do.&amp;nbsp; Now that they’ve gone over the default intents, it’s time for Bob to show Ben how to create one of his own.&amp;nbsp; The custom intent option allows you to setup your own keyword trigger.&amp;nbsp; The name you give it is a label, for the creator, they’ll add their own sample utterance once that’s enabled.&amp;nbsp; Intent slots are the variables you can use when setting up your commands, outside of the trigger command.&lt;/p&gt;&lt;p style="margin:0;margin-bottom:15px;text-align:justify;color:#000000;font-family:&amp;#39;Open Sans&amp;#39;, Arial, sans-serif;"&gt;&lt;span&gt;Bob walks Ben through what he needs to do in order to configure sample utterances and intent slots for the UART skill that they are building Once that&amp;#39;s done they go over format formattypes and content Once they are done configuring the new skill Felix joins them to do a Pi to UART test As a special treat Ben pulls out a Radio Shack TRS-80 model 100 one of his favorite classic computers to run the test Its got an&amp;nbsp; &lt;span&gt;&lt;span class="e14-init-shown" id="addProduct-mNn3ViI7-linked" style="white-space:nowrap;"&gt;&lt;a class="jive-link-product-addtolist" href="https://www.element14.com/community/view-product.jspa?fsku=NULL&amp;amp;nsku=46F5197&amp;amp;COM=noscript" target="_blank"&gt;&lt;span class="pf-widget-map pf-productlink-cart-icon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a class="jive-link-product pf-embedded-product-link" href="https://www.element14.com/community/view-product.jspa?fsku=NULL&amp;amp;nsku=46F5197&amp;amp;COM=noscript" target="_blank"&gt;RS-232&lt;/a&gt;&lt;/span&gt;&lt;span class="e14-init-hidden" id="addProduct-mNn3ViI7-unlinked"&gt;RS-232&lt;/span&gt;&lt;/span&gt; port on it and an FTDI adapter that he&amp;#39;s built in They&amp;#39;ll eventually use Alexa to ping the shop IP address and tunnel in to control the Raspberry Pi but this will suffice for testing Next they run an Alexa to Server to UART test Bob walks Ben through the web service that will run Alexa to Serva to UART The code for content parameters etc is written in PHP It will call the Python used for the Pi and Python will be used to send the things that they are requesting Python will be the thing acting on the Raspberry Pi that communicates with their serial ports &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-wiki-small" href="/challengesprojects/element14-presents/benheck/w/documents/2888/element14-s-the-ben-heck-show-disclaimer"&gt;Disclaimer&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: javascript object notation, alexa voice service, hack, alexa skills kit, ftdi adapter, ip address, custom interaction model, json, xml, raspberry pi, uart, trs-80, jsonrequest, radio shack, Alexa, bh_accessibility, smart home skill api, heck, ben, amazon dot, trigger command, tbhs_ep, jsonresponse&lt;/div&gt;
</description></item></channel></rss>