-
Notifications
You must be signed in to change notification settings - Fork 197
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
Alexa SmartHome skill - not finding #22
Comments
Have you tried coding your ssid in your script? const char* ssid = "My_Network"; |
I set the SSID and WPA2 password, I was able to ping it from my PC as well as my phone from the same network that the Echo is on |
Same problem |
Same problem here - but only after my Alexa updated to the latest firmware. |
Update: |
maybe someone just needs to make a smart home skill for the ESP8266. I might give it a shot, but no guarantees. |
@MacSass Same here, 2nd gen. Echo does not finde the devices, Echo FW version is 592452720. I think the echo tries to read the current state of the emulated WeMo switch, but then fails to enumerate the device. :-( Anyone a solution yet? |
hello @MacSass @arnowillig @sciencedude100 @Braandn Thank you for your input guys I have added GetBinaryState support to single switch version. Can you guys test it and let me know. I have an Eco at home. It does not send GetBinaryState https://gist.github.com/kakopappa/02299a8ceec0aaaad3ea3bd7f2af8066 |
I just tried the code you have on a "WemosD1 mini" and the echo dot 2nd gen is still reports "No new devices found". The serial on the WemosD1 is outputting the usual though: Sending response to 192.168.1.74 Sending :urn:Belkin:device:controllee:1boxBelkin International Inc.Socket3.1415Belkin Plugin Socket 1.0 ########## Responding to setup.xml ... ######## Sending :urn:Belkin:device:controllee:1boxBelkin International Inc.Socket3.1415Belkin Plugin Socket 1.0 |
Same, doesn't work with Sonos One with Alexa built in- unable to discover devices =[ great project and keep up the good work! I will be following it! |
@kakopappa, thank's for the great work. Btw: It seems to me that the "eventservice.xml" never get called by Echo Dot, is it not needed? |
hi i have Amazon Dot V2 with actual Firmware 595459620 my problem is alexa dont found any devices. |
hi, same here. I got an Amazon Echo gen.2.
Even with the original WeMo plug the Amazon Echo does not find the hardware.
However, I can see the device is queried. Even an "GetDeviceState" upnp
POST message is sent by the Echo hardware.
Strange, hm? I suppose this is a bug in the firmware.
My Amazon Echo gen.1 works beautifully with the original WeMo plug as well
with a simulated device.
Ciao, Arno
2017-12-06 13:02 GMT+01:00 Goran <[email protected]>:
… hi i have Amazon Dot V2 with actual Firmware 595459620 my problem is alexa
dont found any devices.
i use https://gist.github.com/kakopappa/02299a8ceec0aaaad3ea3bd7f2af8066
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXll3MuXiEUCkXcXZcSZ9D45Odig2j-ks5s9oJDgaJpZM4QPwo4>
.
--
Arno Willig <[email protected]>
ウィリグ・アーノ
|
@kakopappa I've just ran the software now and unfortunately it doesn't seem to work. =[ I have gone into the Alexa app to see the version number and its not listed where amazon says it should, I was hoping this might help debug the problem. I can see in the serial terminal Alexa is sending something to the ESP8266 but still doesnt discover any devices. =[ The Sonos one with Alexa does with the Wemo insight version perfectly so not too sure. |
This still isn't found on my Alexa V2 (Firmware: 597464620) |
Thanks for your work on this Kakopappa - I will try this latest version during the week, although I do not have too much hope looking at past responses. |
Hello, I have tried with the new script found here:
get´s triggered - but it does not with the new device (ip ....28 in attached logs), only if an old device is in the network as well the ESP responds to the broadcast of the old device (ip ...24 in attached logs) I have attached the output of the script for V2 device only and for combination of V2+V1 Alexa device. I think the broadcast of the generations is different and the listening ESP never get´s triggered by the new device. Thus it seems to be needed to modify the trigger criteria? Regards - MacSass New script - Echo Plus and Echo Dot.txt |
Hi, When I do change the trigger that ESP is looking for to: if(request.indexOf('M-SEARCH') > 0) { and also change the response string, then I can get the new device to discover the ESP! I did an initial test and the script then seems to work fine for me. I have attached my modified script below and would appreciate any feedback, as I might not really fully understand what I´m doing :-) Regards - MacSass |
It Works! EDIT: |
Is anyone else having an issue with getting this working? The serial output on my WemosD1mini shows activity when EchoDotV2 is discovering, but only ever shows "########## Responding to setup.xml ... ########" never the piece which @sciencedude100 shows in their Arduino log: "########## Responding to /upnp/control/basicevent1 ... ##########". It feels like it is almost there. |
Hello ma7gdp, As much as I can say this is caused by the fact that the response that get´s send currently is having: I will verify my assumption in a minute, but I´m pretty confident because as soon as I add a 1st gen device (echo dot) to the network the discovery works fine (because 1st gen device is happy with the response). Doing some more testing right now ... |
Hi again, After changing a devices state I do see continious responses to Responding to /upnp/control/basicevent1 ...about every 1 second. Not sure if those requests really happen or if this is another issue that should be looked at in a different thread / issue. |
Hey thanks @MacSass for taking a look. I only have Gen2 echo dot so cannot test the various combinations of scenarios with Gen1 etc. I can say though that even with the change to rootdevice in switch.cpp there are still no devices found by Alexa on the Gen2 dot. The serial output I get is as below (.97 is the Gen2 and the WemosD1mini is on .98). Still just "Responding to setup.xml" nothing else. Looks like the Gen2 is expecting a different response to the setup.xml request (assuming that the setup.xml request is Gen2 asking WemosD1mini to identify itself so Gen2 can list it via Alexa app). btw... Thanks for taking the time. If only I had a Gen1 ... I probably would not have even noticed things weren't quite as they should be.
|
Hi ma7gdp, So there definitely seems still something to be going on in what the devices expect as response for discovery and switching. |
Great. No more work this year for me so happy to help out with any testing or traces at my end. Tricky part is understanding whats in the echo code without the original/working devices to "sniff". Cheers again. |
Picked up on your comment regarding the accounts. After lots of various testing I found issues with having a "household" Amazon account. Saying "Alexa switch accounts" and then "Alexa discover devices" did the trick. Not only did the Echo find the devices but it also allowed me to trigger them and the serial output of the WemosD1mini showed the catch of the event. Bottom line .... I can now trigger a relay by saying "Alexa switch office lights on" etc.. Thanks all. To confirm I have 2x latest EchoDots only on my network. |
I have updated the website to show the device id now. |
Hi @AvisIoT ,
What you need to do: You can then replace the existing dummy device IDs in the code with your correct ones ... As said Kokopappa will make more enhancements soon to make it easier - I guess. Regards - MacSass |
Uhhhh - He has been faster than me :-)
|
Thank you @kakopappa and @MacSass . I will test/experiment more next weekend. Have ordered few relay modules, once they arrive will put this to real life use... the multi-device code will be really useful in that case. @kakopappa also looking forward to update on issue #10 (kakopappa/sinric#10) |
To add some useful, but also some confusing, information. I had some trouble getting Alexa to discover one of my experiments until I made the change that MacSass suggested. Thank you for that. But...
|
My echo dot stop find my devices after updated my apple time capsule from version 7.7.8 to 7.7.9. After that I try every possible solution here with no success. My solution was a downgrade to 7.7.8. I hope that helps someone. |
@kakopappa |
My Echo Dots where not able to finde anything... this fixed it for me:
|
Hi / Thank you kakopappa finally got this system working - ok 2 relays can be detected and used with Alexa 2nd Gen and NodeMCU, but how to add more switches? I have added one but cannot be discovered. Many Thanks - Hinkey :) |
Sorry guys just realised i hadn't given new port :) Works 100% |
Hi, I am new for IOT techno. I am using NodeMcu 1.0 ESP8266 12E. with Alexa plus FW:608490620. I tried kakopappa latest code and in serial monitor some transaction is happing about setup.xml. but still alexa is not discovering. Please let me |
Try sinric.com
…On Sun, May 6, 2018 at 1:03 PM santosh09142 ***@***.***> wrote:
Hi, I am new for IOT techno. I am using NodeMcu 1.0 ESP8266 12E. with
Alexa plus FW:608490620. I tried kakopappa latest code and in serial
monitor some transaction is happing about setup.xml. but still alexa is not
discovering.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHIM5jTKH4zl6WW3REkZiSCufiLfdUCDks5tvpI5gaJpZM4QPwo4>
.
|
Thanks kakopappa, for fast reply, I did created switch object on sinric app and tried to search from Alexa app, App. found that object, but when i trigger switch on/off nothing happening on relay as will as on serial monitor. i have added to replaypin in your script. |
Could it be not assigning new port for relay switch device? |
when you ask Alexa to turn on or off you should see that request in serial
monitor
Do you see it?
You have to turn on off trigger
…On Sun, May 6, 2018 at 2:02 PM santosh09142 ***@***.***> wrote:
Thanks kakopappa, for fast reply, I did created switch object on sinric
app and tried to search from Alexa app, App. found that object, but when i
trigger switch on/off nothing happening on relay as will as on serial
monitor.
i have added to replaypin in your script.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHIM5mi-nPfzAzHr0j1QdKgRkLtrqCEYks5tvqACgaJpZM4QPwo4>
.
|
no i didnt see any activity trigger on/off activity on serial monitor. |
Hi hinkey247,
I did not understand your question.
But if it is regards to assign GPIO port. Then yes I have assigned 14 And 4
in this case and same has been as relaypin1 and relaypin2.
Regards
Santosh Patil
…On Sun, 6 May 2018, 12:38 hinkey247, ***@***.***> wrote:
Could it be not assigning new port for relay switch device?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aj_2z8_CTUKyo7WVmdspDSpNnvmoxQVtks5tvqF-gaJpZM4QPwo4>
.
|
The port number in your source code for the router device number. Ie port port 80. |
Hi,
Yes it configured.
Port 80 is for office and 81 For kitchen.
Regards
Santosh Patil
…On Sun, 6 May 2018, 15:31 hinkey247, ***@***.***> wrote:
The port number in your source code for the router device number. Ie port
port 80.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aj_2z7z_CBaQLscSVq03tNhh7R_h6qE4ks5tvsnqgaJpZM4QPwo4>
.
|
Hi, one more question : |
Isn’t Synric another AWS like (public cloud server)? |
And if it is, is it not much different than Ewelink? |
n8henrie/fauxmo#38 (comment) kakopappa/arduino-esp8266-alexa-multiple-wemo-switch#22 (comment) @n8henrie -- To answer your question: The fauxmo devices don't show up in the app after discovery is complete. I currently have several devices including real hardware that all work fine. --However-- Based on @ertgtct suggestion I did some experimentation and now I can find the devices on discovery. Specifically I changed the response in the function "respond_to_search" from: response = '\n'.join([ 'HTTP/1.1 200 OK', 'CACHE-CONTROL: max-age=86400', f'DATE: {date_str}', 'EXT:', f'LOCATION: {location}', 'OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01', f'01-NLS: {uuid.uuid4()}', 'SERVER: Fauxmo, UPnP/1.0, Unspecified', 'ST: urn:Belkin:device:**', f'USN: uuid:Socket-1_0-{serial}::upnp:rootdevice', ]) + '\n\n' To: response = '\n'.join([ 'HTTP/1.1 200 OK', 'CACHE-CONTROL: max-age=86400', f'DATE: {date_str}', 'EXT:', f'LOCATION: {location}', 'OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01', f'01-NLS: {uuid.uuid4()}', 'SERVER: Fauxmo, UPnP/1.0, Unspecified', 'ST: ::upnp:rootdevice', f'USN: uuid:Socket-1_0-{serial}::upnp:rootdevice', ]) + '\n\n'` (the change is the ST: clause) As yet I haven't managed to get the devices working but I suspect that's more to do with my environment rather than the fauxmo code. I've attached the log from a successful discovery, I don't know if you can spot where the change has made a difference. I'll continue testing and report back when I have a fully functioning system. log06.txt Thanks.
After scouring most of the forums. This was my fix!!! |
Hi lacdaz, Can you elaborate more on this topic . Because I can see script work for 4 device and not more then that. |
Hey buddy, just check out the sinric that @kakopappa authored as well. There is much less bloat in the code and its just a simpler implementation than this one you are attempting. Yes, you need to link the sinric skill. |
Installed on my NodeMCU, went through Alexa app to add... nothing.
So, turns out you need the smart home skill for the devices you want to add.
The WeMo skill requires you to enter your wireless SSID and the WeMo device's MAC address.
This breaks the compatibility with these wemo emulator projects unfortunately.
So, has anyone gotten past this? Is there a generic smarthome skill I'm unaware of?
P.S. I made sure all devices were on the same network and I even reset my Echo Dot. Nothing :/
The text was updated successfully, but these errors were encountered: