Hue Lights discussion

Posted on
Thu Mar 10, 2022 11:00 am
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

ok, lets try this again:

https://github.com/IndigoDomotics/Hue-Lights-Indigo-plugin/releases/tag/v1.9.10


I did change a lot to make the code more stream lined.. I hope this is the last variable if forgot to fix.

Karl

Posted on
Thu Mar 10, 2022 1:54 pm
jay (support) offline
Site Admin
User avatar
Posts: 18261
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Hue Lights discussion

Note - your tag (1.9.10) doesn't match the version in the Info.plist (1.8.10). I've changed the tag to match the real version:

https://github.com/IndigoDomotics/Hue-L ... ag/v1.8.10

[EDIT] - still seems to be broken:

Code: Select all
   Hue Lights Error                Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 3190, in actionControlDimmerRelay
  File "plugin.py", line 8466, in doOnOff
NameError: global name 'lastUpdated' is not defined



This was trying to turn on an existing bulb after upgrading from an earlier version (probably 1.7 from over a year ago).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Mar 10, 2022 2:11 pm
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

https://github.com/IndigoDomotics/Hue-Lights-Indigo-plugin/releases/tag/v1.9.11

this should be 1.9.11
and it should fix "global name 'lastUpdated' is not defined"

Karl

Posted on
Thu Mar 10, 2022 3:52 pm
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

https://github.com/IndigoDomotics/Hue-Lights-Indigo-plugin/releases/tag/v1.9.12

v 1.9.12
* following recommendations from Jay
* removed autocreate folder for new devices, now it will only create a folder when you execute menu: "Create all HUE light devices in indigo if they do not exist already"
* removed debug setting from config. now ONLY in menu. only in one place. Menu is better as you likely want to easily switch it on and then off to avoid a lot pages printed to logfile.

Karl
and thanks to Jay for some suggestions and debugging

Posted on
Wed Mar 16, 2022 1:28 pm
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

1.9.14 @ 2022-03-16
* did a lot of testing
* fixed several bugs ie when more than one bridge is used
* added several print options (for rules, schedules, resource links, config, user lists (whitelist) etc)
* added print option for orphanes, indigo devices that do not exists anymore on the bridge
* tested with 3 bridges, 70+ lights, 30+ sensors/ switches

https://github.com/IndigoDomotics/Hue-L ... ag/v1.9.14

Karl
print menu:
Screen Shot 2022-03-16 at 20.24.41.png
Screen Shot 2022-03-16 at 20.24.41.png (76.67 KiB) Viewed 2314 times


orphaned indigo dev report looks like ( added a 3.rd bridge and deleted devices on bridge 1&2 and recreated them on the 3rd bridge):
Code: Select all
   Hue Lights                      ======================= print Hue orphens =====================
   Hue Lights                       orphen indigo lights  device: == Hue_light_0_55_Office desk black                ==   ID:55  does not exist on bridge: 0 - 192.168.1.232
   Hue Lights                       orphen indigo lights  device: == Hue_light_0_27_Ceiling winterg small 1          ==   ID:27  does not exist on bridge: 0 - 192.168.1.232
   Hue Lights                       orphen indigo lights  device: == Hue_light_0_6_Color temperature light 5         ==   ID:6   does not exist on bridge: 0 - 192.168.1.232
   Hue Lights                       orphen indigo lights  device: == Hue_light_0_32_Office ceiling                   ==   ID:32  does not exist on bridge: 0 - 192.168.1.232
   Hue Lights                       orphen indigo lights  device: == Hue_light_0_3_Color temperature light 3         ==   ID:3   does not exist on bridge: 0 - 192.168.1.232
   Hue Lights                       orphen indigo lights  device: == dining schreibtisch                             ==   ID:34  does not exist on bridge: 0 - 192.168.1.232
   Hue Lights                       orphen indigo lights  device: == dining room ceiling                             ==   ID:20  does not exist on bridge: 0 - 192.168.1.232
   Hue Lights                       orphen indigo lights  device: == decke 1                                         ==   ID:63  does not exist on bridge: 0 - 192.168.1.232
   Hue Lights                       orphen indigo lights  device: == short strip                                     ==   ID:62  does not exist on bridge: 0 - 192.168.1.232
...

Posted on
Wed Mar 16, 2022 2:14 pm
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Hue Lights discussion

Decided to install 1.9.14 and get the following

