Company
Date Published
Author
Marcos Placona
Word count
2000
Language
English
Hacker News points
None

Summary

This text describes the process of building an Alexa skill using Kotlin, a programming language developed by JetBrains. The author, Marcos Placona, wanted to create an Alexa skill that could determine the correct bin color for his household waste collection based on a fortnightly schedule provided by his local council. He used IntelliJ IDEA as his IDE and Gradle as his build tool. The skill is hosted on Amazon's AWS Lambda service, which allows it to be serverless and scalable. The author created two classes: `BinColourSpeechlet` and `BinColourSpeechletRequestHandler`, which handle the logic for determining the bin color and interacting with the Alexa skill, respectively. The author also configured the skill to use a specific AWS role and region. After creating the skill, they tested it on a real device using the Alexa app, and were able to successfully invoke the skill by saying "Alexa, open Central Bedfordshire bin collection". The text concludes that this is just the beginning of what can be done with this skill, and that there are many ways to make it even smarter.