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 uhrpj
Tue Nov 11, 2014 1:26 pm
Forum: Plugin Support
Topic: question on network events receiver
Replies: 11
Views: 4283

Re: question on network events receiver

Tried switching the encoding and the same thing. I think it's something in my script?

Can you explain the steps where it sends payload and then eventString? I'm not understanding the sequence and why it sends the command twice?

When I scripted the remote, I was basically emulating what the web ...
by uhrpj
Mon Nov 10, 2014 1:22 pm
Forum: Plugin Support
Topic: question on network events receiver
Replies: 11
Views: 4283

Re: question on network events receiver

Hi,

I keep getting timed out on mine:

Code: Select all

┬╗ ./remote.py
pwhash

accept

ERROR: timed out
I tried having it send HTTP GUIDE, GUIDE, with nothing showing up. I verified the pass and the prefix, but nothing is showing up.

Is there a way I can do this via telnet? Debug any more via python?
by uhrpj
Sun Nov 09, 2014 1:18 pm
Forum: Plugin Support
Topic: question on network events receiver
Replies: 11
Views: 4283

Re: question on network events receiver

Makes complete sense. It looks like a very simple TCP socket, which is perfect for what I'm doing.

Question on my code:


#!/usr/bin/env python
import socket
from hashlib import md5

password = 'password'
host = 'host'
port = port (int)
prefix = "HTTP"

payload = "{0} EXIT".format(prefix ...
by uhrpj
Sat Nov 08, 2014 6:28 pm
Forum: Plugin Support
Topic: question on network events receiver
Replies: 11
Views: 4283

Re: question on network events receiver

I was wondering what to "send"

Right now, scripting the web interface is straight forward since you just emulate the AJAX the web remote does.

For instance,

<td><button id="p1" onmousedown="TriggerEvent('back')">BACK</button></td>
<td><button id="p1" onmousedown="TriggerEvent('menu')">MENU ...
by uhrpj
Sat Nov 08, 2014 1:22 am
Forum: Plugin Support
Topic: question on network events receiver
Replies: 11
Views: 4283

Re: question on network events receiver

Hi,

Thanks for the script. Does this work with "password" and "prefix"? I saw some of this in the sender part and wondered how that got incorporated in.

How do you also address the existing remotes setup? The intent is to control a TV setup remotely that is currently done via the EG Web Interface ...
by uhrpj
Fri Nov 07, 2014 1:32 pm
Forum: Plugin Support
Topic: question on network events receiver
Replies: 11
Views: 4283

question on network events receiver

Hi,

I'm trying to send commands from a Linux box to EG via the Network Event Receiver plugin. Is there an example of the protocol or commands to use/send?

I typically work within python and looked at the example here https://github.com/EventGhost/EventGhost/blob/master/plugins/NetworkSender ...