1

I'm in the process of creating a Raspberry Pi-powered home automation system. I have a complicated node.js script running on the Pi, and I want to be able to send commands from the Pi to my Alexa (e.g. turn on lights, say something, etc). I've looked into AVS (Amazon Voice Service) but I'd have to convert text to an audio command for that, and I was wondering if there's a simpler way. Does anybody have experience in this type of thing?

5
  • 1
    please ask a question about the problem, not about people's experience
    – jsotola
    Aug 27, 2023 at 4:28
  • There is no (public) API to do that. The User Interface for Alexa is voice.
    – hardillb
    Aug 27, 2023 at 5:53
  • 1
    It might be easier to keep Alexa out of the loop when controlling devices in your home. As you have hit the wall everyone eventually does. Can you think of 1 thing Alexa can do that does not start w/a verbal command? I can't. So consider controlling the devices directly from your Raspberry Pi instead. There are likely web portals you can access to control your IOT devices. Or, there is the TASMOTA software effort where TASMOTA is burnt into you TASMOTA compatible IOT devices. Now you can use MOSQUITO on your Raspberry Pi and send MQTT messages to control your IOT devices.
    – st2000
    Sep 12, 2023 at 18:55
  • Can this be of help github.com/thorsten-gehrig/alexa-remote-control
    – MatsK
    Oct 8, 2023 at 15:09
  • @MatsK That looks promising, I'll have to look into it. You might want to consider expanding that into an answer. Oct 8, 2023 at 16:16

1 Answer 1

1

Your answer lies in going the IFTTT route to control your device. You can then control it from Alexa as well as other sources of control such as your javascript file.
Here are some Alexa IFTTT integrations to get you started.
https://ifttt.com/amazon_alexa

2
  • Will I be able to have it say something through IFTTT? Oct 19, 2023 at 12:54
  • These guys say it works. Feel free to monkey around with it and let us know ! ifttt.com/voicemonkey Oct 19, 2023 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.