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

Unable to discover esp8266 with Echo show 2nd Gen. #23

Open
AliAlawi96 opened this issue May 23, 2021 · 1 comment
Open

Unable to discover esp8266 with Echo show 2nd Gen. #23

AliAlawi96 opened this issue May 23, 2021 · 1 comment

Comments

@AliAlawi96
Copy link

My esp connects to the wifi and reacts when I search for devices using the Alexa app however the app always comes back with no devices found. I have checked if the device has already been discovered however it's not there. I've restarted the board, Alexa and my phone but nothing changes. anyone had similar issues?

@crwhite57
Copy link

What is the code you are using? I had the same problem, at times it would only find 1 - 4 devices, and other times it would not find any devices. I found the problem and it now finds all 8 devices on my esp8266 and 16 devices on my esp32s. You just need to make this one adjustment to your sketch.

Most sketches have this loop
void loop()
{
espalexa.loop();
delay(1);
}

The problem is that the delay is too short of a time. It does not give Alexa time to recognize the device. What I did was changes the delay from 1 to 10, like this:

void loop()
{
espalexa.loop();
delay(10);
}

That fixed all of my problems. Let me know if it works for you.

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