Code: Select all
16 Mar 2022 at 19:46:51
   Hubitat Bridge                  received "HE 1 Ch Zigbee No Neutral Switch" voltage "247 Volts" event
   Stopping plugin Hue Lights (pid 733)
   Stopped plugin Hue Lights
   Upgrading plugin Hue Lights to newer version 1.9.14 (previous version moved to trash)
   Loading plugin "Hue Lights 1.9.14"
   Starting plugin "Hue Lights 1.9.14" (pid 50992)
   Hue Lights                      Starting plugin initialization.
   Hue Lights                      initializing  ...
   Hue Lights                      path To files:          =================
   Hue Lights                      indigo                  /Library/Application Support/Perceptive Automation/
   Hue Lights                      installFolder           /Library/Application Support/Perceptive Automation/Indigo 2021.2/
   Hue Lights                      plugin.py               /Library/Application Support/Perceptive Automation/Indigo 2021.2/Plugins/Hue Lights.indigoPlugin/Contents/Server Plugin/
   Hue Lights                      Plugin params           /Library/Application Support/Perceptive Automation/Indigo 2021.2/Preferences/Plugins/com.nathansheldon.indigoplugin.HueLights/
   Hue Lights                      logger  enabled for     INFO           ==> TEST ONLY
   Hue Lights Warning              logger  enabled for     WARNING        ==> TEST ONLY
   Hue Lights Error                logger  enabled for     ERROR          ==> TEST ONLY
   Hue Lights Error                logger  enabled for     CRITICAL       ==> TEST ONLY
   Hue Lights                      check                   /Library/Application Support/Perceptive Automation/Indigo 2021.2/Logs/com.nathansheldon.indigoplugin.HueLights/plugin.log  <<<<    for detailed logging
   Hue Lights                      Plugin short Name       Hue Lights
   Hue Lights                      my PID                  50992
   Hue Lights                      set params for indigo V 2021.2
   Started plugin "Hue Lights 1.9.14"
   Hue Lights                      debug areas:[]
   Hue Lights                      hostIds read:  {u'1': u'', u'0': u'QqOYkfQWel5fIDNv2ETBzZex43Itz5-I4utYEv-b'}
   Hue Lights                      ipAddresses loaded:{u'1': u'', '0': u'192.168.100.240'}
   Hue Lights Error                Failed to connect to the Hue bridge at . - Check that the bridge is connected and turned on.
   Hue Lights                      brdiges paired read:  {'0': False}
   Hue Lights                      bridge: 0  loaded: light(s):  0; group(s):  0; scene(s):  0; user(s):  0;  resource(s):  0; rule(s):   0; schedule(s):  0; sensor(s):  0
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights                      -2 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                Unable to obtain list of Hue lights from the bridge. at line:5824;  error msg:global name 'lightsListResponseData' is not defined
 lastCount:{u'1': 0}
   Hue Lights                      -15 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                Failed to connect to the Hue bridge at . - Check that the bridge is connected and turned on.
   Hue Lights Error                Unable to obtain list of Hue groups from the bridge. at line:5938;  error msgglobal name 'groupsListResponseData' is not defined
   Hue Lights Error                Failed to connect to the Hue bridge at . - Check that the bridge is connected and turned on.
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights Error                Unable to obtain list of Hue lights from the bridge. at line:5824;  error msg:global name 'lightsListResponseData' is not defined
 lastCount:{u'1': 0}
   Hue Lights Error                Failed to connect to the Hue bridge at . - Check that the bridge is connected and turned on.
   Hue Lights Error                Unable to obtain list of Hue groups from the bridge. at line:5938;  error msgglobal name 'groupsListResponseData' is not defined
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights                      Unexpected response from Hue bridge () when loading available sensors!
   Hue Lights Error                Unable to obtain list of Hue lights from the bridge. at line:5824;  error msg:global name 'lightsListResponseData' is not defined
 lastCount:{u'1': 0}


So I went back to 1.7.65 and all is working fine again

Code: Select all
16 Mar 2022 at 19:54:06
   Stopping plugin Hue Lights (pid 51323)
   Stopped plugin Hue Lights
   Downgrading plugin Hue Lights to older version 1.7.65 (previous version moved to trash)
   Loading plugin "Hue Lights 1.7.65"
   Starting plugin "Hue Lights 1.7.65" (pid 51387)
   Started plugin "Hue Lights 1.7.65"
   Hue Lights                      Loaded 15 lights.
   Hue Lights                      Loaded 17 groups.
   Hue Lights                      Loaded 51 scenes.
   Hue Lights                      Loaded 2 sensors.

