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.

Search found 6 matches

by andersh
Tue May 29, 2018 6:08 am
Forum: Coding Corner
Topic: Simple Network Event Server
Replies: 11
Views: 3697

Re: Simple Network Event Server

I've done some more testing, and can confirm that this is working just fine in my setup.
by andersh
Mon May 28, 2018 6:23 pm
Forum: Coding Corner
Topic: Simple Network Event Server
Replies: 11
Views: 3697

Re: Simple Network Event Server

kgschlosser wrote: Sun May 27, 2018 10:04 pm no worries easy fix.
That seems to have done the trick. At least my first test was successful. Thanks a lot.
by andersh
Sun May 27, 2018 8:31 pm
Forum: Coding Corner
Topic: Simple Network Event Server
Replies: 11
Views: 3697

Re: Simple Network Event Server

Thanks a lot, that looks like it should do the trick. I did a very quick test, but unfortunately ran into a problem:

Error starting plugin: Raw TCP
Traceback (most recent call last) (0.5.0-rc4):
File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 223, in Stop
self ...
by andersh
Fri May 25, 2018 5:28 am
Forum: Coding Corner
Topic: Simple Network Event Server
Replies: 11
Views: 3697

Re: Simple Network Event Server

My coding skills are somewhat rudimentary. I did already write the existing script, but that's probably stretching it to my limits. :-)

Any help with this would be appreciated - thanks a lot for the offer. Having a send plugin that just dumps a payload to my script would work fine.
by andersh
Wed May 23, 2018 8:45 am
Forum: Coding Corner
Topic: Simple Network Event Server
Replies: 11
Views: 3697

Re: Simple Network Event Server

Yes.
The python script is running on the Android side, receiving data from Eventghost and (among other things) simulating keypresses on the Android device.
This is working fine today with Girder, but I see that I need to add some more protocol handling to it in order to work as a server for the ...
by andersh
Wed May 16, 2018 10:18 am
Forum: Coding Corner
Topic: Simple Network Event Server
Replies: 11
Views: 3697

Simple Network Event Server

I've recently moved from Girder to Eventghost.
In Girder I was using their "Simple Transport Plugin" to send data to a python script. This plugin is really just dumping the payload raw to a TCP socket, so I was able to handle it with an extremely simple script like this:

import socket
import sys ...