![background image](http://html1.mh-extra.com/html/omega/ibthx/ibthx_user-manual_737289030.webp)
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 firmware 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.
In order to use port
1000
, in the Configuration page of the iServer you must set
“Number of Connections” to 0. In this case the port number will change to 1000
regardless of what the port number already is.
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 HHTPget with the options displayed below
httpget -r -S “*SRTF\r” 192.168.1.200:1000
where:
-r –S
are parameters needed for the command string
"*SRTF"
is the reading command:
Commands
*SRTC
Read the temperature in °C.
*SRTF
Read the temperature in °F.
*SRHb
Read the pressure in mbar / hPa.
*SRHi
Read the pressure in inHg (Mercury).
*SRHm
Read the pressure in mmHg (Mercury).
*SRH2
Read the humidity.
*SRDC2 Read the dewpoint in °C.
*SRDF2
Read the dewpoint in °F.
\r
is the carriage return termination character
192.168.1.200
is an IP address
1000
is a socket port number
Response:
076.6 (in Deg.F format)
26