witnessmenow / esp8266-alexa-wemo-emulator

multiple belkin wemos switch emulator using ESP8266
GNU General Public License v2.0
132 stars 43 forks source link

Alexa app cannot find device, cannot enable WeMo skill #2

Open hardija opened 7 years ago

hardija commented 7 years ago

I'm using an Adafruit Huzzah Feather (esp8266 based, arduino compatible) and Arduino 1.6.13. The code loads and runs fine. I've enabled the udp serial print messages and can see Alexa sending an M-SEARCH request, but the urn is not belkin. I've seen "ST: urn:dial-multiscreen-org:service:dial:1" and "ST: urn:mdx-netflix-com:service:target:0"

I cannot enable the WeMo skill because the WeMo app won't recognize the esp8266. I'm assuming that's why I'm not getting the urn: with belkin in it.

Any suggestions?

witnessmenow commented 7 years ago

Hey,

Once its running on the esp8266 to set it up you go to the Alexa app and go to Smart home section and search for devices and it should find it, you might have to this a couple of times.

It currently doesn't work with the wemo app at all, need to look into that

megaremi63 commented 7 years ago

I'm having the same issue, But I'm using a raspberry pi echo. Not sure if that has any influence or not. Also located in Canada but doubt that has any affects. Any suggestions how to troubleshoot this? I've tried multiple projects and none get detected.

witnessmenow commented 7 years ago

Hmm, do you see anything in the serial of the esp8266 when you are trying to connect?

Once or twice it didn't find the esp8266 for me but just trying a few times worked.

Maybe delete any existing devices and try again. I would assume Alexa on the pi works the same way. But I'm not sure.

I have a spare pi 2 or a zero that I could try it out on but I haven't done anything with them (no OS on them even) could you link to a guide for setting up Alexa and if I get time I could try set it up and check if I can get it working. I do have a young baby so free time is pretty limited so not sure when I could try it though!

megaremi63 commented 7 years ago

My esp8266 does connect to my wifi, I can see it. it provides an IP. I don't have any device connected to my alexa at the moment. I tried reseting the ESP and Alexa a few times but I keep getting the same result. This is the guide I followed for Alexa on Pi. It's pretty strait forward, although you do need a USB microphone.

http://lifehacker.com/how-to-build-your-own-amazon-echo-with-a-raspberry-pi-1787726931

I will keep you updated if I figure anything out.

witnessmenow commented 7 years ago

OK cool, I'll try set up my pi2 over the next few days to try it out

megaremi63 commented 7 years ago

Hello, I've found out with some research that it is not possible to connect to a device without a "skill". That part is in the echo it's self and not the server. AlexaPi can only connect to devices with a skill.

https://github.com/alexa-pi/AlexaPi/wiki/Q&A-(FAQ)

That is why it won't detect the ESP8266 wemo emulator

MikeClubb commented 7 years ago

Any work arounds on this? I am using the newest version of the alexa pi (one provided by Amazon). I tried to install the skill on my mobile but it will not find anything. I also wrote a small UDP search program in python to check to see if the 8266 is responding correctly, which it does if I add the urn::Belkin...

ant-thomas commented 6 years ago

Any more updates on this? I don't seem to be able to install the skill on the Alexa app and no devices are detected.

sheridan156 commented 6 years ago

I just received my esp8266 board today, it is not a feather but is a nodemcu board. (my understanding is that the two are very similar) I have experienced the exact same problems as described here, and found this code has worked as a work around. no Alexa skill required:

https://gist.github.com/kakopappa/02299a8ceec0aaaad3ea3bd7f2af8066

Please note i am not the author of this code i simply found it in another forum. and i am still working out how to adapt it to emulate more than one device

ant-thomas commented 6 years ago

So after ages of it not working. I rebooted my Echo dot and it worked. Seeing all "devices" I create.

PureGrain commented 6 years ago

I have rebooted, tried several versions of this type of code and cannot get my Echo V2 to see any of my devices using the NodeMCU. Any suggestions?