Alexa Hue-Bridge v3.0.11 won't allow actions to be set up

Posted on
Fri Mar 09, 2018 3:04 pm
mgolden50 offline
User avatar
Posts: 198
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

Yes. And I created a variable to receive the dim level value

Posted on
Fri Mar 09, 2018 3:06 pm
autolog offline
Posts: 3243
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT+1 aka UTC+1]

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

OK - I will take a look at that tomorrow and see if I can reproduce the issue - just as well it is a pre-release. :wink:

Posted on
Fri Mar 09, 2018 3:14 pm
mgolden50 offline
User avatar
Posts: 198
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

Thanks,

Maybe you can set it up so that if so that if Handle DIM as ON/OFF is selected ,the need to set up a DIM variable would be filled in as N/A
I'm delighted by how much better this new capability increases the overall utility of the plugin..

Mike

Posted on
Fri Mar 09, 2018 3:22 pm
autolog offline
Posts: 3243
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT+1 aka UTC+1]

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

mgolden50 wrote:
Maybe you can set it up so that if so that if Handle DIM as ON/OFF is selected ,the need to set up a DIM variable would be filled in as N/A

You should be able to leave the Dim Variable as NO VARIABLE - You don't have to select a variable, it is meant to be optional.

I'll check that out as well. :)

Posted on
Sat Mar 10, 2018 9:40 am
autolog offline
Posts: 3243
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT+1 aka UTC+1]

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

OK - I can't find or reproduce the error when setting up an Alexa device as a set of Indigo Actions. :?

I can reproduce it if the Alexa device is setup as a non-dimmable Indigo device. Currently there is no option to treat Dim as on/Off for a device. I am adding it now. :)

Can you double check whether the Alexa Routine is processing against an Indigo Action or Device. Thanks. :)

Posted on
Sat Mar 10, 2018 11:02 am
mgolden50 offline
User avatar
Posts: 198
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

Not sure I understand your question.. In the Alexa app the acton is set up as a type: Light. In your plug-in I've set it up as an Action (not a device) with DIM action as Handle as ON/OFF and no variable. See attached screen shot. With these settings I still get the message saying the action is not dimmable.
Attachments
Screen Shot 2018-03-10 at 8.58.06 AM.png
Screen Shot 2018-03-10 at 8.58.06 AM.png (430.28 KiB) Viewed 892 times

Posted on
Sat Mar 10, 2018 11:30 am
autolog offline
Posts: 3243
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT+1 aka UTC+1]

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

There is something odd there as the Indigo Dim Action at the top is showing NO ACTION. So the action selected isn't HANDLE DIM AS ON/OFF. :?

In the lower list you have Add New Alexa Device selected as opposed to the actual device.

There is a minor bug in 3.0.23 that will show the DIM Action as Action #1 not found - I would expect to see this if you had selected HANDLE DIM AS ON/OFF.

I have corrected this 3.0.24 which I have uploaded to the main github page (not yet a pre-release as I am working on 3.0.25 to add in routine dim handling for a device as opposed to an action).

That said, I may be missing something but could you double check your settings for that device. :)

Posted on
Sat Mar 10, 2018 12:05 pm
mgolden50 offline
User avatar
Posts: 198
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

It was user error. I had failed to update the change to the plug-in configuration and save it.
However there's still some mystery. After saving the changes I re-opened the action and it showed action not found for the DIM action--even though it worked without errors.
Attachments
Screen Shot 2018-03-10 at 9.56.14 AM.png
Screen Shot 2018-03-10 at 9.56.14 AM.png (454.75 KiB) Viewed 880 times

Posted on
Sat Mar 10, 2018 12:06 pm
mgolden50 offline
User avatar
Posts: 198
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

Now I hadn't installed your latest fix. So that may be the issue.

Posted on
Sat Mar 10, 2018 1:17 pm
autolog offline
Posts: 3243
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT+1 aka UTC+1]

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

mgolden50 wrote:
Now I hadn't installed your latest fix. So that may be the issue.

Yes it will work - it is just the label that is wrong. :)

3.0.24 has a partial fix for the issue which I have now fully sorted in 3.0.25.

3.0.25 is almost tested, just need to iron out a couple of gremlins. I will most likely upload it tomorrow as it is now Saturday evening in the UK.

3.0.24/25 contains a new feature which is to optionally filter out network traffic that doesn't originate from one of the Echos. You have to define the Indigo Echo device(s) so the plugin knows to let it's network traffic through. I think this might make a difference to the performance of the plugin as it can just drop network traffic it isn't interested in. We'll see. :)

Posted on
Sat Mar 10, 2018 2:39 pm
mgolden50 offline
User avatar
Posts: 198
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

Thanks,

Won't be able to check it out until Monday morning Arizona time.

Mike

Posted on
Sun Mar 11, 2018 10:05 am
autolog offline
Posts: 3243
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT+1 aka UTC+1]

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

Pre-Release 3.0.26 now available on Github - see announcement :)

Posted on
Sun Mar 11, 2018 5:50 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

For 3.0.26 I added a new device, enabled the "dimmer as on/off" and got this after saving and trying to discover. The new device did show up on the Echo.

Code: Select all
Mar 11, 2018 at 5:46:27 PM
   Alexa-Hue Bridge Error          Unable to access 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to access 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to access 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to access 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to publish 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          getHueDeviceJSON exception:
Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/hue_listener.py", line 338, in getHueDeviceJSON
    alexaDeviceNameKey = PLUGIN.globals['alexaHueBridge'][ahbDevId]['hashKeys'][alexaDeviceHashedKey]
KeyError: '843c743e599d0397f18102a3ecb344c57194ed070d3cc5cdb87e37dfff5c4467'

   Alexa-Hue Bridge Error          StandardError detected in HttpdRequestHandler for 'Alexa Hub (Admin)'. Line '186' has error='must be string or buffer, not None'
   Alexa-Hue Bridge Error          Unable to access 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to publish 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to publish 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to publish 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to access 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to publish 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to publish 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to publish 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to publish 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to publish 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to publish 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          Unable to publish 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found
   Alexa-Hue Bridge Error          Unable to publish 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to publish 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to publish 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to publish 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to access 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to publish 'Fireplace' from 'Alexa Hub (Upstairs)', associated device #9341080 not found
   Alexa-Hue Bridge Error          Unable to access 'Bedroom Curtains' from 'Alexa Hub (Rooms)', associated device #228365860 not found
   Alexa-Hue Bridge Error          Unable to access 'Side Curtains' from 'Alexa Hub (Rooms)', associated device #969031306 not found
   Alexa-Hue Bridge Error          Unable to access 'Back Curtains' from 'Alexa Hub (Rooms)', associated device #1848934248 not found
   Alexa-Hue Bridge Error          Unable to access 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found
   Alexa-Hue Bridge Error          getHueDeviceJSON exception:
Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Alexa-Hue Bridge.indigoPlugin/Contents/Server Plugin/hue_listener.py", line 338, in getHueDeviceJSON
    alexaDeviceNameKey = PLUGIN.globals['alexaHueBridge'][ahbDevId]['hashKeys'][alexaDeviceHashedKey]
KeyError: '843c743e599d0397f18102a3ecb344c57194ed070d3cc5cdb87e37dfff5c4467'

   Alexa-Hue Bridge Error          StandardError detected in HttpdRequestHandler for 'Alexa Hub (Admin)'. Line '186' has error='must be string or buffer, not None'
   Alexa-Hue Bridge Error          Unable to access 'Ceiling Fan' from 'Alexa Hub (Upstairs 2)', associated device #1776418132 not found

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Sun Mar 11, 2018 5:52 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

I don't have to set up the Echo's as devices, right, I can continue to run as normal and that's an optional new feature if I read it right. Oh and all those device errors, none of them were on the same device for which I just added a new Indigo device, it was all a different AHB server device.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Mon Mar 12, 2018 5:46 am
autolog offline
Posts: 3243
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT+1 aka UTC+1]

Re: Alexa Hue-Bridge v3.0.11 won't allow actions to be set u

Hi @C4W,

I am struggling to reproduce this issue in my testing. :(

What is really odd is that the messages e.g. "Unable to access 'Dinner Table' from 'Alexa Hub (Upstairs 2)', associated device #452846569 not found" means that it fails when the device (in this case with an id of 452846569) is not present in indigo.devices. :?

Colorado4Wheeler wrote:
I don't have to set up the Echo's as devices, right, I can continue to run as normal and that's an optional new feature if I read it right. Oh and all those device errors, none of them were on the same device for which I just added a new Indigo device, it was all a different AHB server device.

That should be the case and is the intention. :)

I'll keep digging. :)

Who is online

Users browsing this forum: No registered users and 0 guests

cron