Hue Lights discussion

Posted on
Tue Feb 01, 2022 5:05 am
nick.perry offline
Posts: 24
Joined: Feb 04, 2008

Re: Hue Lights discussion

Thanks Karl - exciting - though it won't load on my installation of 2021.2

Code: Select all
1 Feb 2022 at 10:59:59
   Hue Lights                      received "Bathroom motion sensor temp" sensor update to 20.5 ºC
   Stopping plugin Hue Lights (pid 80111)
   Stopped plugin Hue Lights
   Upgrading plugin Hue Lights to newer version 1.8.63 (previous version moved to trash)
   Loading plugin "Hue Lights 1.8.63"
   Starting plugin "Hue Lights 1.8.63" (pid 37240)
   Hue Lights Error                Error in plugin execution InitializeMain:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "plugin.py", line 65, in __init__
  File "/Library/Application Support/Perceptive Automation/Indigo 2021.2/IndigoPluginHost.app/Contents/Resources/PlugIns/simplejson/__init__.py", line 307, in loads
  File "/Library/Application Support/Perceptive Automation/Indigo 2021.2/IndigoPluginHost.app/Contents/Resources/PlugIns/simplejson/decoder.py", line 335, in decode
  File "/Library/Application Support/Perceptive Automation/Indigo 2021.2/IndigoPluginHost.app/Contents/Resources/PlugIns/simplejson/decoder.py", line 351, in raw_decode
  File "/Library/Application Support/Perceptive Automation/Indigo 2021.2/IndigoPluginHost.app/Contents/Resources/PlugIns/simplejson/scanner.py", line 36, in _scan_once
  File "/Library/Application Support/Perceptive Automation/Indigo 2021.2/IndigoPluginHost.app/Contents/Resources/PlugIns/simplejson/decoder.py", line 172, in JSONObject
ValueError: Expecting : delimiter: line 1 column 4 (char 4)

   Stopping plugin "Hue Lights 1.8.63" (pid 37240)
   Stopped plugin "Hue Lights 1.8.63"


Let me know if you need the existing prefs.

Posted on
Tue Feb 01, 2022 5:19 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

try v 1.8.64
id id the initialization of heads wrong, after it exists it doe not do that part anymore, only the first time you load it.

https://github.com/nsheldon/Hue-Lights-Indigo-plugin/releases/download/v1.8.64/Hue.Lights.indigoPlugin.zip

Karl

Posted on
Tue Feb 01, 2022 10:59 am
cesarvog offline
User avatar
Posts: 155
Joined: Aug 13, 2016
Location: Brazil

Re: Hue Lights discussion

Excellent news. Thanks for the beta update and all the work that have gone into bringing it to light.
I have just tried 1.7.65 and all my "Hue" and "3A Smart Home DE" branded devices continue to work.
Keep up the good work, guys!

Cesar
Last edited by cesarvog on Tue Feb 01, 2022 11:21 am, edited 1 time in total.

Posted on
Tue Feb 01, 2022 11:01 am
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

You did not try the 1.8?


Sent from my iPhone using Tapatalk

Posted on
Tue Feb 01, 2022 12:45 pm
nick.perry offline
Posts: 24
Joined: Feb 04, 2008

Re: Hue Lights discussion

Thanks Karl

The link to 1.8.64 on GitHub downloads and installs OK but it identifies as v 1.7.65 and doesn't appear to pick up any new light controllers that weren't in 1.7.65

Code: Select all
1 Feb 2022 at 18:32:44
   Stopping plugin Hue Lights (pid 37526)
   Stopped plugin Hue Lights
   Upgrading plugin Hue Lights to newer version 1.7.65 (previous version moved to trash)
   Loading plugin "Hue Lights 1.7.65"
   Starting plugin "Hue Lights 1.7.65" (pid 42852)
   Started plugin "Hue Lights 1.7.65"
   Hue Lights                      Loaded 44 lights.
   Hue Lights                      Loaded 17 groups.
   Hue Lights                      Loaded 150 scenes.
   Hue Lights                      Loaded 53 sensors.

Posted on
Tue Feb 01, 2022 12:51 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

Can you do
Menu/ print / lights
?


Sent from my iPhone using Tapatalk

Posted on
Tue Feb 01, 2022 1:51 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

It looks like GitHub ignored my upload, please try this link

