Emblem

Links

EarRing

Chastikey/Alexa skill

I have written a skill that allows me to ask chastikey about the status of my lock(s).

Alexa: Ask chastikey for status
"You have 3 locks. Lock 1, named The Really Long One, is held by <hidden>, and has been running for 7 days 21 hours 55 minutes 11 seconds. The last card was picked 1 hour 48 minutes ago. Lock 2, named corset, is held by Zoe, and has been running for 3 hours 10 minutes 18 seconds. The last card was picked 25 minutes ago. Lock 3, named collar, is held by Chase, and has been running for 3 hours 8 minutes 21 seconds. The last card was picked 12 minutes ago. This lock is frozen. "

Now for this to work you need to configure a development mode app in Amazon, and also run your own server.

I've put up this service so you don't need a server. However you _do_ need still need to configure Alexa.

What you need

Your Discord ID. Your Chastikey application on your phone needs to be verified with the discord server. You can join the sever by following the "Community" menu at the ChastiKey site.

To find your DiscordID you need to follow the Discord support docs

How to build the development skill

This is the hardest part of the setup, and something that you'll probably need to do a dozen times before it works! I can't really help here.

You need to do this from the Amazon Developer portal. This is free to set up, if you haven't already.

Click on the "Create skill" link. Give this skill a name (e.g. chastikey) and pick the language your Alexa is configured for. I've only tested this in English. Select the "Custom" model, and a "Provision your own" host model.

Start from Scratch, because this is a totally custom build.

At this point you're in the console. You want to scroll down until you see the "JSON Editor" option on the left. You can cut'n'paste in the contents of this JSON file

Scroll back to the top, and click "Save model". If you want to change the name you call the skill by ("Alexa ask chastikey") then you can do this on the "Invocation" field on the left.

Remember to "save model" each time you make changes.

Now you need to define how to get Alexa to talk to my server. Again scroll down until you reach "Endpoint".

Remember to Save again.

At this point everything should be defined, so you need to build the model.

On the left click "Utterances Conflicts". You shouldn't have any issues. So now click "Build Model" at the top.

This may take a couple of minutes but eventually a box will popup saying "Quick Build successful" and then a little later "Full build successful".

You can now test! Alexa, ask chastikey for help