Aircoookie / Espalexa

Alexa voice control for ESP8266/ESP32 (including brightness and color!)
MIT License
545 stars 137 forks source link

Limit to number of deviced discovered? #93

Open gshanson opened 4 years ago

gshanson commented 4 years ago

Is there a limit to the number of Espalexa devices that alexa can discover? I modified EspalexaBasic to include 14 devices. Alexa will only discover 10 to these devices. Any ideas of why this is. By the way, when using fauxmo I have the same issue.

gshanson commented 4 years ago

I added #define ESPALEXA_MAXDEVICES 20 as suggested in Issue #85. However, devices 11 thru 14 do not work. Alexa reports "device name" doesn't support that. Alexa app says: "Server is unresponsive" Any ideas?

Aircoookie commented 4 years ago

Sorry for the issues! I believe it may be caused by the JSON buffer being too long to fit into the send buffer. I am planning to spend a day or two giving Espalexa an overhaul soon, transitioning to ArduinoJSON and lowering the memory usage.

Have a great start into the new decade :)