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

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

Closed
demir30 opened this issue Oct 2, 2024 · 18 comments
Closed

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

demir30 opened this issue Oct 2, 2024 · 18 comments

Comments

@demir30
Copy link

demir30 commented Oct 2, 2024

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

@kbssa
Copy link

kbssa commented Oct 3, 2024

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

@anshumanpatra
Copy link

I also have the same issue.
Please help.

@engmarconi
Copy link

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

@anshumanpatra
Copy link

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.

@barneyz
Copy link

barneyz commented Oct 9, 2024

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

@anshumanpatra
Copy link

Did you try it?

@werneckpaiva
Copy link

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

@BoeckEH
Copy link

BoeckEH commented Oct 10, 2024

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.

@anshumanpatra
Copy link

https://github.com/vintlabs/fauxmoESP

this library also having same issue.

@ams-hh
Copy link

ams-hh commented Oct 11, 2024

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)

@ams-hh
Copy link

ams-hh commented Oct 12, 2024

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

@anshumanpatra
Copy link

anshumanpatra commented Oct 12, 2024

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.

@ams-hh
Copy link

ams-hh commented Oct 12, 2024

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

@anshumanpatra
Copy link

anshumanpatra commented Oct 13, 2024

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

@anshumanpatra
Copy link

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

@3vilson
Copy link

3vilson commented Oct 13, 2024

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_❤❤❤❤❤❤❤
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

@anshumanpatra
Copy link

Great job.
Thank You.

@werneckpaiva
Copy link

@ams-hh Pull Request?

@demir30 demir30 closed this as completed Oct 20, 2024
softhack007 pushed a commit to Aircoookie/WLED that referenced this issue Oct 25, 2024
Fix for LED and Scenes uncontrollable using Alexa.
Weird behavior regarding to the device names and shared scenes fixed with this.

Seen in issue Aircoookie/Espalexa#228 and fixed from @ams-hh
Tested by myself and works just fine. Created second pull request here because the library seems to be a bit different from the official Espalexa repo.

---------
Co-authored-by: Frank <[email protected]>
Co-authored-by: Blaz Kristan <[email protected]>
softhack007 pushed a commit to MoonModules/WLED that referenced this issue Oct 25, 2024
Fix for LED and Scenes uncontrollable using Alexa.
Weird behavior regarding to the device names and shared scenes fixed with this.

Seen in issue Aircoookie/Espalexa#228 and fixed from @ams-hh
Tested by myself and works just fine. Created second pull request here because the library seems to be a bit different from the official Espalexa repo.

---------
Co-authored-by: Frank <[email protected]>
Co-authored-by: Blaz Kristan <[email protected]>
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

9 participants