Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Welcome alexa, your personal assistant

224 views

Published on

Slides of my Alexa session at JavaLand in 2017. This session shows how you can use Alexa. For instance by buying standard hardware by Amazon like the Echo Dot, or building it yourself with a Raspberry Pi and an opensource Java application. Next to that I showed how to develop your own Alexa skills in Java and deploy them automatically with Maven to AWS Lambda. AWS Lambda is a serverless solution from Amazon.

Published in: Technology
  • If u need a hand in making your writing assignments - visit ⇒ www.WritePaper.info ⇐ for more detailed information.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • This is your last chance to grab all 16,000 plans at this discount price. I've been told that Ted will only extend this offer until midnight tonight and this offer will NOT be repeated again. ✔✔✔ https://t.cn/A62YeZUX
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Welcome alexa, your personal assistant

  1. 1. WELCOME ALEXA, YOUR PERSONAL ASSISTANT J O H A N J A N S S E N , I N F O S U P P O RT @ J O H A N J A N S S E N 4 2
  2. 2. CONTENT • Internet ofThings • Home automation • Alexa • openHAB • Alexa skills • Conclusion • Questions
  3. 3. What’sThe Internet ofThings (IoT)
  4. 4. “The Infrastructure of the Information Society” Global Standards Initiative on Internet ofThings (IoT-GSI)
  5. 5. What’s home automation?
  6. 6. What other things do we want to control?
  7. 7. DEMOTIME!
  8. 8. “A subset of IoT” Joint Organisation for Herculean Alternative Networking (Johan)
  9. 9. Home automation challenges
  10. 10. DEMOTIME!
  11. 11. RASPBERRY PI Official guide from Amazon https://github.com/amzn/alexa-avs-raspberry-pi
  12. 12. DEMOTIME!
  13. 13. COMPARISON ECHO • $180 • Adapter • Dual band wifi • Mono speaker • Wake on speaking TAP • $115 • Rechargable battery • Single band wifi • Stereo • Wake on button ECHO DOT • $90 • Adapter • Dual band wifi • Stereo (weak) • Wake on speaking
  14. 14. COMPARISON RASPBERRY PI • Around $80-$90 • Raspberry Pi 3 • Speaker • Microphone • Power adapter • Cables ECHO DOT • $90 • Adapter • Dual band wifi • Stereo (weak) • Wake on speaking ECHO DOT 2 • $50 • Adapter • Dual band wifi • Stereo (weak) • Wake on speaking
  15. 15. Alexa for home automation
  16. 16. DEMOTIME!
  17. 17. OPENHAB
  18. 18. OPENHAB DASHBOARD
  19. 19. OPENHAB FUNCTIONALITY
  20. 20. my
  21. 21. DEMOTIME!
  22. 22. •Retrieve information •Control devices •Call webservice •Order pizza!
  23. 23. TWO TYPE OF SKILLS •Custom skill •Smart home skill
  24. 24. TALK TO ALEXA Alexa ask/tell firstSkill hello invocation name utterance
  25. 25. MAP UTTERANCE TO INTENT MyFirstIntent hello Intent utterance
  26. 26. DEPLOYING/RUNNING SKILLS •AWS Lambda –Java –Node.js –Python •(Local) webservice
  27. 27. NORMAL AWS LAMBDA DEPLOYMENT
  28. 28. DEMOTIME!
  29. 29. NO ACCESS CONTROL static { System.setProperty("com.amazon.speech.speechlet. servlet.disableRequestSignatureCheck", "true"); }
  30. 30. ACCESS CONTROL private static final Set<String> supportedApplicationIds = new HashSet<String>(); static { supportedApplicationIds.add("amzn1.echo-sdk-ams.app. [ see https://developer.amazon.com/ ]"); }
  31. 31. AWS LAMBDA AUTO DEPLOY
  32. 32. DEMOTIME!
  33. 33. GITHUB REPO’S •Maven AWS Lambda integration –https://github.com/johanjanssen/AlexaExamples •Alexa Skills Kit Java –https://github.com/amzn/alexa-skills-kit-java
  34. 34. ALEXA-HA SKILL
  35. 35. Disadvantages Alexa
  36. 36. Advantages Alexa
  37. 37. CONCLUSION •Easy to integrate with other devices / software •Easy to program new features in Java •You quickly get used to it •Fun!
  38. 38. Johan Janssen, Info Support @johanjanssen42

×