https://github.com/nsheldon/Hue-Lights-Indigo-plugin/releases/tag/v1.8.64

that should be the proper version


Karl

Posted on
Tue Feb 01, 2022 2:06 pm
cesarvog offline
User avatar
Posts: 155
Joined: Aug 13, 2016
Location: Brazil

Re: Hue Lights discussion

I tried to download again and got several errors from the Indigo Log:

1 Feb 2022 17:05:02
Stopping plugin Hue Lights (pid 79584)
Stopped plugin Hue Lights
Upgrading plugin Hue Lights to newer version 1.8.64 (previous version moved to trash)
Loading plugin "Hue Lights 1.8.64"
Starting plugin "Hue Lights 1.8.64" (pid 81007)
Started plugin "Hue Lights 1.8.64"
Hue Lights hostIds read: {'0': u'D49BBE38D7'}
Hue Lights ipAddresses loaded: {'0': u'192.168.1.194'}
Hue Lights hubs paired read: {'0': True}
Hue Lights hub:0 Loaded 13 light(s).
Hue Lights hub:0 Loaded 5 group(s).
Hue Lights hub:0 Loaded 0 scene(s).
Hue Lights hub:0 Loaded 4 sensor(s).
Hue Lights Error exception in deviceStartComm(Extended Hue Color Light 8 Escritorio): list index out of range
Hue Lights Error exception in deviceStartComm(Hue Bloom 9 Sala de Jantar): list index out of range
Hue Lights Error exception in deviceStartComm(Hue Boom 6 Sala de Jantar): list index out of range
Hue Lights Error exception in deviceStartComm(Hue Extended Color Light NE 1 Gazebo): list index out of range
Hue Lights Error exception in deviceStartComm(Hue Extended Color Light NO 3 Gazebo): list index out of range
Hue Lights Error exception in deviceStartComm(Hue Extended Color Light SE 5 Gazebo): list index out of range
Hue Lights Error exception in deviceStartComm(Hue Extended Color Light SO 4 Gazebo): list index out of range
Hue Lights Error exception in deviceStartComm(Hue Lightstrip Plus Sala de Jantar): list index out of range
Hue Lights Error exception in deviceStartComm(Hue White and Color Estatua 11 Sala de Jantar): list index out of range
Hue Lights Error exception in deviceStartComm(Nue Zigbee Switch EP01 3A Smart Home DE LXN3S27LX1.0 Escritorio): list index out of range
Hue Lights Error exception in deviceStartComm(Nue Zigbee Switch EP02 3A Smart Home DE LXN3S27LX1.0 Escritorio): list index out of range
Hue Lights Error exception in deviceStartComm(Nue Zigbee Switch EP03 3A Smart Home DE LXN3S27LX1.0 Escritorio): list index out of range
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Tue Feb 01, 2022 2:13 pm
cesarvog offline
User avatar
Posts: 155
Joined: Aug 13, 2016
Location: Brazil

Re: Hue Lights discussion

I removed the Preference file and tried pairing again. Then I got the following on the Indigo Log:


Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Attempting to pair with the Hue bridge at "192.168.1.194".
Hue Lights Paired with Hue bridge successfully.
Hue Lights -4 fewer Hue sensors were found on the Hue bridge. Check your Hue Lights Indigo devices. Some of them may have been controlling the missing Hue sensors.
Hue Lights Error Failed to connect to the Hue bridge at {}. - Check that the bridge is connected, turned on and the network settings are correct.
Hue Lights -13 Hue light removals were detected on the Hue bridge. Check your Hue Lights Indigo devices. Some of them may have been controlling the missing Hue lights.
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Debug logging disabled
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


One thing that might be relevant in my current scenario is that my Hue Bridge is not actually a Hue Bridge. It's a Phoscon Conbee II, which provides an almost 1:1 API when compared to the Hue API.

Posted on
Tue Feb 01, 2022 2:15 pm
cesarvog offline
User avatar
Posts: 155
Joined: Aug 13, 2016
Location: Brazil

Re: Hue Lights discussion

After I sent you the above 2 messages, I clicked on "Reload Hue Hub Config" in the Hue Bridge submenu. Then I got the following;

