Page 1 of 1

Can't add second hub, plus endless error messages

PostPosted: Fri Jun 10, 2022 1:40 am
by abplus
I've just upgraded to:

Indigo 2022.1.1
Hue Plugin v2022.11.26

My second hub is detected but when I try to pair it I get a message saying" 'Select Hub Bridge' not confirmed." Which is not terribly helpful!

Meanwhile I have the following repeating endlessly:

2022-06-09 20:25:44 findHueBridges: next try
2022-06-09 20:25:46.652 ERROR Plugin.parseOneHueLightData
Traceback (most recent call last):
File "plugin.py", line 6397, in parseOneHueLightData
if device.states['brightnessLevel'] != brightnessLevel:
KeyError: 'key brightnessLevel not found in dict'

Please advise urgently. Thanks.

Re: Can't add second hub, plus endless error messages

PostPosted: Sat Jun 11, 2022 3:30 am
by abplus
Is nobody supporting this plugin anymore?

Re: Can't add second hub, plus endless error messages

PostPosted: Sat Jun 11, 2022 3:38 am
by autolog
Karl is developing and supporting this plugin but is currently on a 2-week holiday. He will no doubt address these issues when he is back. :)

Re: Can't add second hub, plus endless error messages

PostPosted: Sat Jun 11, 2022 9:30 am
by MarcoGT
abplus wrote:

Please advise urgently. Thanks.


"Urgently" should not even exist when we are talking about people who are doing this in their free time and for free

Re: Can't add second hub, plus endless error messages

PostPosted: Fri Jul 08, 2022 10:50 am
by akimball
For what it's worth (not much I'm afraid), I'm having a similar issue although I'm not adding a 2nd hub (getting close to the soft 50-device limit however).

I've been running Indigo 2022.1 for a couple months but a few days ago I updated my hue plugin and now I get a ton of these messages...

Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 5776, in parseAllHueLightsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'

Anyone have any clues or have I forgotten or missed a step? The message provides a clue (key hubNumber not found in dict).

TIA, -al

Re: Can't add second hub, plus endless error messages

PostPosted: Fri Jul 08, 2022 10:51 am
by akimball
Here is an example of my log over a few minutes...

Jul 8, 2022 at 10:46:51 AM
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 5776, in parseAllHueLightsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 6361, in parseAllHueGroupsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'

Jul 8, 2022 at 10:47:42 AM
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 5776, in parseAllHueLightsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 6361, in parseAllHueGroupsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'

Jul 8, 2022 at 10:48:33 AM
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 5776, in parseAllHueLightsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 6361, in parseAllHueGroupsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'

Jul 8, 2022 at 10:49:24 AM
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 5776, in parseAllHueLightsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 6361, in parseAllHueGroupsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'

Jul 8, 2022 at 10:50:15 AM
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 5776, in parseAllHueLightsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 6361, in parseAllHueGroupsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'
Received INSTEON "Bath1.Guest - Sconces" on

Jul 8, 2022 at 10:51:06 AM
Hue Lights Error
Traceback (most recent call last):
File "plugin.py", line 5776, in parseAllHueLightsData
hubNumber = device.pluginProps['hubNumber']
KeyError: 'key hubNumber not found in dict'

Re: Can't add second hub, plus endless error messages

PostPosted: Fri Jul 08, 2022 12:16 pm
by kw123
sorry I was busy for 2 days, I can focus on this one now.

I don't have any error message what so ever w 3 hubs and 80+ lights.

So I need to understand how this can happen. I have no clue how the devices can "forget" the hubnumber property
The best and fastest way to understand this would be an online session,
If someone would volunteer we could do a screen sharing session,I then I can quickly debug this.

We could use "any desk" or std mac screen sharing if you open up the proper port on you router. (forward port 5900 to your mac or any port > 5000 ) then tell me your ip#, port number forwarded and userID and password of your MAC.

We could do first a phone call (FaceTime or alike) and then the screen sharing.


Karl

[edit]
I have just posted a version https://github.com/kw123/Hue-Lights-Indigo-plugin/releases/tag/2022.11.32 that is a little bit more verbose about the hubNumber not defined error
it is not on the indigo plugin store, but on GitHub