Live data from Hacker News

An Easier Way to Build Alexa Skills Using Python

developer.amazon.com

21–30 of 43 posts

Re: An Easier Way to Build Alexa Skills Using Python

#21
post #15

If you care about your privacy, you can also build your own 100% on-device Voice AI for free using https://snips.ai (disclaimer: I'm a co-founder) We are building an open-source and 100% private-by-design Voice AI platform, and you can code your first private assistant in less than 1h: https://medium.com/snips-ai/building-a-voice-controlled-home...

gah, what the heck is wrong with that woman's head on the homepage. Nightmare fuel.

Re: An Easier Way to Build Alexa Skills Using Python

#23
post #21
post #15

If you care about your privacy, you can also build your own 100% on-device Voice AI for free using https://snips.ai (disclaimer: I'm a co-founder) We are building an open-source and 100% private-by-design Voice AI platform, and you can code your first private assistant in less than 1h: https://medium.com/snips-ai/building-a-voice-controlled-home...

gah, what the heck is wrong with that woman's head on the homepage. Nightmare fuel.

That is... bizarre. It looks like they had a simple head originally and then attached it to a too large body (facing the wrong way), and then tossed some hair on it to not look like it was a sockless handpuppet coming out of the neck

Re: An Easier Way to Build Alexa Skills Using Python

#24

Definitely going to give this a try over the weekend. I bailed pretty quick a few months ago when I wanted to build a spelling bee skill for Alexa in Python. It was a total joke--terrible docs, cumbersome API and just simply not fun. Hoping this is a step in the right direction.

Have to agree. Even the code examples for some of the skill types aren't examples of using the API, they're examples of things like migrating existing code to a newer version of the API, which means much of the code is not only hard to read but irrelevant.

And the Smart Home skill APIs are very different from the normal skills, so most of the tutorials that are available don't help much.

Lambda is required as a back-end for Smart Home skills, but must still be set up manually which means copying and pasting things back and forth between completely unrelated management interfaces, some on AWS, some on Amazon Developer Services.

User authentication is required for Smart Home skills, but after checking the configuration very carefully and still seeing the auth step fail in the Alexa app even though the OAUTH calls succeeded, with little to no visibility into why it failed, I stopped wasting time on it.

Re: An Easier Way to Build Alexa Skills Using Python

#26
post #19
post #14

Earlier quoted context omitted.

oh i guess i didn't explain my use case enough... i'll deploy to lambda, but then i want lambda to ask about or control things around my house

Not sure if I understand what you're after, but AWS offers private API Gateway's now

Echo Lambda ?? Home Network

For ?? I've tried just making the lambda directly connect to an open port, but this requires me to open the router to quite a large range since lambdas don't have static IPs.

I'd like a VPN in ?? I have that for my phone.

As I dig into VPC and such it seems like it almost requires an EC2 endpoint for me to VPN into from my network which will NAT the request?

I'd like to not have to pay for an EC2 instance.

Re: An Easier Way to Build Alexa Skills Using Python

#28
post #26
post #19

Earlier quoted context omitted.

Not sure if I understand what you're after, but AWS offers private API Gateway's now

Echo Lambda ?? Home Network For ?? I've tried just making the lambda directly connect to an open port, but this requires me to open the router to quite a large range since lambdas don't have static IPs. I'd like a VPN in ?? I have that for my phone. As I dig into VPC and such it seems like it almost requires an EC2 endpoint for me to VPN into from my network which will NAT the request? I'd like to not have to pay for…

This should help you: https://gist.github.com/reggi/dc5f2620b7b4f515e68e46255ac042...

Once you have your lambda running inside a VPC, you can assign an elastic IP to the VPC. You don't need an EC2 instance, but you will need a NAT gateway, which is billed at similar levels to a small EC2 instance anyway.

Re: An Easier Way to Build Alexa Skills Using Python

#30
post #26

Earlier quoted context omitted.

Echo Lambda ?? Home Network For ?? I've tried just making the lambda directly connect to an open port, but this requires me to open the router to quite a large range since lambdas don't have static IPs. I'd like a VPN in ?? I have that for my phone. As I dig into VPC and such it seems like it almost requires an EC2 endpoint for me to VPN into from my network which will NAT the request? I'd like to not have to pay for…

This should help you: https://gist.github.com/reggi/dc5f2620b7b4f515e68e46255ac042... Once you have your lambda running inside a VPC, you can assign an elastic IP to the VPC. You don't need an EC2 instance, but you will need a NAT gateway, which is billed at similar levels to a small EC2 instance anyway.

Hrmmm perhaps I'll just have to develop something with single packet encrypted port knocking perhaps. ~$36 a month is out of mine price range for something that is like 100k bytes a month (say having an Echo skill that can control Home Assistant)...
Post reply on HN