16 Mar 2022 at 19:56:11
   Sent Hue Lights                 "Conservatory Light" on to 100 at ramp rate 2.0 sec.
   Sent Hue Lights                 "Conservatory Light" off at ramp rate 2.0 sec.
   Sent Hue Lights                 "Back Door Light" off at ramp rate 0.0 sec.



Any ideas?

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Wed Mar 16, 2022 4:57 pm
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

bridge(hostId) #1 is enabled and has no ip number assigned.
go into config, select bridge #1 and delete it

Code: Select all
 Hue Lights                      hostIds read:  {u'1': u'', u'0': u'QqOYkfQWel5fIDNv2ETBzZex43Itz5-I4utYEv-b'}
 Hue Lights                      ipAddresses loaded:{u'1': u'', '0': u'192.168.100.240'}
Screen Shot 2022-03-16 at 23.56.52.png
Screen Shot 2022-03-16 at 23.56.52.png (17.47 KiB) Viewed 2326 times

and click confirm

Karl

ps and the little checkbox should not be visible , should be hidden, ignore it
Code: Select all
 hidden="true"
I forgot the hidden=true

it is used to show the rest on the config or not, has no impact on the function

Posted on
Sun Mar 20, 2022 1:52 pm
Patje73 offline
Posts: 15
Joined: Jan 21, 2017

Re: Hue Lights discussion

Hi,

I have been getting the following eror like mentioned previously:
Hue Lights Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 11526, in recallScene
File "plugin.py", line 9482, in doScene
KeyError: (False,)

Reading the previous threads I am not able to solve it the same way.
Editing the actions and selecting the hue bridge number, I am not able to select 0.
Option is: Failed to get UI list from Plugin.
Invalidparametererror> plugin does not define methord gwl.istgenerator

Reloading, etc. does not bring anything nor does restarting the Hue Bridge.
Below some information that might help.
I am pretty lost right now. Hope you can help. Thank you...


Reloading plugin "Hue Lights 1.8.7"
Stopping plugin "Hue Lights 1.8.7" (pid 14906)
Stopped plugin "Hue Lights 1.8.7"
Starting plugin "Hue Lights 1.8.7" (pid 14935)
Started plugin "Hue Lights 1.8.7"
Hue Lights Paired Hue Bridges: 1
Hue Lights Bridge: 0 loaded 37 light(s).
Hue Lights Bridge: 0 loaded 21 group(s).
Hue Lights Bridge: 0 loaded 86 scene(s).
Hue Lights Bridge: 0 loaded 12 sensor(s).

