Alexa won't discover new devices since Indigo 2021.1

Posted on
Fri Jun 25, 2021 12:05 pm
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa won't discover new devices since Indigo 2021.1

The skill is now available in most English speaking regions. If you are still having issues, please post the details and make sure you've already worked through the troubleshooting section of the Alexa docs.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 25, 2021 2:54 pm
Woetjes offline
Posts: 117
Joined: Apr 04, 2016
Location: Belgium

Re: Alexa won't discover new devices since Indigo 2021.1

OK, rookie mistake, I disabled the reflector access in the server for some testing :) It's now working, yaaay!

Posted on
Fri Jun 25, 2021 3:17 pm
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Alexa won't discover new devices since Indigo 2021.1

I have the same problem. The skill installed OK and linked to my reflector, and when I ask Alexa to discover devices I get the entries below in the event log, but no devices are discovered.

Code: Select all
   Alexa                           Alexa discovery request received, assembling reply...
   Alexa                           ...'TV' - Type: RelayDevice - Subtype: Switch
   Alexa                           ...'Thermostat' ('Netatmo Stat 1 (Hall)') - Type: ThermostatDevice - Subtype: None
   Alexa                           ...'Fan' ('Living Room Fan') - Type: RelayDevice - Subtype: Outlet
   Alexa                           ...'Bedside Light' ('Bedside Light - Right') - Type: RelayDevice - Subtype: Outlet
   Alexa                           ...'Kitchen Lights' - Type: RelayDevice - Subtype: Switch
   Alexa                           ...'Sleep' - Type: RelayDevice - Subtype: Switch
   Alexa                           ...'Dark' - Type: RelayDevice - Subtype: Switch
   Alexa                           ...'Corner Lamp' - Type: RelayDevice - Subtype: Switch
   Alexa                           ...'My Lamp' ('Alan Lamp') - Type: RelayDevice - Subtype: Outlet
   Alexa                           Found 9 devices to publish, replying

Posted on
Fri Jun 25, 2021 3:21 pm
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa won't discover new devices since Indigo 2021.1

And you've tried everything in the Troubleshooting section of the docs?

If so, what does the devices section of the Alexa app show?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 25, 2021 3:29 pm
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Alexa won't discover new devices since Indigo 2021.1

Yes, tried everything on the list. The Alexa app shows none of the Indigo devices.

My reflector seems to be working OK; I can use it with the iOS app.

Posted on
Fri Jun 25, 2021 3:51 pm
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa won't discover new devices since Indigo 2021.1

But does it show any devices? If so, remove them all then rerun discovery.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 25, 2021 4:04 pm
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Alexa won't discover new devices since Indigo 2021.1

Deleted all my devices. Ran discovery again. All devices rediscovered but still no Indigo ones.

Posted on
Fri Jun 25, 2021 4:21 pm
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa won't discover new devices since Indigo 2021.1

Repeat, but disable any other smart home skills you have.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 25, 2021 4:35 pm
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa won't discover new devices since Indigo 2021.1

Also, make a note of the exact time you ran discovery so I can attempt to locate the attempt in the amazon logs.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 25, 2021 4:41 pm
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Alexa won't discover new devices since Indigo 2021.1

Same result. Ran discovery at 2340 UK time.

Posted on
Fri Jun 25, 2021 5:02 pm
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa won't discover new devices since Indigo 2021.1

I found it (the log entries that is). I have a suspicion I know why. Unpublish all devices except the Z-Wave devices then run discovery again. Pretty sure this will work.

Assuming that works, add Thermostat and discover. Somewhat sure this will work.

Assuming that works, add TV. I suspect this will fail to be discovered by Alexa.

Let me know what you find.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 25, 2021 10:58 pm
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Alexa won't discover new devices since Indigo 2021.1

Hi Jay

Removed all but Z-Wave devices then ran discovery. All were discovered.

Added thermostat - discovered.

Added TV - not discovered.

Exactly as you surmised. :)

Posted on
Sat Jun 26, 2021 8:16 am
jay (support) offline
Site Admin
User avatar
Posts: 18219
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Alexa won't discover new devices since Indigo 2021.1

Alexa takes a "throw out the baby with the bathwater" approach to device discovery. If it doesn't like one of the devices, it doesn't accept any from the discovery reply. It also doesn't return any exceptions/errors when it doesn't like a device so basically we have to guess.

The problem is that those other devices have nothing in their address property (device.address) which is what shows up in the Address column in the Device List. I believe they're all from the same plugin, so apparently that plugin doesn't assign an address. The Alexa plugin assumes that all devices have something in the device.address property, so it just passes whatever the value is to Alexa. In this case it passes an empty string. Apparently, Alexa doesn't like empty strings for that field.

I will correct this in the next release, but if you know the plugin author (you?) the fastest solution would be to have the plugin put something in the address field. Even "unknown" would work, it just needs to exist.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Jun 26, 2021 8:23 am
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Alexa won't discover new devices since Indigo 2021.1

Thanks Jay. It’s berkinet’s Meta (Pseudo) Device plug-in but I don’t think he supports it any more. It’s no longer in the plug-in store.

All my own plugins assign device addresses, but looking down my device list I see a number of devices from other plugins with "- none -" as the address.
Last edited by racarter on Sat Jun 26, 2021 9:11 am, edited 1 time in total.

Posted on
Sat Jun 26, 2021 9:09 am
racarter offline
User avatar
Posts: 477
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Alexa won't discover new devices since Indigo 2021.1

As a test I added some temporary code to berkinet's plugin:

Code: Select all
   def addressCheck(self):
      for dev in indigo.devices.iter("self"):
         if dev.address == "":
            dProps = dev.pluginProps
               dProps["address"] = "None"
               dev.replacePluginPropsOnServer(dProps)


The devices can now be added. Thanks Jay!

Who is online

Users browsing this forum: No registered users and 1 guest