.net and eventghost

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
Posts: 4
Joined: Sun Jul 14, 2013 2:04 pm

.net and eventghost

Post by chef » Sun Jul 14, 2013 2:23 pm

Hello, I am a vb.net developer and I am currently developing a kinect sensor application called kinect and control. Mostly at the moment this application controls media browser 3. However there has been some feature requests to have the application control home automation devices. Media browser is accually just one part of the bigger picture. I am currently working on building contexts internet application. Media context consisting of media browser, research contexts consisting of Google applied API, and would like add eventghost as the controller for home automation. I understand the exe switches for eventghost, and notice that a lot of code for this app is built in python. From a .net perspective I would like to implement more than commandline switches to "kinect and control" but implementing a more direct interface between these to applications. If anyone is interested in continuing this conversation I look forward to the input.

Thank you again


Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden

Re: .net and eventghost

Post by krambriw » Sun Jul 14, 2013 5:53 pm

Hi, even if I for the moment do not see any personal interest in the kinect stuff, I would anyway suggest you to look at socket communications. There are several plugins developed and included in EG already like nework send/receive plugins, the network broadcast plugin. I have also used sockets in some of my own plugins I have developed.

Try first to add sending possibilities from you code in vb.net. Then add one of the plugins mentioned (Network receiver for TCP or Network Broadcaster for UDP to check if you receive the messages in EG.

There are many samples on the net for python how to write socket servers and clients.

Best regards, Walter

Posts: 4
Joined: Sun Jul 14, 2013 2:04 pm

Re: .net and eventghost

Post by chef » Tue Jul 16, 2013 8:13 pm

Thank you for the reply. The broadcasts plug in looks to be exactly the direction I should go in. This should make for an interesting addition to kinect and control. This will work perfectly since kinect and control works was client for the media browser server already.

The use of COM objects should be a straight forward implementation in vb.net. Perhaps if I get the ball rolling I maybe able to post some examples for the next .net dev to find as well.

Thank you again.

Experienced User
Posts: 146
Joined: Fri Mar 27, 2009 1:29 pm
Location: Orléans, France

Re: .net and eventghost

Post by miljbee » Fri Jul 19, 2013 9:06 am

Hello, I have developed a long time ago the TCP Events plugin.

This plugin enable a "rich" dialog between 2 eg (generating events of course, but also sending data, requesting data, remote evaluation of python expr ...)

I Have also coded a .Net DLL that implements all the functionalities of this plugin. I haven't yet published it because it still need some cleaning and documentation. But is is 100% working and stable (It runs 24/7 on my setup for various modules of my HA system).

Have a look here for the features of the plugin :

PM Me if you are uinterrested and want the C# DLL

TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.

Post Reply