====================== print Hue Lights =====================
hubNumber:0, ipNumber:192.168.2.6, hostId:IaSxK2JUBqRDC5EXCNHIGfHBG6RoxjNEKi6WJzp2, paired:True
ID modelId--------- type--------------------- uniqueid------------------ Name---------------------------- ProductId-------------------- manufacturername------------- ProductName------------------ indigoDevName-----
4 LTW013 Color temperature light 00:17:88:01:02:e4:c9:f8-0b Schilderij Philips-LTW013-1-GU10CTv1 Signify Netherlands B.V. Hue ambiance spot Ventilator Eettafel - Schilderij
5 LTW013 Color temperature light 00:17:88:01:02:31:f7:f0-0b Tafel Philips-LTW013-1-GU10CTv1 Signify Netherlands B.V. Hue ambiance spot Ventilator Eettafel - Tafel
8 LST002 Extended color light 00:17:88:01:02:9c:1b:14-0b TV Kast Philips-LST002-1-LedStripsv3 Signify Netherlands B.V. Hue lightstrip plus Woonkamer - TV Kast - LED strip
9 LTW013 Color temperature light 00:17:88:01:02:30:32:c7-0b Muur Philips-LTW013-1-GU10CTv1 Signify Netherlands B.V. Hue ambiance spot Ventilator Eettafel -Muur
11 LCT003 Extended color light 00:17:88:01:10:27:92:4f-0b Rechts Signify Netherlands B.V. Hue color spot Tuinverlichting - Rechts
12 LCT010 Extended color light 00:17:88:01:02:d8:d0:6a-0b Staanlamp Philips-LCT010-1-A19ECLv4 Signify Netherlands B.V. Hue color lamp Woonkamer - Staanlamp
13 LCT010 Extended color light 00:17:88:01:02:93:32:7a-0b Zolder Philips-LCT010-1-A19ECLv4 Signify Netherlands B.V. Hue color lamp Zolder - kantoor
14 LCT015 Extended color light 00:17:88:01:03:54:af:8a-0b 4b Schuin links Philips-LCT015-1-A19ECLv5 Signify Netherlands B.V. Hue color lamp 4b - Schuin links
15 LCT015 Extended color light 00:17:88:01:03:71:b1:83-0b 4b Schuin rechts Philips-LCT015-1-A19ECLv5 Signify Netherlands B.V. Hue color lamp 4b - Schuin rechts
16 LCT015 Extended color light 00:17:88:01:03:54:af:cd-0b Balkon Philips-LCT015-1-A19ECLv5 Signify Netherlands B.V. Hue color lamp 4b Balkon
17 LCT003 Extended color light 00:17:88:01:10:27:91:c5-0b Links Signify Netherlands B.V. Hue color spot Tuinverlichting - Links
18 LCT003 Extended color light 00:17:88:01:04:54:a9:46-0b Schuifdeur Signify Netherlands B.V. Hue color spot Tuinverlichting - Schuifdeur
19 LCT003 Extended color light 00:17:88:01:04:54:9b:d2-0b Spot boom Signify Netherlands B.V. Hue color spot Tuinverlichting - Spot Boom
20 LTW013 Color temperature light 00:17:88:01:02:39:49:0b-0b Vloer Philips-LTW013-1-GU10CTv1 Signify Netherlands B.V. Hue ambiance spot Ventilator 2 - Vloer
24 LCT003 Extended color light 00:17:88:01:04:a3:e2:fb-0b Midden Signify Netherlands B.V. Hue color spot Tuinverlichting - Midden
25 LCT024 Extended color light 00:17:88:01:06:53:e2:fe-0b TV rechts 3241-3127-7871-LS00 Signify Netherlands B.V. Hue play 4a - TV Rechts
26 LCT024 Extended color light 00:17:88:01:06:53:db:f9-0b TV Links 3241-3127-7871-LS00 Signify Netherlands B.V. Hue play 4a - TV Links
27 LTW013 Color temperature light 00:17:88:01:06:ec:8b:d9-0b Leeslamp Kerstin Philips-LTW013-1-GU10CTv1 Signify Netherlands B.V. Hue ambiance spot Leeslamp Kerstin
28 LTW013 Color temperature light 00:17:88:01:06:ec:8b:d2-0b Leeslamp Patrick Philips-LTW013-1-GU10CTv1 Signify Netherlands B.V. Hue ambiance spot Leeslamp Patrick
31 5045131P7 Extended color light 00:17:88:01:08:4b:1b:c5-0b Insel 3 Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot Keuken - Insel 3
32 5045131P7 Extended color light 00:17:88:01:08:50:fb:b4-0b Keuken Koelkast Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot Keuken - Spot koelkast
33 5045131P7 Extended color light 00:17:88:01:08:4b:5e:72-0b Keuken voorraadkast Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot Keuken - Spot voorraadkast
34 5045131P7 Extended color light 00:17:88:01:08:50:f2:da-0b Insel 4 Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot Keuken - Insel 4
35 5045131P7 Extended color light 00:17:88:01:08:4b:05:25-0b Insel 2 Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot Keuken - Insel 2
36 5045131P7 Extended color light 00:17:88:01:08:50:be:06-0b Keuken kastjes Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot Keuken - Spot kastjes
37 5045131P7 Extended color light 00:17:88:01:08:50:f8:44-0b Keuken achterdeur Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot Keuken - Spot achterdeur
38 5045131P7 Extended color light 00:17:88:01:08:4b:4c:49-0b Insel 1 Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot Keuken - Insel 1
39 5045131P7 Extended color light 00:17:88:01:08:c4:d5:0c-0b 4b midden Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot 4b - Spot midden
40 5045131P7 Extended color light 00:17:88:01:08:cc:c2:a7-0b 4b raam klein 2 Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot 4b - Spot raam klein 2
41 5045131P7 Extended color light 00:17:88:01:08:c4:d7:55-0b 4b raam groot 2 Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot 4b - Spot raam groot 2
42 5045131P7 Extended color light 00:17:88:01:08:c4:bd:7a-0b 4b raam klein 1 Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot 4b - Spot raam klein 1
43 5045131P7 Extended color light 00:17:88:01:08:c4:b4:40-0b 4b raam groot 1 Philips-LCG002-1-GU10ECLv2 Signify Netherlands B.V. Hue Centura color spot 4b - Spot raam groot 1
46 LCG002 Extended color light 00:17:88:01:09:7d:fb:e0-0b Wijnkast Philips-LCG002-3-GU10ECLv2 Signify Netherlands B.V. Hue color spot Ventilator 2 - Wijnkast
47 LCG002 Extended color light 00:17:88:01:09:7d:fe:f1-0b Schouw Philips-LCG002-3-GU10ECLv2 Signify Netherlands B.V. Hue color spot Ventilator 2 - Schouw
48 LCL001 Extended color light 00:17:88:01:09:b9:20:0e-0b Keuken aanrecht Philips-LCL001-1-LedStripsv4 Signify Netherlands B.V. Hue lightstrip plus Keuken - Aanrecht
50 4080248P9 Extended color light 00:17:88:01:09:22:df:5f-0b Hoek TV 3241-3127-7871_HC02_PSU03 Signify Netherlands B.V. Hue color floor Woonkamer - TV Hoek
51 5045131P7 Extended color light 00:17:88:01:08:cc:d8:fc-0b Spot trap

