dsandor / fauxmojs

Fake WeMo device ported to NodeJS. Allows Alexa (Amazon Echo) to make api calls.
56 stars 22 forks source link

Devices not discoverable #27

Open ezar opened 5 years ago

ezar commented 5 years ago

Using debug I can not see any problem, but the example devices doesnt appear at Alexa.

discoveryService >> sending response string: HTTP/1.1 200 OK CACHE-CONTROL: max-age=86400 DATE: 2016-10-29 EXT: LOCATION: http://192.168.1.22:11000/0de91340-5c21-4142-8353-9731b5633979/setup.xml OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 01-NLS: 12 SERVER: Unspecified, UPnP/1.0, Unspecified ST: urn:Belkin:device: USN: uuid:Socket-1_0-0de91340-5c21-4142-8353-9731b5633979::urn:Belkin:device:

+4ms discoveryService >> sending response string: HTTP/1.1 200 OK CACHE-CONTROL: max-age=86400 DATE: 2016-10-29 EXT: LOCATION: http://192.168.1.22:11001/3267998a-f46d-46ef-8474-0caab2b099b0/setup.xml OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 01-NLS: 12 SERVER: Unspecified, UPnP/1.0, Unspecified ST: urn:Belkin:device: USN: uuid:Socket-1_0-3267998a-f46d-46ef-8474-0caab2b099b0::urn:Belkin:device:

+4ms

ezar commented 5 years ago

¿Nothing?

johngo7470 commented 5 years ago

As recently as today, some Alexa devices seem to not be able to discover fauxmojs devices. I've seen both Echo and Echo Show, fail to find devices, where Echo Dot does. This has been an issue for quite a while.

If you can see the devices with something like the uPnP app (Android), responding on port 1900, you're probably set up ok on the emulator end. If you have an Echo Dot, try unplugging your other echo devices, and just have the Echo Dot do the discovery (use the voice command, as opposed to the Discover button at alexa.amazon.com).

johngo7470 commented 5 years ago

Looks like fauxmo looked into this and made changes - it's not clear if fauxmojs implemented comparable changes. See: https://github.com/n8henrie/fauxmo/issues/38