Z-Wave received "Frente Direita - Smart Implant Binary IN1" status update is off
Hue Lights hostIds read: {u'1': u'7360ECF219', '0': ''}
Hue Lights ipAddresses loaded: {u'1': u'192.168.1.194', '0': {}}
Hue Lights hubs paired read: {u'1': True, '0': False}
Hue Lights hub:1 Loaded 13 light(s).
Hue Lights hub:1 Loaded 5 group(s).
Hue Lights hub:1 Loaded 0 scene(s).
Hue Lights hub:1 Loaded 4 sensor(s).
Hue Lights hub:0 Loaded 0 light(s).
Hue Lights hub:0 Loaded 0 group(s).
Hue Lights hub:0 Loaded 0 scene(s).
Hue Lights hub:0 Loaded 0 sensor(s).
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights Error Error in plugin execution runConcurrentThread:

Posted on
Tue Feb 01, 2022 2:18 pm
cesarvog offline
User avatar
Posts: 155
Joined: Aug 13, 2016
Location: Brazil

Re: Hue Lights discussion

Clicking on "Print Hue Data to Logfile" results in :


Hue Lights
============ printHueSensors
hubNumber:1, ipNumber:192.168.1.194, hostId:7360ECF219, paired:True
ID modelid-------- Name------------------------- productname------------------ manufacturername------------- type--------------- ON/off reachb Status lastupdated--------
1 PHDL00 Daylight Philips Daylight True 170 2022-02-01T15:33:55.003
2 RWL021 Hue Remote RWL021 Philips ZHASwitch True True 2022-01-28T18:37:34.175
3 Model 2015 Light state all 4 hue CLIPGenericStatus True True 0 2022-01-27T18:53:12.900
4 HL_STATE HL-S00-5000 LapApps, LLC CLIPGenericStatus True True 0 2022-01-27T18:53:12.901
============ printHueSensors
Hue Lights
============ printHueSensors
hubNumber:0, ipNumber:{}, hostId:, paired:False
ID modelid-------- Name------------------------- productname------------------ manufacturername------------- type--------------- ON/off reachb Status lastupdated--------

============ printHueSensors
Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Hue Lights
============ printhueGroups
hubNumber:1, ipNumber:192.168.1.194, hostId:7360ECF219, paired:True
ID Name------------------------- Lights------------------
1 RWL021 2
2 Gazebo 1, 4, 3, 5
3 Jantar 11, 9, 6, 7
4 Luzes Escritorio 8
6 Int. Escritorio 14, 15, 16
============ printhueGroups
Hue Lights
============ printhueGroups
hubNumber:0, ipNumber:{}, hostId:, paired:False
ID Name------------------------- Lights------------------

============ printhueGroups
Hue Lights Error Error in plugin execution UiAction:

Traceback (most recent call last):
File "plugin.py", line 11562, in printHueData
KeyError: ('productname',)

Hue Lights Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 378, in runConcurrentThread
File "plugin.py", line 6875, in parseAllHueGroupsData
File "plugin.py", line 6897, in parseOneHueGroupData
KeyError: 'action'

Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

First I tried lights which gave me an error, then I chose Sensors, then Groups, then Light again. The log above was taken after the 3 last choices.
Last edited by cesarvog on Tue Feb 01, 2022 2:51 pm, edited 1 time in total.

Posted on
Tue Feb 01, 2022 2:20 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

could you switch on debug and send me the indigo log output directly. it is a lot of data
karlwachs at me com

and please set the hub number correctly in config
the default used should be hub0 not hub1

Posted on
Tue Feb 01, 2022 2:25 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

i believe this is what's happening:
it mixes up hub0 and hub1; hub 1 is defined, but hub0 is used in some areas.

so please in config set hub0 correct ip number and delete hub1

Posted on
Tue Feb 01, 2022 2:40 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

I could replicate the error: yes it is the missing hub#0,

As there is no hub defined initially all devices are assigned to hub # 0 when converting from 1.7 to 1.8 to get the plugin going.

But in your instance hub 1 is active and hub0 not, don't know why

to fix: define hub0 in config, then delete hub1 in config

that should take care of most issues.

I need to think about how to handle this automatically.

Karl

Posted on
Tue Feb 01, 2022 4:18 pm
kw123 offline
User avatar
Posts: 8366
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

https://github.com/nsheldon/Hue-Lights-Indigo-plugin/releases/tag/v1.8.65

should fix several issues in groups / events ..

Karl

Page 96 of 103 1 ... 93, 94, 95, 96, 97, 98, 99 ... 103

Who is online

Users browsing this forum: No registered users and 2 guests