======================= print Hue Secenes =====================
hubNumber:0, ipNumber:192.168.2.6, hostId:IaSxK2JUBqRDC5EXCNHIGfHBG6RoxjNEKi6WJzp2, paired:True
ID------------- Name------------------------- Group Type---------- Lights------------------
g7ujbnS6bHuGWoG Tropische schemering 2 GroupScene 11, 16, 17, 18, 19, 24
mgGKbGRO58W3KVy Energie 16 GroupScene 27
hYiME0cTF4VSWGc Ontspannen 12 GroupScene 13
UjcPFC6hgkYNXtN Scene scene4 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
pjfcmHjrsffTRfT Ontspannen 17 GroupScene 20, 46, 47
x6c0LHvvH1WCA38 Lentebloesem 12 GroupScene 13
jotLapf1oETs9dC jotLapf1oETs9dC LightScene 4, 5, 9
tSYqYZqk0oSHfGv Nachtlampje 12 GroupScene 13
xxploXXDohAQYnh Scene hue11 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
wMWaJHxi79U08T2 Midzomerzon 4 GroupScene 14, 15, 39, 40, 41, 42, 43
LR9sMTtjlH0INRf Scene myScene1 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
-PILVKT95RSXbMr Helder 17 GroupScene 20, 46, 47
CVZK1BYRbnA6yIC Scene myScene4 LightScene 12, 14, 15, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 50, 51, 8
HbB06R6M28PQ6BW Meermist 20 4 GroupScene 14, 15, 39, 40, 41, 42, 43
u82u8vI5Hr8Ps4V Scene hue21 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
tUQ0zv3N1lDzDES Energie 17 GroupScene 20, 46, 47
293C2DD4220246B GroupId:001788FFFE2B13949 LightScene 31, 34, 35, 38
Tk45WKWLXrYVJav Scene myScene2 LightScene 12, 14, 15, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 50, 51, 8
TfzEBIy5Pnf2VzE Lentebloesem 2 GroupScene 11, 16, 17, 18, 19, 24
3sixdG7evrr4RPu Scene myScene3 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
VCFEoTbzw6rQMcO Scene myScene4 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
HhaLUgJS6IjblJ2 Energie 12 GroupScene 13
3koDqSzk312cOF5 Scene storageScene 20 GroupScene 12, 14, 15, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 50, 51, 8
U6Khs3PRh-9OAYu Arctische dageraad 2 GroupScene 11, 16, 17, 18, 19, 24
-xFy9mmMLoc0xB2 Scene myScene3 LightScene 12, 14, 15, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 50, 51, 8
3937D9A9F622549 GroupId:001788FFFE2B13948 LightScene 31, 32, 33, 34, 35, 36, 37, 38
D46MNvVB6gT86A0 Ontspannen 21 GroupScene 28
qj5ENb7wQyJaMJM Gouden vijver 21 GroupScene 28
l-7o7x5-lNKOzJR Gedimd 16 GroupScene 27
19JbWp7K0bp3w03 Scene myScene1 LightScene 12, 14, 15, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 50, 51, 8
a9MJ1WQXk2QQ3cC Concentreren 12 GroupScene 13
VCmhnJv6NnkUPDJ Sterrenlicht 4 GroupScene 14, 15, 39, 40, 41, 42, 43
xwfARYzMsb5OF49 Scene scene2 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
Sws8FqtMxi39qBM Lezen 16 GroupScene 27
A197E80A9804F8A GroupId:001788FFFE2B139419 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
oJsbh8c1EuaRceb Ontspannen 2 GroupScene 11, 16, 17, 18, 19, 24
DA2E88EF21047FB GroupId:001788FFFE2B139417 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 4, 40, 41, 42, 43, 5, 8
JYMKqbQRvzZnZdj Scene myScene1 LightScene 12, 14, 15, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 50, 51, 8
1nWb6wki5oVxdBW 1nWb6wki5oVxdBW LightScene 4, 5, 9
CaIJpWSkZHl1S6j Gedimd 12 GroupScene 13
Hon5B1R3sZGssjL Nachtlampje 17 GroupScene 20, 46, 47
M0dMhScwnlT8Idq Savanne zonsondergang 12 GroupScene 13
xMvcOEGyo5AJntL Concentreren 16 GroupScene 27
0bx4uTY8ovQaWcK Lezen 17 GroupScene 20, 46, 47
BFF2B0B770EB26A GroupId:001788FFFE2B13944 LightScene 14, 15, 39, 40, 41, 42, 43
p8Ov2VwDzujBWJu Lezen 2 GroupScene 11, 16, 17, 18, 19, 24
CO5mEys7vnrhQvf Lezen 12 GroupScene 13
jhveEritxQbOlfH Midzomer 20 4 GroupScene 14, 15, 39, 40, 41, 42, 43
rWIeim7YZ59Bx9B Gedimd 17 GroupScene 20, 46, 47
vxzSTRjQGF5jdl- Gouden vijver 16 GroupScene 27
SZi0QAwTLdVQA8G Scene scene6 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
LBCTj2h-xl-PJHH Scene scene7 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
bcimg8Y5X70nU3E Meermist 4 GroupScene 14, 15, 39, 40, 41, 42, 43
zyM0HBkOq9LlQjM Scene scene1 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
6ijqUGKJzeboo9l Energie 2 GroupScene 11, 16, 17, 18, 19, 24
LkRCmfm4Q-NEDLg Concentreren 2 GroupScene 11, 16, 17, 18, 19, 24
UwU24l3pu8KfSTa Helder 2 GroupScene 11, 16, 17, 18, 19, 24
JfuyBBCmpRs57iv Scene myScene2 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
jb9vaexrcdIcoK7 Lake Placid 4 GroupScene 14, 15, 39, 40, 41, 42, 43
fEGn8-qpB4oge1p Tropische schemering 17 GroupScene 20, 46, 47
8phlwvy0vSe2VEo Ontspannen 16 GroupScene 27
GsAlkFTOVBGaPwf Scene hue01 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
GGRFllQMUWOeUdz Scene scene3 LightScene 12, 14, 15, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 8
F8A747AFE27DDD6 GroupId:001788FFFE2B13945 LightScene 12, 14, 15, 18, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 4, 40, 41, 42, 43, 46, 47, 5, 8, 9
EqrfFGl4pDSfZWt Arctische dageraad 17 GroupScene 20, 46, 47
C5QuKY331W4xdkF C5QuKY331W4xdkF LightScene
hd-4BB7E5D68BFDA Relax on Kerstin 4b with ID 4 LightScene 13, 14, 15, 16
tBy6c9aNnSELKVM Savanne zonsondergang 2 GroupScene 11, 16, 17, 18, 19, 24
2WmDQF6gETcESS7 Concentreren 21 GroupScene 28
QysevRBc5FqM0G2 Scene myScene1 LightScene 12, 14, 15, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 8
0CtLeq4Qrk0I81E Lezen 21 GroupScene 28
uLFLzqMauJmucv0 Energie 21 GroupScene 28
4gjpQL1GjUC2iPs Tropische schemering 12 GroupScene 13
DnPM6x3w01rrXcS Savanne zonsondergang 17 GroupScene 20, 46, 47
bYbhMK8b2Wj5e7D Scene myScene2 LightScene 12, 14, 15, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 8
DG8uLHxjz2jILZV Arctische dageraad 12 GroupScene 13
veB6EuBIhMkbWyT Nachtlampje 2 GroupScene 11, 16, 17, 18, 19, 24
MCWN41bYPsPda4L Helder 12 GroupScene 13
KtKQQzItTuZ3I5A Concentreren 17 GroupScene 20, 46, 47
wL7fOfnPN5WI9Fc Scene myScene2 LightScene 12, 14, 15, 20, 25, 26, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 50, 51, 8
5EEIiueSwi2bOyu 5EEIiueSwi2bOyu LightScene 4, 5, 9
5vANv4FfuFYe5Nd 5vANv4FfuFYe5Nd LightScene 4, 5, 9
cHqPmCstAtkTTLK Gedimd 2 GroupScene 11, 16, 17, 18, 19, 24
8EbJJVgXlrMyv2Z Lentebloesem 17 GroupScene 20, 46, 47
ubQfG5zkKBZCRyU ubQfG5zkKBZCRyU LightScene 4, 5, 9
D31-NqR10ySKL5Y Scene scene5


