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.

Event on EG windows when Yatse Android send Wol ?

If you have a question or need help, this is the place to be.
Post Reply
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Event on EG windows when Yatse Android send Wol ?

Post by nonob »

Hi,

I have EG and XBMC on my windows PC and i use Yatse remote on my android smartphone to control XBMC.

With Yatse; i can send a wol signal to my windows PC.., i don't need that cause my pc is always awake, but i would like to use this packet to start XBMC.

How can i do it ?

I tried with the plugin "broadcast" which can receive udp packet but i don't see anything when i send wol.

I tried eventghost android.It works fine and i can start XBMC from a layout but i would like to do the same action from Yatse..

Or maybe you have a better suggestion ?

Thanks for your help: )
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Event on EG windows when Yatse Android send Wol ?

Post by nonob »

Thansk of this link, it's a good solution but if i could use eventghost, i could avoid to install another application.
Is broadcaster plugin the good way to listen wol magic packet ?
I use it and i changed udp port to 9.It seems to received something but i have an error message:

Code: Select all

error: uncaptured python exception, closing channel <eg.CorePluginModule.Broadcaster.Server connected 192.168.1.2:9 at 0x3590c60> (<type 'exceptions.UnicodeDecodeError'>:'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128) [asyncore.pyc|read|76] [asyncore.pyc|handle_read_event|414] [C:\Program Files\EventGhost\plugins\Broadcaster\__init__.py|handle_read|95] [C:\Program Files\EventGhost\eg\Classes\PluginBase.py|TriggerEvent|133] [C:\Program Files\EventGhost\eg\Classes\EventThread.py|TriggerEvent|78] [C:\Program Files\EventGhost\eg\Classes\EventGhostEvent.py|__init__|84])
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Event on EG windows when Yatse Android send Wol ?

Post by nonob »

Hi,
So i installed xbmc starter, but i'm always searching a way to do the same job with eventghost.
I'm waiting for help.
hernick
Posts: 1
Joined: Thu Oct 31, 2013 7:54 pm

Re: Event on EG windows when Yatse Android send Wol ?

Post by hernick »

Hi,

I have the same requirement, and the Broadcaster plugin works well for me. I am using Eventghost 0.4.1.r1640 and Yatse 3.9.1.

Broadcaster is listening on UDP port 7 (default for WoL). When Yatse sends the WoL packet to that port, Eventghost receives a Broadcast.YatseStart-Xbmc event.

Try updating to the latest Eventghost and Yatse versions, maybe this will solve your problem.
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Event on EG windows when Yatse Android send Wol ?

Post by nonob »

Hi,
thanks for your f├®es back.
I use "xbmcstarter" bescause i never getted eg broadcaster working, but in the next week, i will upgrade my os from xp to seven, and i will try again with eg.
Did you use seven ?
Thanks
nonob
Experienced User
Posts: 76
Joined: Tue Dec 06, 2011 6:52 am

Re: Event on EG windows when Yatse Android send Wol ?

Post by nonob »

Hi,

It works! But i had to change defaut yatse port from 9 to 7 cause broadcater doesn't seems to work with port 9...

Thanks :)
Post Reply