Httpget Using Port 2000 - Omega iSD-TH User Manual

Temperature ,humidity
Table of Contents

Advertisement

4.9.1 HTTPget using Port 2000

You can setup and read the information from the iServer by using the HTTPget program.
The following program can be used to read data from the iServer by using TCP port
2000. The command string is sent to this TCP port, then the response can be read back
from the same socket.
The HTTPget.exe file is used to setup and read information from the iServer. This file can
be downloaded from the website listed on the cover of this manual (software section).
Notes on using HTTPget :
The HTTPget.exe program should be installed to the windows directory (usually c:\winnt
or c:\windows)
1. Open up a command window (or have a DOS window)
a) Click on start menu
b) Click on "Run"
c) In the dialog box that appears, type "cmd" or "command" and click on "OK" button.
d) A command window should now appear.
2. If you now type "httpget" and press the "enter" key, the program options should be
displayed.
3. Next run HTTPget with the options displayed below
httpget -r -S "*SRTC\r" 192.168.1.200:2000
where:
-r –S are parameters needed for the command string
*SRTC is the command as the following:
*SRTC
Read the temperature in C, celcius
*SRTF
Read the temperature in F, fahrenheit
*SRH
Read humidity
*SRD
Read the dew point in C
*SRDF
Read the dew point in F
*SRA1
Read alarm set points for relay 1
*SRA2
Read alarm set points for relay 2
*SRB
Read the temperature in C and humidity
*SRBF
Read the temperature in F and humidity
*SRYS
Indicate AC or DC power and battery status
*SRYRST Reset Power on
*SR_XD1 Disable alarm condition check for relay 1
*SR_XD2 Disable alarm condition check for relay 2
50

Advertisement

Table of Contents
loading

Table of Contents