Let me know if you need more information

Posted on
Sun Mar 20, 2022 6:17 pm
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

please upgrade to v1.9.14
https://github.com/IndigoDomotics/Hue-Lights-Indigo-plugin/releases

Karl

ps and when you post logfile outputs please use Code ... tag, that make things much easier to read:
Code: Select all
   Hue Lights                     
======================= print Hue Lights =====================
==  Bridge:0, ipNumber:192.168.1.232, hostId:3E8hHkVCizQiB2LatJ5e-hUd3853DEAubKd3WyYE, paired:True, #of lights:28, sorted by:id
 ID ONoff Reach modelId--------- type--------------------- uniqueid------------------ Name------------------------------- ProductId-------------------- manufacturername------------- ProductName------------------ Group indigoDevName-----
 10   1     0   5063130P7        Extended color light      00:17:88:01:09:d8:87:38-0b Küche spot 1                        Philips-LCG002-3-GU10ECLv2    Signify Netherlands B.V.      Hue Fugato color spot         4                         
 11   1     0   5063130P7        Extended color light      00:17:88:01:09:e0:99:98-0b Küche spot 2                        Philips-LCG002-3-GU10ECLv2    Signify Netherlands B.V.      Hue Fugato color spot         4                         
 12   1     0   5063230P7        Extended color light      00:17:88:01:0b:b5:a3:7a-0b Küche spot 3                        Philips-LCG002-3-GU10ECLv2    Signify Netherlands B.V.      Hue Fugato color spot         4                         
 13   1     0   5063230P7        Extended color light      00:17:88:01:0b:bb:35:03-0b Küche spot 4                        Philips-LCG002-3-GU10ECLv2    Signify Netherlands B.V.      Hue Fugato color spot         4     Hue_light_0_13_Küche spot 4
