Page 1 of 1

Gembird Energenie EG-PM(S)2 plugin

Posted: Fri Jan 23, 2015 2:40 pm
by Luciver
Hey all,

i like to share a new plugin with you.

It supports Gembird Energenie EG-PM(S)2-LAN power strips.
EG-PM2-LAN - http://energenie.com/item.aspx?id=7557
EG-PMS2-LAN - http://energenie.com/item.aspx?id=7415

Due to the limited features of their own software, i decided
to create an Event Ghost plugin that fits my needs.

Download it here:
https://github.com/EssKaa/Energenie/archive/master.zip

So long,
Luciver

Re: Gembird Energenie EG-PM(S)2 plugin

Posted: Fri Feb 13, 2015 9:38 am
by Medienuser
Hey Luciver!
I┬┤d like to use your plugin but each time I try to ad it in Eventghost there is a "Traceback (mpost recent call last) (1694)" Error.
Is there a way to fix this?
I would be very happy if i could use it! :D
Thanks and greetings!

Here is the complete error Message:

12:36:48 Traceback (most recent call last) (1694):
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
12:36:48 self.Configure(*args, **kwargs)
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 165, in Configure
12:36:48 treeItem.Configure(*args)
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 101, in Configure
12:36:48 return self.executable.Configure(*args)
12:36:48 File "C:\Program Files (x86)\EventGhost\plugins\Gembird\__init__.py", line 64, in Configure
12:36:48 checkBoxEvent.SetValue(event)
12:36:48 File "wx\_controls.pyc", line 385, in SetValue
12:36:48 TypeError: in method 'CheckBox_SetValue', expected argument 2 of type 'bool'
12:36:48 Traceback (most recent call last) (1694):
12:36:48 File "wx\_core.pyc", line 14669, in <lambda>
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Core.py", line 197, in Notify
12:36:48 listener(value)
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 798, in OnNodeAdded
12:36:48 pos
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 468, in CreateTreeItemAt
12:36:48 return self.CreateTreeItem(node, parentId)
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 456, in CreateTreeItem
12:36:48 node.SetAttributes(self, itemId)
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginItem.py", line 87, in SetAttributes
12:36:48 if self.info.lastException or self.info.initFailed:
12:36:48 AttributeError: 'NoneType' object has no attribute 'lastException'
12:36:48 Traceback (most recent call last) (1694):
12:36:48 File "wx\_core.pyc", line 14669, in <lambda>
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Core.py", line 197, in Notify
12:36:48 listener(value)
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 844, in OnNodeSelected
12:36:48 path = node.GetPath()
12:36:48 File "C:\Program Files (x86)\EventGhost\eg\Classes\TreeItem.py", line 377, in GetPath
12:36:48 path.append(parent.childs.index(item))
12:36:48 AttributeError: 'NoneType' object has no attribute 'childs'

Re: Gembird Energenie EG-PM(S)2 plugin

Posted: Thu Apr 09, 2015 12:25 pm
by Luciver
Hey Medienuser,

sorry for my late reply. Somehow the email notification does not seem to work, otherwise i would have answered earlier. :)
Your problem should be fixed now. Please give me a feedback.

So long,
Luciver

Re: Gembird Energenie EG-PM(S)2 plugin

Posted: Fri Apr 10, 2015 3:25 pm
by Medienuser
Hey Luciver!
Thanks for your reply :)
It doesn't work, now I get this Message:


17:16:25 Traceback (most recent call last) (1700):
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
17:16:25 self.Configure(*args, **kwargs)
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 165, in Configure
17:16:25 treeItem.Configure(*args)
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 101, in Configure
17:16:25 return self.executable.Configure(*args)
17:16:25 File "C:\Program Files (x86)\EventGhost\plugins\Energenie-master\__init__.py", line 64, in Configure
17:16:25 checkBoxEvent.SetValue(event)
17:16:25 File "wx\_controls.pyc", line 385, in SetValue
17:16:25 TypeError: in method 'CheckBox_SetValue', expected argument 2 of type 'bool'
17:16:25 Traceback (most recent call last) (1700):
17:16:25 File "wx\_core.pyc", line 14669, in <lambda>
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Core.py", line 197, in Notify
17:16:25 listener(value)
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 798, in OnNodeAdded
17:16:25 pos
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 468, in CreateTreeItemAt
17:16:25 return self.CreateTreeItem(node, parentId)
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 456, in CreateTreeItem
17:16:25 node.SetAttributes(self, itemId)
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginItem.py", line 87, in SetAttributes
17:16:25 if self.info.lastException or self.info.initFailed:
17:16:25 AttributeError: 'NoneType' object has no attribute 'lastException'
17:16:25 Traceback (most recent call last) (1700):
17:16:25 File "wx\_core.pyc", line 14669, in <lambda>
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Core.py", line 197, in Notify
17:16:25 listener(value)
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 844, in OnNodeSelected
17:16:25 path = node.GetPath()
17:16:25 File "C:\Program Files (x86)\EventGhost\eg\Classes\TreeItem.py", line 377, in GetPath
17:16:25 path.append(parent.childs.index(item))
17:16:25 AttributeError: 'NoneType' object has no attribute 'childs'

Do you have another idea?
Thanks and Greetings!
Medienuser

Re: Gembird Energenie EG-PM(S)2 plugin

Posted: Mon Apr 13, 2015 10:53 am
by Luciver
Sorry, mea culpa! Somehow the changes did not get pushed to github. now it should work.

So long,
Luciver

Re: Gembird Energenie EG-PM(S)2 plugin

Posted: Tue Apr 14, 2015 11:31 am
by Medienuser
Now it works perfect! Thank you very much!!!
All the best!
Medienuser

Re: Gembird Energenie EG-PM(S)2 plugin

Posted: Tue Apr 14, 2015 1:59 pm
by Luciver
Happy to help. :) Enjoy!

So long,
Luciver