Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connect custom ESP32 device to Alexa for RGB lightning control (IDFGH-10866) #185

Open
3 tasks done
krupis opened this issue Aug 12, 2023 · 5 comments
Open
3 tasks done

Comments

@krupis
Copy link

krupis commented Aug 12, 2023

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hello. I have designed my own ESP32 based device to control RGB lightning. I use touch display ST7789 to control the colors and everything works fine!

I would love to somehow make my device compatible with Alexa but not too sure where to start. I have Alexa at home and I want my Alexa to discover my ESP32 device and control RGB strip using voice commands. Perhaps someone could put me on the right track? i have tried searching but could not find any relevant information. Is there any esp-idf examples on how to get things going?

Thanks in advance.

@github-actions github-actions bot changed the title How to connect custom ESP32 device to Alexa for RGB lightning control How to connect custom ESP32 device to Alexa for RGB lightning control (IDFGH-10866) Aug 12, 2023
@MaazSk
Copy link

MaazSk commented Aug 13, 2023

Hi Krupis,

To connect ESP32 with Alexa you can follow this tutorial of randomnerds it is based on Arduino but it will give you an idea of how it can be achieved

@krupis
Copy link
Author

krupis commented Aug 13, 2023

@MaazSk
I have actually seen this but was hoping to find something similar that is intended for use with esp-idf and not Arduino framework. I am sure someone has done this on esp-idf.

I will have to see if this can be ported easily to esp-idf but from the first glance it seems like a tough task

@MaazSk
Copy link

MaazSk commented Aug 13, 2023

@krupis

Have a look at this Alexa Connect Kit.
But if you want to make it on your own the following steps would be required

  1. Connect esp32 to AWS through MQTT or you can use any other MQTT broker
  2. Create an Alexa skill to send the data to your device
  3. Write a lambda function to connect the skill and the esp32

Or you can make use of Home assistant which can help you

I hope this helps you. I was thinking to make a repo and create it as an hobby project please let me know if you are interested we can set it up

@krupis
Copy link
Author

krupis commented Aug 13, 2023

@MaazSk
I had a look at Alexa Conenct Kit link that you have provided. The description sounds nice. Apparently they provide SDK where you can write an alexa compatible application. Unfortunately, it does not seem to be easily available. You have to manually request the access to the SDK:
image

Clicking on Request ACK SDK access opens up error 404 page:
image

I think it is definately a good idea to make a public repo for esp-idf that would help developers get their alexa compatible projects up and running.

Im down to collaborate.

@Alvin1Zhang Alvin1Zhang transferred this issue from espressif/esp-idf Aug 25, 2023
@MaazSk
Copy link

MaazSk commented Aug 28, 2023

Hi @krupis
You can have a look at this . It is from a company named cadio and it pretty much does what you want and you won't need to write a code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants