As always, please tell me about bugs, requests, questions and so on.Changelog for ver. 0.3.6.2 wrote:- Fixed bugs in "cloneLight", "cloneLight2Group" and "cloneGroup". Thanks to yokel22 for pointing me to this.


As always, please tell me about bugs, requests, questions and so on.Changelog for ver. 0.3.6.2 wrote:- Fixed bugs in "cloneLight", "cloneLight2Group" and "cloneGroup". Thanks to yokel22 for pointing me to this.
Thanks for that tip, bxr.bxr wrote:I added a correction to an error line (1512).
I guess this correction should be to other error lines as well (str(r['state']['on'])) ?
At line 2427, the print statement should be:Aquila wrote:Please post here if you find any other errors!
Code: Select all
print 'Info: ' + str(r)
The error is some code I have been trying out that was not cleaned up before I published the last version. I had a fixed version ready, so I put it up now in the first post.Phil wrote:Hi
Im trying to switch from using python only to this plugin, so the bridge is already registered with something on my system.
When I try to add the addin I get this
14:58:27 Traceback (most recent call last) (1710):
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
14:58:27 self.Configure(*args, **kwargs)
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 165, in Configure
14:58:27 treeItem.Configure(*args)
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 101, in Configure
14:58:27 return self.executable.Configure(*args)
14:58:27 File "C:\Program Files (x86)\EventGhost\plugins\PhilipsHue\__init__.py", line 312, in Configure
14:58:27 autoRestore = panel.Choice(autorestore.index(auto), choices=['On','Off'])
14:58:27 NameError: global name 'autorestore' is not defined
14:58:27 Unhandled exception in WorkerThread <ActionThread>:
14:58:27 Traceback (most recent call last) (1710):
14:58:27 Callers stack:
14:58:27 File "threading.pyc", line 504, in __bootstrap
14:58:27 File "wx\_core.pyc", line 14669, in <lambda>
14:58:27 File "threading.pyc", line 532, in __bootstrap_inner
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Core.py", line 197, in Notify
14:58:27 File "threading.pyc", line 484, in run
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 354, in __MainLoop
14:58:27 listener(value)
14:58:27 self.__DoOneEvent()
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 844, in OnNodeSelected
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 328, in __DoOneEvent
14:58:27 path = node.GetPath()
14:58:27 action.PrintUnhandledException()
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\TreeItem.py", line 377, in GetPath
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionThread.py", line 92, in HandleAction
14:58:27 path.append(parent.childs.index(item))
14:58:27 pluginInfo.treeItem.Refresh()
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 69, in __call__
14:58:27 AttributeError: 'NoneType' object has no attribute 'childs'
14:58:27 self.processed.set()
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginItem.py", line 125, in Delete
14:58:27 self.info = None
14:58:27 Traceback (most recent call last) (1710):
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 326, in __DoOneEvent
14:58:27 self.HandleAction(action)
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionThread.py", line 87, in HandleAction
14:58:27 action()
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
14:58:27 self.returnValue = self.func(*self.args, **self.kwargs)
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginItem.py", line 119, in DoIt
14:58:27 info.Close()
14:58:27 File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 231, in Close
14:58:27 self.instance.__close__()
14:58:27 File "C:\Program Files (x86)\EventGhost\plugins\PhilipsHue\__init__.py", line 253, in __close__
14:58:27 if not self.stopThreadEvent.isSet(): self.stopThreadEvent.set()
14:58:27 AttributeError: 'PhilipsHue' object has no attribute 'stopThreadEvent'
And nothing appears in the configuration list.
Any ideas?
thanks
Did the fixed version work for you?Phil wrote:Glad its not me!
Thanks
Please post the log from the error. I should be able to pinpoint any errors in the code.Phil wrote:Hi, it worked to the point that it let me connect to the bridge,but then failed with similar issues to the first post I did.
I published a new version in the first post. This should fix the error in saving the plugin configdata.Changelog wrote:0.3.6.5 by Aquila 2016-02-26
- Fix crash in config dialog for the plugin.
Hmm, I don't have the Dimmer myself. I should maybe gather some cash and pick one up to fix this.Windhowl wrote:Hi
First of all I want to say thank you for this awesome plugin. Because of you there are so many possibilities
Now to my request:
I just added a Philips Hue Dimmer to my setup and wanted to trigger events with the 4 different buttons. I see that Eventghost is aware of button presses but every button has the same event output if I don't miss anything.
So my feature request would be to make it possible to receive each single button as an event.
Is that possible?
Greets Windhowl