Automation

Table of Contents

Amazon Alexa

Amazon Alexa setup 1) Buy a rasperry pi and the add on motion module, plus a cheap 3.5mm speaker and USB microsophone and portable battery pack. 2) Pickup a book on learn rasperry pi - e.g. Learn Rasperry Pi 3 in Easy Steps it will teach you Python from a baby to basic level. 3) Watch a YouTube video teaching how to put Alexa on Raspberry pi e.g. - https://www.youtube.com/watch?v=WqdNy-KSBJE You will need to create a free Alexa Developer account from here - https://developer.amazon.com/en-US/alexa/alexa-voice-service and also set a static IP on your device. 4) Once setup and Alexa is working, create a google sheets sheets.google.com with some columns and headers for questions and answers e.g. column policy, row named reset AD password. then column 2 is procedure, row 2 is the procedure "Fill with any txt for now" 5) Learn some basic PHP from w3schools.com in a single day and host it online on an AWS free EC2 instance with something like IIS, or even LAMP on a Linux box (Whatever your comfortable with). 6) Save the google sheet or excel doc with questions on the EC2 instance (Online server) and install MySQL or a database language to connect to it through a PHP simple web request page. 7) Create an Alexa skill that connects to that PHP web request. 8) Test by talking to your Alexa, then talk asking for that skill name you created. The PHP Web request should connect to the Google Sheet page, or MySQL database depended on how you store your questions for scalability reasons. then output the voice result. Done. 9) Next steps? go back to w3schools.com and learn Machine learning, then learn Regression testing from the Wikipedia page. 10) Play around with Python data modelling, by manipulating a few simple excel sheets with random numbers. 11) Behold your own A.I. system. https://github.com/alexa/avs-device-sdk/wiki/Raspberry-Pi-Quick-Start-Guide-with-Script https://github.com/alexa/avs-device-sdk