Author Topic: Tcp Plugin  (Read 2016 times)

0 Members and 1 Guest are viewing this topic.

claymic

  • $upporter
  • Sr. Member
  • *****
  • Posts: 152
  • Karma: 0
    • View Profile
Tcp Plugin
« 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:
Code: [Select]
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

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Tcp Plugin
« Reply #1 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. :)

claymic

  • $upporter
  • Sr. Member
  • *****
  • Posts: 152
  • Karma: 0
    • View Profile
Re: Tcp Plugin
« Reply #2 on: January 16, 2013, 06:16:51 AM »
Awesome, thanks James. See you here in a couple of weeks then.
Clayton

Mace

  • $upporter
  • Contributor
  • *****
  • Posts: 77
  • Karma: 1
    • View Profile
Re: Tcp Plugin
« Reply #3 on: May 03, 2013, 02:36:26 PM »
Yep, add me to the TCP plugin tester list.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Tcp Plugin
« Reply #4 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.  :)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Tcp Plugin
« Reply #5 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