VoxCommando Forum

New Features and Feature Requests => Feature Requests => Topic started by: claymic on January 15, 2013, 05:25:09 PM

Title: Tcp Plugin
Post by: claymic on January 15, 2013, 05:25:09 PM
Hi James, maybe i missed this, but can i send tcp commands with vox ? For now i am using the EventGhost for do this, but will be awesome if i can send a tcp command directly using Vox.
In the EventGhost i am using the phyton code bellow:
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("192.168.0.160", 4998))
s.send('sendir,5:3,1,39000,1,1,230,46,46,46,23,22,23,22,23,45,23,22,23,22,23,45,23,45,23,1152,115,45,46,46,23,22,23,22,23,45,23,22,23,22,23,45,23,45,23,1152,115,45,46,46,23,22,23,22,23,45,23,22,23,22,23,45,23,45,23,780"+"\r\n')
s.close()

I just need to send some commands for the GlobalCache, will be nice can do this using Vox(maybe setting the ip and port for each command, since this will depend of the device)
Thanks
Clayton
Title: Re: Tcp Plugin
Post by: jitterjames on January 15, 2013, 06:11:34 PM
sure.  It's a good idea, but I am a bit overwhelmed with other things I need to do.  I will make a note, but please remind me again in a couple of weeks. :)
Title: Re: Tcp Plugin
Post by: claymic on January 16, 2013, 06:16:51 AM
Awesome, thanks James. See you here in a couple of weeks then.
Clayton
Title: Re: Tcp Plugin
Post by: Mace on May 03, 2013, 02:36:26 PM
Yep, add me to the TCP plugin tester list.
Title: Re: Tcp Plugin
Post by: jitterjames on May 03, 2013, 02:55:37 PM
I'll try to post it by tomorrow, and I'll be sure to announce it in this thread.  :)
Title: Re: Tcp Plugin
Post by: jitterjames on May 04, 2013, 10:49:33 AM
The first alpha release of the TCP plugin is now available:

http://voxcommando.com/forum/index.php?topic=1053