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.

Trigger event over ethernet / telnet

If you have a question or need help, this is the place to be.
Post Reply
Brandon81
Posts: 3
Joined: Wed Jun 24, 2009 4:52 pm

Trigger event over ethernet / telnet

Post by Brandon81 »

EventGhost 0.3.7.r1030
Windows Vista SP1 x64


Hey all. I'm a first time user.

I have a Crestron control system that can send text commands over ethernet to communicate with other control systems or components. It's just simple text. Just like serial.

My question is whether EG can listen for these events and they can communicate in this way? Crestron can use any port.

Thanks
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Trigger event over ethernet / telnet

Post by stottle »

EG can with a plugin. Take a look at the TheaterTek or Zookplayer plugins for an example.

Brett
Brandon81
Posts: 3
Joined: Wed Jun 24, 2009 4:52 pm

Re: Trigger event over ethernet / telnet

Post by Brandon81 »

Thanks man

I added that plugin for theater-tek but I wasn't able to make a telnet connection to the default port 2663. I tried locally to the loopback address to verify no firewall issues and from another pc.

Any idea what i'm doing wrong?
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Trigger event over ethernet / telnet

Post by stottle »

I'll start with the obvious:
1) You have Theatertek installed and running, correct?
2) Theatertek defaults to have the IP control turned off. Did you go into TT and enable the TCP/IP control? It's in the configuration menu, under General tab -> Startup -> Enable TCP/IP Control, with the textbox set to 2663?

Brett
Brandon81
Posts: 3
Joined: Wed Jun 24, 2009 4:52 pm

Re: Trigger event over ethernet / telnet

Post by Brandon81 »

I don't actually have the Theatertek device. I'm just trying to kind of "prove concept" that EG can indeed listen over ethernet for standard strings.

I suppose it definately can, if it has the ability to control the devices like Theatertek etc. But what I'm really looking for is a simple way to just "turn on" listening over a certain port for serial commands. It should work just like the serial plugin only for a TCP/IP port.

Nothing like that? I'd have to learn how to make the custom plugin?
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: Trigger event over ethernet / telnet

Post by jinxdone »

Ofcourse it can do that. If you want to make one yourself you have to know some python and then just make your own plugin/script, perhaps using one of the existing ones as a starting point. The thing is that usually you need to implement some sort of protocol on top of the tcp/ip as well..

It is possible to make a plugin that simply triggers events on incoming strings and then allows you to send strings over a tcp connection. (I can make one when I find some free time, probably not this weekend though..)

btw: somebody asked the same thing just two weeks ago..
User avatar
jitterjames
Experienced User
Posts: 677
Joined: Thu Aug 13, 2009 4:36 pm
Location: Quebec, Canada
Contact:

Re: Trigger event over ethernet / telnet

Post by jitterjames »

Brandon81: I am interested in interfacing with crestron systems in general. I don't yet have access to the hardware but I may soon. If I have anything to report I will do so here. Please do the same.

Jitter
Drabert
Posts: 19
Joined: Wed Feb 18, 2009 8:30 am

Re: Trigger event over ethernet / telnet

Post by Drabert »

I am also interested in this. I would like to capture events from a Phillips Pronto remote control using a socket connection. I dont know how to program in python but i will give it a shot. would the TheatreTek plugin be a good place to start?

Thanks for the advice
Post Reply