Alexa won't discover new devices since Indigo 2021.1

Posted on
Sat Jun 26, 2021 2:04 pm
jay (support) offline
Site Admin
User avatar
Posts: 18216
Joined: Mar 19, 2008
Location: Austin, Texas

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

Excellent.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Jun 26, 2021 5:26 pm
roquej offline
User avatar
Posts: 609
Joined: Jan 04, 2015
Location: South Florida, USA

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

racarter wrote:
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!
Could you share where you added the code?


Sent from my iPhone using Tapatalk Pro

Posted on
Sat Jun 26, 2021 10:27 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 put it at the end of the main code, then call it in startup with:

Code: Select all
self.addressCheck()

Posted on
Sun Jun 27, 2021 10:23 am
Butch2427 offline
User avatar
Posts: 50
Joined: Mar 11, 2012
Location: Spokane, WA

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

Still no result on my end. I tried a series of different devices (z-wave & insteon) one at a time. In each instance I deleted all devices in the alexa app and then re-ran discovery mode. The only devices found are my alexa devices and my brother printer. The event log showed the communication between indigo and alexa. This was at 09:16:08am PST. When checking my server access authorizations on my indigo account I noticed it kept track of my prior revocations. Not sure if that's significant or not.

Oddly enough..... I can tell Alexa "tell indigo to run XXX action group". She will reply that she is having trouble with my smart home skill, yet the action group will execute and is seen in the event log. All of this while no indigo devices have been discovered.
Attachments
active revoked.JPG
active revoked.JPG (29 KiB) Viewed 2329 times

Posted on
Mon Jun 28, 2021 8:59 am
jay (support) offline
Site Admin
User avatar
Posts: 18216
Joined: Mar 19, 2008
Location: Austin, Texas

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

Did you revoke those prior authorizations yourself?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Jun 28, 2021 9:10 am
Butch2427 offline
User avatar
Posts: 50
Joined: Mar 11, 2012
Location: Spokane, WA

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

jay (support) wrote:
Did you revoke those prior authorizations yourself?


Yes, those are from my revocations.

Posted on
Mon Jun 28, 2021 10:02 am
jay (support) offline
Site Admin
User avatar
Posts: 18216
Joined: Mar 19, 2008
Location: Austin, Texas

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

Butch2427 wrote:
Yes, those are from my revocations.


Ok, something very strange indeed is going on. A couple more questions:

1) What kind of internet connection do you have?
2) Do you have the alexa hue bridge enabled?
3) What other smart home skills do you have enabled and are you sure there are no overlaps in terms of device names between other skills and what you're publishing in Indigo?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Jun 28, 2021 10:37 am
Butch2427 offline
User avatar
Posts: 50
Joined: Mar 11, 2012
Location: Spokane, WA

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

jay (support) wrote:
Butch2427 wrote:
Yes, those are from my revocations.


Ok, something very strange indeed is going on. A couple more questions:

1) What kind of internet connection do you have?
2) Do you have the alexa hue bridge enabled?
3) What other smart home skills do you have enabled and are you sure there are no overlaps in terms of device names between other skills and what you're publishing in Indigo?


1) My internet is the most horrible one you can buy, Hughsnet satellite (at least until Skylink is available!). My internal wireless is via eero pro 6 mesh network and indigo runs on a dedicated stand-a-lone mac mini 2018 (Big Sur 11.2.2.).
2) The alexa hue bridge is not enabled.
3) I deleted all skills except Indigo.

Butch

Posted on
Mon Jun 28, 2021 11:01 am
jay (support) offline
Site Admin
User avatar
Posts: 18216
Joined: Mar 19, 2008
Location: Austin, Texas

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

Ok, I'm pretty positive that it's your Internet that's the issue. Alexa expects responses to all requests within a few seconds or you get errors like the ones you're getting. They are pretty bad about just failing if even the slightest thing is wrong with the API calls, be it a slight formatting issue or a response time. This would explain why you're getting the action group execution but she's responding with an error: the reply from the plugin isn't getting back to her fast enough for her liking so she says there's an issue.

Note, the Alexa-Hue Bridge plugin doesn't rely on direct communication with Amazon's Alexa servers - rather, it communicates directly with the old Echo device on your local network. This would likely explain why that was working for you. I'd recommend continuing to use the AHB plugin until such time that your Internet connection improves.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Jun 28, 2021 2:40 pm
Butch2427 offline
User avatar
Posts: 50
Joined: Mar 11, 2012
Location: Spokane, WA

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

jay (support) wrote:
Ok, I'm pretty positive that it's your Internet that's the issue. Alexa expects responses to all requests within a few seconds or you get errors like the ones you're getting. They are pretty bad about just failing if even the slightest thing is wrong with the API calls, be it a slight formatting issue or a response time. This would explain why you're getting the action group execution but she's responding with an error: the reply from the plugin isn't getting back to her fast enough for her liking so she says there's an issue.

Note, the Alexa-Hue Bridge plugin doesn't rely on direct communication with Amazon's Alexa servers - rather, it communicates directly with the old Echo device on your local network. This would likely explain why that was working for you. I'd recommend continuing to use the AHB plugin until such time that your Internet connection improves.


Well that is a bummer, but reaffirms my dislike for Hughsnet. I'm of the waitlist for Starlink, hopefully in September. Thanks for the efforts.

Butch

Posted on
Sun Aug 07, 2022 3:17 pm
Butch2427 offline
User avatar
Posts: 50
Joined: Mar 11, 2012
Location: Spokane, WA

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

SOLVED! After waiting a year and a half, I've finally received my starlink dish. I asked Alexa to find new devices and, whammo! She found them on the first try. The delay of my old hughnet satellite dish was the problem. Many thanks to those who researched this matter.

Posted on
Sun Aug 07, 2022 4:17 pm
matt (support) offline
Site Admin
User avatar
Posts: 21416
Joined: Jan 27, 2003
Location: Texas

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

Score one for satellites at a much lower orbit altitude. 8)

Image

Who is online

Users browsing this forum: No registered users and 1 guest