Last edited by kw123 on Tue Mar 29, 2022 3:47 am, edited 1 time in total.

Posted on
Tue Mar 29, 2022 3:46 am
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

There is a new version 1.10.14 available now, https://github.com/IndigoDomotics/Hue-Lights-Indigo-plugin/releases/tag/v1.10.14
That can run under MAC OS 12.3.. AFTER indigo 2022 is released

!!! do not upgrade to MAC OS12.3 (Monterey) yet !!!,

But this release should work fine with indigo 2021 and 2022 and older versions

I would appreciate if someone could test this with the current indigo releases ie 2021 and older.
It was tested under indigo 2022 Mac OS 12.3 and Indigo 2021 and MAC OS 12.2, but naturally not all functions.

The older versions of this plugin (< 1.10.14) will NOT run under MAC OS 12.3 (even with indigo 2022 )

Karl

Posted on
Tue Mar 29, 2022 6:50 am
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Hue Lights discussion

Well it turns on and off the light but gives an error

Code: Select all
  Stopping plugin Hue Lights (pid 724)
   Stopped plugin Hue Lights
   Upgrading plugin Hue Lights to newer version 1.10.14 (previous version moved to trash)
   Loading plugin "Hue Lights 1.10.14"
   Starting plugin "Hue Lights 1.10.14" (pid 31570)
   Hue Lights                      Starting plugin initialization.
   Hue Lights                      initializing  ...
   Hue Lights                      path To files:          =================
   Hue Lights                      indigo                  /Library/Application Support/Perceptive Automation/
   Hue Lights                      installFolder           /Library/Application Support/Perceptive Automation/Indigo 2021.2/
   Hue Lights                      plugin.py               /Library/Application Support/Perceptive Automation/Indigo 2021.2/Plugins/Hue Lights.indigoPlugin/Contents/Server Plugin/
   Hue Lights                      Plugin params           /Library/Application Support/Perceptive Automation/Indigo 2021.2/Preferences/Plugins/com.nathansheldon.indigoplugin.HueLights/
   Hue Lights                      logger  enabled for     INFO           ==> TEST ONLY
   Hue Lights Warning              logger  enabled for     WARNING        ==> TEST ONLY
   Hue Lights Error                logger  enabled for     ERROR          ==> TEST ONLY
   Hue Lights Error                logger  enabled for     CRITICAL       ==> TEST ONLY
   Hue Lights                      check                   /Library/Application Support/Perceptive Automation/Indigo 2021.2/Logs/com.nathansheldon.indigoplugin.HueLights/plugin.log  <<<<    for detailed logging
   Hue Lights                      Plugin short Name       Hue Lights
   Hue Lights                      my PID                  31570
   Hue Lights                      set params for indigo V 2021.2
   Started plugin "Hue Lights 1.10.14"
   Hue Lights                      debug areas:[]
   Hue Lights                      hostIds read:  {u'1': u'', u'0': u't6yP-ni-En8PvaApzxtEYsd7P8hzOy-RzIzy0z0f'}
   Hue Lights                      ipAddresses loaded:{'0': u'192.168.100.240'}
   Hue Lights                      bridges paired:  {'0': True}
   Hue Lights                      bridge: 0  loaded: light(s): 15; group(s): 17; scene(s): 40; user(s): 51;  resource(s):  0; rule(s):   0; schedule(s):  0; sensor(s):  2
   Hubitat Bridge                  received "HE 1 Ch Zigbee No Neutral Switch" voltage "249 Volts" event

29 Mar 2022 at 13:47:39
   Hue Lights Error                Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 3694, in actionControlDimmerRelay
  File "plugin.py", line 7750, in doOnOff
NameError: global name 'logChanges' is not defined

   Hue Lights Error                Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 3703, in actionControlDimmerRelay
  File "plugin.py", line 7796, in doOnOff
NameError: global name 'logChanges' is not defined

   Hue Lights Error                Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 3694, in actionControlDimmerRelay
  File "plugin.py", line 7750, in doOnOff
NameError: global name 'logChanges' is not defined

   Hue Lights                      Updated  "Conservatory Light"" on to 100
   Hue Lights Error                Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 3703, in actionControlDimmerRelay
  File "plugin.py", line 7796, in doOnOff
NameError: global name 'logChanges' is not defined

   Hubitat Bridge                  received "HE Bedroom 2 Motion" presence sensor "present" event
   Hue Lights                      Updated  "Conservatory Light"" off




CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Tue Mar 29, 2022 7:41 am
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

CliveS

thanks for test, one line was missing, this should fix it:
https://github.com/kw123/Hue-Lights-Indigo-plugin/releases/tag/v1.10.15

This was added to selective log changes / updates for either all or specific devices.
One is set in config as : yes / leaveToDevcie / no
one in each device edit: True/False
==Yes: any change will be logged, ==no: no change will be logged
if ==leave to device: if device is ==True: then log


Karl
ps missing line:
Code: Select all
      logChanges = (self.pluginPrefs['logAnyChanges'] == "yes") or (self.pluginPrefs['logAnyChanges'] == "leaveToDevice" and device.pluginProps.get('logChanges', True))

Posted on
Tue Mar 29, 2022 8:03 am
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Hue Lights discussion

Karl,
That fixed it and plugin.log now logging again.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Tue Mar 29, 2022 8:05 am
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: Hue Lights discussion

Thanks for testing.
By the way. Which opsys and indigo version do you use?

Karl.


Sent from my iPhone using Tapatalk

Posted on
Tue Mar 29, 2022 9:04 am
CliveS offline
Posts: 771
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Hue Lights discussion

kw123 wrote:
Thanks for testing.
By the way. Which opsys and indigo version do you use?

Karl.


Thanks to Jon @autolog the sys and version is

================================================== Initialising Hubitat Plugin ===================================================
Plugin Name: Hubitat Bridge
Plugin Version: 1.1.18
Plugin ID: com.autologplugin.indigoplugin.hubitat
Indigo Version: 2021.2.0
Indigo License: ActiveSubscription
Indigo API Version: 2.6
Python Version: 2.7.16 (default, Sep 6 2021, 07:39:44) [GCC Apple LLVM 12.0.5 (clang-1205.0.19.59.6) [+internal-os, ptrauth-isa=deploy
Mac OS Version: 11.6.5
==================================================================================================================================



CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Who is online

Users browsing this forum: No registered users and 2 guests