Windows Serial Proxy

From MiOS
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Luup plugins talk to serial ports (RS232) using a serial->ethernet proxy. This allows the serial ports to reside anywhere on the network, including devices like the Global Cache GC100. If you want to connect your Luup device to a COM port on your windows computer, download this zip file: http://download.controlmyhouse.net/betafirmware/ftp/serproxy.zip
+
Luup plugins talk to serial ports (RS232) using a serial->ethernet proxy. This allows the serial ports to reside anywhere on the network, including devices like the Global Cache GC-100. If you want to connect your Luup device to a COM port on your Windows computer, download this zip file: http://download.controlmyhouse.net/betafirmware/ftp/serproxy.zip  
  
Unpack the contents into a directory on your windows computer, such as C:\serproxy and start a command prompt by choosing "Run" and entering: cmd
+
Unpack the contents of the ZIP file into a directory on your Windows computer, such as C:\serproxy and start a command prompt by choosing "Run" and entering: '''cmd'''
  
Change to the directory that contains the contents of serproxy.zip, such as typing: cd \serproxy
+
Change to the directory that contains the contents of serproxy.zip, such as typing: '''cd \serproxy'''
  
Run the program by typing this in the console:
+
Run the program by typing this in the console:  
  
serproxy.exe ip windows port
+
'''serproxy.exe ''ip'' windows ''port'''''
  
where "ip" is the IP address of Vera, and "port" is a Windows com port, such as COM2. For example:
+
where "''ip''" is the IP address of Vera, and "''port''" is a Windows COM: port, such as COM2. For example:  
  
serproxy.exe 192.168.1.103 windows COM1
+
serproxy.exe 192.168.1.103 windows COM1  
  
NOTE: The source code, for both Linux and Windows, is here: [http://download.controlmyhouse.net/betafirmware/ftp/serproxy_source.zip]
+
NOTE: The source code, for both Linux and Windows, is [http://download.controlmyhouse.net/betafirmware/ftp/serproxy_source.zip here].
  
NOTE: On Vera, serproxy is no longer used because serproxy (the GPL app) has some issues with dropping characters. So we switches to ser2net (http://linux.die.net/man/8/ser2net), and the serproxy binary is just a wrapper that calls ser2net.
+
NOTE: On Vera, serproxy is no longer used because serproxy (the GPL app) has some issues with dropping characters. So we switched to ser2net (http://linux.die.net/man/8/ser2net), and the serproxy binary is just a wrapper that calls ser2net.

Revision as of 17:45, 3 August 2009

Luup plugins talk to serial ports (RS232) using a serial->ethernet proxy. This allows the serial ports to reside anywhere on the network, including devices like the Global Cache GC-100. If you want to connect your Luup device to a COM port on your Windows computer, download this zip file: http://download.controlmyhouse.net/betafirmware/ftp/serproxy.zip

Unpack the contents of the ZIP file into a directory on your Windows computer, such as C:\serproxy and start a command prompt by choosing "Run" and entering: cmd

Change to the directory that contains the contents of serproxy.zip, such as typing: cd \serproxy

Run the program by typing this in the console:

serproxy.exe ip windows port

where "ip" is the IP address of Vera, and "port" is a Windows COM: port, such as COM2. For example:

serproxy.exe 192.168.1.103 windows COM1

NOTE: The source code, for both Linux and Windows, is here.

NOTE: On Vera, serproxy is no longer used because serproxy (the GPL app) has some issues with dropping characters. So we switched to ser2net (http://linux.die.net/man/8/ser2net), and the serproxy binary is just a wrapper that calls ser2net.

Personal tools