Aircoookie/Espalexa

I say find my devices with Amazon Alexa, it finds only 1 device

Closed this issue · 18 comments

Hello,
I installed espalexa on my NodeMCU card and there are 3 lamps in the program.
After the installation is completed; I say find my devices with Amazon Alexa, it finds only 1 device and turns it on and off only. The other 2 devices are not visible.
But when I want to delete the device from Alexa; I delete the device, then the 2nd device appears, I delete it too, the 3rd device appears, I delete it too, and it's done.
But I can't have it on 3 devices at the same time?
Please help urgently...
2.txt

The same here. I think that they have changed the philips hue protocol.

I also have the same issue.
Please help.

I have the same issue, although when I ping on http://[espIP]/espalexa, I got the three devices.
Help please

I called Amazon customer care, and they said they can see all the discover devices. However, in the app, only one channel is showing up.

The problem is that in the app, it is displaying only one channel for each device.

I am on a prototype design and just stuck.
Please help.

Will they fix the bug in the app?
Is there a voice response of the hidden devices?
Installing an older apk of the app can fix it for the moment, i think:
https://apkpure.com/amazon-alexa/com.amazon.dee.app
https://alexa.en.uptodown.com/android/versions

Did you try it?

Same here. I used the https://github.com/vintlabs/fauxmoESP alternative and it worked for me.
I even created a pull request to add support to rgb color.
vintlabs/fauxmoESP#260

I switched off from FauxMo as it had the same issue back a couple years ago. My issue is it doesn't find all my set up devices, just randomly some.

https://github.com/vintlabs/fauxmoESP

this library also having same issue.

In FauxmoESP Library Issue Section
https://github.com/vintlabs/fauxmoESP/issues/259
a second user confirms a proposed solution as successful.
But I have no idea how to transfer this to ESPAlexa.
(FauxmoESP does not support color control, so it is no replacement)

All right ....

Thanks to user PakoCosmos at fauxmoESP section
https://github.com/vintlabs/fauxmoESP/issues/259

I could now successfully identify the place in the ESPalexa Lib to transfer his
solution. At my environment it works perfectly. I now have again three separate
devices as usual and can address them by voice.
Don't know if it works for erveryone.
But maybe someone can verify and report.

ESPalexa lib version 2.7.0
File: espalexa.h
Line 120 (Start of function encodeLightId)

` void encodeLightId(uint8_t idx, char* out)
{
uint8_t mac[6];
WiFi.macAddress(mac);

//OLD !!!!!!!!!!!!!!
// sprintf_P(out, PSTR("%02X:%02X:%02X:%02X:%02X:%02X:00:11-%02X"), mac[0],mac[1],mac[2],mac[3],mac[4],mac[5], idx);

//NEW !!!!!!!!!!!!!!
String mymac = WiFi.macAddress();
sprintf_P(out, PSTR("%02X:%s:AB-%02X"), idx, mymac.c_str(), idx);
}
`

Good luck

Their has no such lib version 2.7.0
We are using lib version 3.4.0

Please let us know if any solution available.
Thank.

My fault.
Must be ESPalexa lib version 2.7.0
(corrected in post above)

OK Let me check at my side. I will update.
Thanks.

Thank You very much.
This is working at my side also.

All right ....

Thanks to user PakoCosmos at fauxmoESP section https://github.com/vintlabs/fauxmoESP/issues/259

I could now successfully identify the place in the ESPalexa Lib to transfer his solution. At my environment it works perfectly. I now have again three separate devices as usual and can address them by voice. Don't know if it works for erveryone. But maybe someone can verify and report.

ESPalexa lib version 2.7.0 File: espalexa.h Line 120 (Start of function encodeLightId)

` void encodeLightId(uint8_t idx, char* out) { uint8_t mac[6]; WiFi.macAddress(mac);

//OLD !!!!!!!!!!!!!! // sprintf_P(out, PSTR("%02X:%02X:%02X:%02X:%02X:%02X:00:11-%02X"), mac[0],mac[1],mac[2],mac[3],mac[4],mac[5], idx);

//NEW !!!!!!!!!!!!!! String mymac = WiFi.macAddress(); sprintf_P(out, PSTR("%02X:%s:AB-%02X"), idx, mymac.c_str(), idx); } `

Good luck
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
❤❤❤❤❤❤❤_Thank You VERY MUCH !!!!!!!!!!!!!!!!!!!!!!! OMG_❤❤❤❤❤❤❤
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

Great job.
Thank You.

@ams-hh Pull Request?