Page 1 of 1

WOL Plugin

Posted: Wed Nov 29, 2017 9:45 pm
by kgschlosser
WOL Plugin
Version 0.3.1

Last updated: 1-12-2017, 8:22 -7.00 UTC


0.3.1 - Fixes mac address having a "-" in it


This plugin is designed in capture WOL packets that are sent to the computer. WOL packets by design are for waking up the computer of it is sleeping. But who says they can't be used when the computer isn't sleeping.. As an example. To start your favorite HTPC software.

The plugin will listen on a network adapter of your choosing and it listens on the 3 ports that are commonly used 0, 7 and 9

Double click the attached file to install.
Select the network adapter to listen on.
and that's all there is to it.

Re: WOL Plugin

Posted: Wed Nov 29, 2017 11:20 pm
by Snowbird
thanks ;) might be useful

Re: WOL Plugin

Posted: Thu Nov 30, 2017 3:46 pm
by Luca Brasi
Yeah, thanks!

I get this now when activating the plugin...

Code: Select all

Error starting plugin: Wake On Lan(WOL)
Traceback (most recent call last) (0.5.0-rc4):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 192, in Start
    self.instance.__start__(*self.args)
  File "C:\ProgramData\EventGhost\plugins\WOL\__init__.py", line 174, in __start__
    self.server_0 = start_server(0)
  File "C:\ProgramData\EventGhost\plugins\WOL\__init__.py", line 169, in start_server
    return Server(self, port, *lan_address.split(' - '))
  File "C:\ProgramData\EventGhost\plugins\WOL\__init__.py", line 105, in __init__
    (list(int(m, 16) for m in mac_address.split(':')) * 16)
  File "C:\ProgramData\EventGhost\plugins\WOL\__init__.py", line 105, in <genexpr>
    (list(int(m, 16) for m in mac_address.split(':')) * 16)
ValueError: invalid literal for int() with base 16: 'BC-5F-F4-F7-95-33'

Re: WOL Plugin

Posted: Thu Nov 30, 2017 11:59 pm
by kgschlosser
oooops heh. my bad... i forgot to copy over that change

Re: WOL Plugin

Posted: Fri Dec 01, 2017 10:38 am
by Luca Brasi
:D I know about forgetting to copy stuff...

Re: WOL Plugin

Posted: Fri Dec 01, 2017 3:24 pm
by kgschlosser
new version is up