Alexa App not discovering devices

Posted on
Tue Dec 06, 2016 12:05 pm
afulki offline
Posts: 15
Joined: Jun 01, 2015

Alexa App not discovering devices

I can see the plugin on

http://10.0.1.200:8179/description.xml
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://10.0.1.200:8179/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>Alexa Hue Bridge</friendlyName>
<manufacturer>Royal Philips Electronics</manufacturer>
<manufacturerURL>http://www.philips.com</manufacturerURL>
<modelDescription>Philips hue Personal Wireless Lighting</modelDescription>
<modelName>Philips hue bridge 2012</modelName>
<modelNumber>929000226503</modelNumber>
<modelURL>http://www.meethue.com</modelURL>
<serialNumber>001788101fe2</serialNumber>
<UDN>uuid:273f8bab-b83e-11e6-b491-0017f2075c40</UDN>
<presentationURL>index.html</presentationURL>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<height>48</height>
<width>48</width>
<depth>24</depth>
<url>hue_logo_0.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<height>120</height>
<width>120</width>
<depth>24</depth>
<url>hue_logo_3.png</url>
</icon>
</iconList>
</device>
</root>

From the the logs I can see the UDP response to my network scanner (on the same iPhone as the alexa app), but nothing is logged when I try the discover devices from the Alex app itself.

Help!! :(

Posted on
Tue Dec 06, 2016 12:25 pm
jay (support) offline
Site Admin
User avatar
Posts: 18185
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa App not discovering devices

That's not the only response. It's the first of many during the conversation. Turn on debug logging and see if any other requests are being seen and replied to.

Also, you only mention the app. Have you asked Alexa to discover? Just curious if that fails too. And, you did set up some devices using the plugin, right?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Dec 06, 2016 12:49 pm
afulki offline
Posts: 15
Joined: Jun 01, 2015

Re: Alexa App not discovering devices

Hi,

I've only used the app so far, I have a dot (under the Christmas tree and wanted to get a head start).

I have logging on and can see the following in logs ( .43 ip is my denon media amp searching for network media), I can see similar from other clients like my Sony TV etc. however the only time I see my iPhone is when I use a network scanner app. One thing I have noticed from the scanner is that there is no UPNP on the Indigo server,.

2016-12-06 13:39:18.789 DEBUG Plugin.responder.run Responder.run: received: M-SEARCH * HTTP/1.1
MX: 5
ST: urn:schemas-upnp-org:device:MediaServer:1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"


2016-12-06 13:39:18.789 DEBUG Plugin.responder.respond Responder.respond called from address ('10.0.1.43', 4996)
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://10.0.1.200:8179/description.xml
SERVER: FreeRTOS/7.4.2, UPnP/1.0, IpBridge/1.7.0
ST: urn:schemas-upnp-org:device:basic:1
USN: uuid:273f8bab-b83e-11e6-b491-0017f2075c40


2016-12-06 13:39:18.789 DEBUG Plugin.responder.respond Responder.respond: creating output_socket
2016-12-06 13:39:18.789 DEBUG Plugin.responder.respond Responder.respond: calling output_socket.sendto
2016-12-06 13:39:18.790 DEBUG Plugin.responder.respond Responder.respond: closing output_socket
2016-12-06 13:39:18.790 DEBUG Plugin.responder.respond Responder.respond: UDP Response sent to ('10.0.1.43', 4996)

I do see:
acPro:opensource.alexa-hue-bridge garythom$ sudo lsof -i :1900
Password:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
IndigoPlu 396 garythom 12u IPv4 0x117b8d50 0t0 UDP *:ssdp

There was an additional one (PLEX Server) but I stopped it, when Plex was running I did see a UPNP service, it went away when I stopped it of course. But should I expect to see a UPNP for Indigo?

I have 8 devices shared in the Alexa device I created.

Posted on
Tue Dec 06, 2016 2:30 pm
jay (support) offline
Site Admin
User avatar
Posts: 18185
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa App not discovering devices

So, wait - you don't have any Echo or other Alexa devices on your network? I suspect that's the issue. I'm not sure the app would actually do/see anything since it's actually the Echo that performs the discovery itself...

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Dec 06, 2016 2:33 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Alexa App not discovering devices

Sometimes the Alexa App doesn't seem to work. I have had the most success asking Alexa directly to do it. :)

Only this evening I deleted all my Alexa devices and tried to get the App to discover them - it couldn't find any. :cry:
I then asked Alexa to discover devices and she discovered all of them :?

Edit: Just seen Jay's post above - If you haven't got any actual Alexa devices, I definitely think you need to turn one on :)

Posted on
Tue Dec 06, 2016 3:21 pm
jalves offline
Posts: 744
Joined: Jun 16, 2013

Re: Alexa App not discovering devices

I've noticed a lag between publishing a new device though the plug-in and Alexa actually being able to discover it. Sometimes I need to open the Alexa "Indigo device" twice before the newly published device gets noticed by Alexa. Sometimes it helps to wait 5-10 minutes after first setting up a device before telling Alexa to do discovery.

Running Indigo 2023.2 on a 24" iMac M1), OS X 14.4
Jeff

Posted on
Wed Dec 07, 2016 7:11 am
afulki offline
Posts: 15
Joined: Jun 01, 2015

Re: Alexa App not discovering devices

Correct, no device on the network (still wrapped / under the tree), I guess I will just have to be patient and wait for Christmas day.

Thanks to everyone taking the time to reply.

Gary

Posted on
Wed Dec 07, 2016 3:45 pm
mat offline
Posts: 769
Joined: Nov 25, 2010
Location: Cambridgeshire - UK

Re: Alexa App not discovering devices

I've got the same problem with a macbook . The right hand side of the screen has a red band on it.
Attachments
download.jpeg
download.jpeg (6.06 KiB) Viewed 2611 times

Late 2018 mini 10.14

Posted on
Wed Dec 07, 2016 5:13 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Alexa App not discovering devices

jalves wrote:
I've noticed a lag between publishing a new device though the plug-in and Alexa actually being able to discover it. Sometimes I need to open the Alexa "Indigo device" twice before the newly published device gets noticed by Alexa. Sometimes it helps to wait 5-10 minutes after first setting up a device before telling Alexa to do discovery.

I think you may be on to something here. :)

This evening, I added in another Emulated Hue Bridge device and added some Indigo devices to it, I saved the changes and then went back to add another device saved it and then ran discovery. The last device added wasn't picked up. After re-editing and then saving the Emulated Hue Bridge, Alexa discovered the additional device.

Perish the thought but this could be a bug in the code - I will take a look at it next week unless someone else beats me to it. :wink:

Posted on
Mon Dec 19, 2016 12:45 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Alexa App not discovering devices

I believe (and hope :wink:) that version 2.0.7 of the plugin resolves this issue. :)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests