![background image](http://html1.mh-extra.com/html/omega/i-server-microserver-i-thx-m/i-server-microserver-i-thx-m_user-manual_4177079038.webp)
34
4.5.1 HTTPget using Port 1000
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
1000
. 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 will
be automatically installed when you install the MailNotifier software available on our
website and CD.
Notes on using
HTTPget
:
The HTTPget.exe program is installed to the windows directory (usually c:\winnt or
c:\windows) when installing the Mail Notifier software.
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 “*SRT\r” 192.168.1.200:1000
where:
-r –S
are parameters needed for the command string
*SRT
is the command as the following:
*SRT
Read the temperature in C
*SRTF
Read the temperature in F
*SRH
Read humidity
*SRD
Read the dewpoint in C
*SRDF
Read the dewpoint in F
*SRA1
Read temperature setpoints
*SRA2
Read humidity setpoints
*SRB
Read the temperature and humidity
*SRYS
Indicate AC or DC power and battery status
*SRYRST
Reset Power on iServer
*SR_XD1
Exclude alarm 1 (disable alarm 1 function)
*SR_XD2
Exclude alarm 2 (disable alarm 2 function)
*SR_XC1
Reset relay 1 latch condition
*SR_XC2
Reset relay 2 latch condition
*SR_XE1
Include alarm 1 (enable alarm 1 function)