Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Gembird Energenie EG-PM(S)2 plugin

Questions and comments specific to a particular plugin should go here.
Post Reply
Luciver
Posts: 18
Joined: Mon Jan 06, 2014 10:05 am

Gembird Energenie EG-PM(S)2 plugin

Post 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
Medienuser
Posts: 7
Joined: Mon Jun 02, 2014 1:00 am

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

Post 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'
Luciver
Posts: 18
Joined: Mon Jan 06, 2014 10:05 am

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

Post 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
Medienuser
Posts: 7
Joined: Mon Jun 02, 2014 1:00 am

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

Post 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
Luciver
Posts: 18
Joined: Mon Jan 06, 2014 10:05 am

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

Post by Luciver »

Sorry, mea culpa! Somehow the changes did not get pushed to github. now it should work.

So long,
Luciver
Medienuser
Posts: 7
Joined: Mon Jun 02, 2014 1:00 am

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

Post by Medienuser »

Now it works perfect! Thank you very much!!!
All the best!
Medienuser
Luciver
Posts: 18
Joined: Mon Jan 06, 2014 10:05 am

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

Post by Luciver »

Happy to help. :) Enjoy!

So long,
Luciver
Post Reply