Windows Serial Proxy

From MiOS
(Difference between revisions)
Jump to: navigation, search
(New page: 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. I...)
 
m
 
(4 intermediate revisions by 2 users not shown)
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
+
[[Category:Development]]
 +
[[Category:Plugins]]
  
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
+
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
  
Change to the directory that contains the contents of serproxy.zip, such as typing: cd \serproxy
+
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'''
  
Run the program by typing this in the console:
+
Change to the directory that contains the contents of serproxy.zip, such as typing: '''cd \serproxy'''
  
serproxy.exe ip port
+
Run the program by typing this in the console:
  
where ip is the IP address of Vera, and port is a Windows com port, such as COM2.  For example:
+
'''serproxy.exe ''ip'' windows ''port'''''
  
serproxy.exe 192.168.1.103 COM1
+
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 [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 switched to ser2net (http://linux.die.net/man/8/ser2net), and the serproxy binary is just a wrapper that calls ser2net.

Latest revision as of 07:15, 27 May 2011


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