-
Notifications
You must be signed in to change notification settings - Fork 4
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 can't find anything.. #1
Comments
Check log.txt in the installation directory (or one of the older log archives—whichever file contains data from the time when you told Echo to discover devices). Or you can make a clean log (stop service, delete log.txt, then start service. Then tell Alexa to do a discover, then check log.txt). Other thing to check is that the SSDP Discovery service included with Windows isn’t running. If so, it will grab the SSDP Discovery port (port 1900) and the bridge won’t be able to use that port. To stop it, check these directions: http://computerstepbystep.com/ssdp_discovery_service.html From: farhanito [mailto:[email protected]] I managed to get the bridge running, but alexa can't find any device i set. — |
here's my log.. http://pastebin.com/5gefFWPU nothing in the log about "discover devices". turning off SSDP doesn't help either thanks. |
Yeah, that log looks good. Everything is up and running with no errors. SSDP is very noisy—Sonos players, Media players, Xboxes, etc all use it to make uPNP work. Underlying it is UDP, is a broadcast technology and a lot of those devices on a home network are broadcasting all the time. The fact that your log isn’t seeing any broadcasts (even ones it ignores) at all tells me that something isn’t configured right. Two possibilities: either Echo isn’t on the same network, or the Windows SSDP Discovery service is running and blocking receipt of the UDP broadcasts. If you already turned off SSDP service in Windows, then the next step is to check the IP config. Your computer’s IP (from the log) is: Is your Echo in the same subnet (what’s its IP?). If they are on different subnets, we’ll need to adjust the MulticastIP setting to match. If your log starts showing lines like this, then its seeing UDP broadcasts: 2016-03-10 08:09:19.2234 | VeraHuesBridge.SSDPService | INFO | Received a UDP multicast from IP [239.255.255.250], on port [1900]. | From: farhanito [mailto:[email protected]] here's my log.. http://pastebin.com/5gefFWPU nothing in the log about "discover devices". turning off SSDP doesn't help either thanks. — |
I am having the same issue. All setup and running, Turned off SSDP Service per instructions, it is off. Log looks good with corresponding records above. But Vera says can not find anything. Log below. Any help appreciated. Thanks. |
Yours is actually receiving lots of UDP broadcasts From: ykamenet [mailto:[email protected]] I am having the same issue. All setup and running, Turned off SSDP Service per instructions, it is off. Log looks good with corresponding records above. But Vera says can not find anything. Log below. Any help appreciated. Thanks. — |
Yours is receiving UDP broadcasts. So your problem is not the same issue. Its just not seeing a UDP packet from Alexa. Whats the IP address of your Echo? Is it in the same subnet? ( From the logs, your software is at LocalIP [192.168.1.206]. Does Alexa’s IP start with 192.168.1.x? I assume your subnet mask is 255.255.255.0, but check that too) These log entries say its getting a UDP packet on the port. It just doesn’t contain the “M-SEARCH” keyword that is a hallmark of an SSDP discovery.
From: ykamenet [mailto:[email protected]] I am having the same issue. All setup and running, Turned off SSDP Service per instructions, it is off. Log looks good with corresponding records above. But Vera says can not find anything. Log below. Any help appreciated. Thanks. — |
Thanks, not sure what the problem is then. Echo is on the same subnet: 192.168.1.205 echo address. Server where the service is running is 192.168.1.206. |
Stop the service, edit the nLog.config file with notepad. Change To minLevel=”Debug” Then restart the service. Given that you have a lot of UDP traffic, the log files are going to fill fast. So, pretty quickly after the service starts, tell Alexa to discover devices. Then stop the service and post the logs. This function is whats inspecting the UDP packets, so we are hoping to see “M-SEARCH”. At the start of the packet and it should contain “MAN: “ etc… Perhaps there’s something different about your Echo.
From: ykamenet [mailto:[email protected]] Thanks, not sure what the problem is then. Echo is on the same subnet: 192.168.1.205 echo address. Server where the service is running is 192.168.1.206. — |
Another idea: if you have a physical Philips Hues hub, try turning it off before running discovery From: ykamenet [mailto:[email protected]] Thanks, not sure what the problem is then. Echo is on the same subnet: 192.168.1.205 echo address. Server where the service is running is 192.168.1.206. — |
Thanks for your support. So I noticed one thing is that if I restart the service, the log does not keep updating for some reason if though the service apepars to be running. I have to restart computer for some reason for it to start working again. I also noticed that when I restart the computer the SSDP Service starts again even though I set it to "Disabled" so I have to shut it down again. I am running this on Windows Home Server 2011 if that makes any difference. Here is the latest log, I do see the M-SEARCH there and Echo IP address (.205) shows up, but it still tells me no devices discovered. |
Ok, new code is in the folder named Latest (https://github.com/nanowebcoder/NanoVeraHuesBridge/tree/master/Latest). You only need to download the file named NanoVeraHuesBridgeService.exe.
Let me know how that works. From: ykamenet [mailto:[email protected]] Thanks for your support. So I noticed one thing is that if I restart the service, the log does not keep updating for some reason if though the service apepars to be running. I have to restart computer for some reason for it to start working again. I also noticed that when I restart the computer the SSDP Service starts again even though I set it to "Disabled" so I have to shut it down again. I am running this on Windows Home Server 2011 if that makes any difference. Here is the latest log, I do see the M-SEARCH there and Echo IP address (.205) shows up, but it still tells me no devices discovered. — |
Ugh. I see the problem. In your log Man:"ssdp:discover" The code is looking for message.Contains("MAN: "ssdp:discover"")) Why yours is only an upper case Man and mine is ALL CAPS… don’t know. I’ll change my code to make it a little less sensitive to the caps and get a fresh copy out there tonight. From: ykamenet [mailto:[email protected]] Thanks for your support. So I noticed one thing is that if I restart the service, the log does not keep updating for some reason if though the service apepars to be running. I have to restart computer for some reason for it to start working again. I also noticed that when I restart the computer the SSDP Service starts again even though I set it to "Disabled" so I have to shut it down again. I am running this on Windows Home Server 2011 if that makes any difference. Here is the latest log, I do see the M-SEARCH there and Echo IP address (.205) shows up, but it still tells me no devices discovered. — |
No luck still. Here is the new log after I updated the new .exe file: http://pastebin.com/ii2m99mk I see that requests from my Echo (ip ends on .205) come with "MAN:" upper case: 2016-03-10 21:24:20.5931 | VeraHuesBridge.SSDPService | INFO | SSDP Discovery Packet not detected. | |
Hmmm.. I see its now successfully detecting the M-SEARCH, and returning the setup.xml file location in the part of the log from 3/10. It succeeded for a device numbered 192.168.1 .248:
And then it succeeds on .205 (your Echo, right?)
The most recent log entries dated are 3/11, but nLog is not in DEBUG mode, so I cant see why it’s not recognizing the M-SEARCH packets for todays attempts. Let’s get a clean log: Stop the service. From: ykamenet [mailto:[email protected]] No luck still. Here is the new log after I updated the new .exe file: http://pastebin.com/ii2m99mk I see that requests from my Echo (ip ends on .205) come with "MAN:" upper case: 2016-03-10 21:24:20.5931 | VeraHuesBridge.SSDPService | INFO | SSDP Discovery Packet not detected. | 2016-03-10 21:24:20.5931 | VeraHuesBridge.SSDPService | INFO | Restarted Multicast Receiver. | 2016-03-10 21:24:25.6020 | VeraHuesBridge.SSDPService | INFO | Received a UDP multicast from IP [239.255.255.250], on port [1900]. | 2016-03-10 21:24:25.6020 | VeraHuesBridge.SSDPService | DEBUG | Multicast From: 192.168.1.205:50000 — |
Bingo! You were absolutely right - the server where I am running this bridge did not allow port 8083 which I configured. I added a firewall rule to allow it and Echo discovered 5 test devices that I configured with no issues! Commands don't seem to work yet but I think that's because I may not configured devices correctly, so I will look into this. Thank again for all your help. OP - this could be your problem too, go to Windows firewall and add a PORT rule to allow it if you are using non-standard port. |
Hey that’s awesome! Yeah, I suppose I should have mentioned to check firewall settings. I don’t use firewalls in my internal networks (but block everything going outbound at the edge router), so I rarely ever think of it. From: ykamenet [mailto:[email protected]] Bingo! You were absolutely right - the server where I am running this bridge did not allow port 8083 which I configured. I added a firewall rule to allow it and Echo discovered 5 test devices that I configured with no issues! Commands don't seem to work yet but I think that's because I may not configured devices correctly, so I will look into this. Thank again for all your help. OP - this could be your problem too, go to Windows firewall and add a PORT rule to allow it if you are using non-standard port. — |
no luck still.
... alexa still can't find anything. i think mine have different problem as @nanowebcoder said. |
I managed to get the bridge running, but alexa can't find any device i set.
The text was updated successfully, but these errors were encountered: