
-2-
Introduction
This reference guide is for programmers wishing to send commands directly to a Sharx Security
HTNC series PoE IP camera.
Some commands also return detailed status information from the camera.
To use this reference guide you’d need to have administrator login access to an HTNC series camera
that is already set up for your network (or accessible to you remotely). It is also assumed that you
know the basics of writing a program or a script to send commands via HTTP.
Many commands can be tested easily by copying and pasting the example into a brower, while of
course substituting your own camera’s IP address for the parameter shown as ”camera ipaddress”
For example, let’s assume your camera is set up on 192.168.0.54, and you wish to obtain the current
settings for the camera’s time, then change the time zone, and then verify that the change took effect.
Then, according to the section on setting time parameters on page 158 of this user’s guide, you
would construct the query string as follows, and you could test it by pasting into your browser:
http://192.168.0.54/system/time.php?app=get
Then once you provide the proper login credentials to the camera, you’d get a long result string
starting with the following:
res=200&tsyncmode=2&dt=2018-07-29&tm=10:03:40&tzone=13&dst_enable=1
The res=200 means you got a valid result, and the rest of the response is explained on page 158
Should you wish to change a setting, such as setting time zone to Pacific Time, you’ll find in the
table that Pacific Time has the time zone code 4, and you’d set that with a command such as the
following:
http://192.168.0.54/system/time.php?app=set&tzone=4
Again you’d be looking for a valid response as designated with the result code 200, and you can
then double check that it took effect by issuing the query again:
http://192.168.0.54/system/time.php?app=get
And now the result is:
res=200&tsyncmode=2&dt=2018-07-29&tm=07:11:05&tzone=4&dst_enable=1
At times this manual refers to the Sony chipset name that is used in our cameras.
Xarina, also known as X2, is the chipset used in our HTNC4400 series of full HD 60 fps cameras
while Xarina Pro, also known as X4, is used in our HTNC4500 series of 5 MP cameras.
Summary of Contents for HTNC Series
Page 1: ...Sharx Security HTNC Series PoE IP Camera API Reference Manual 2018 Version...
Page 26: ...26 7 Bitrate setup 227 8 Quality setup 227 9 GOP Group of Picture setup 228 Caution 228...
Page 39: ...39...
Page 66: ...66 Item Value Explanation options AUD_DETECTIO N Audio Detection function available...
Page 215: ...215 AISLE Aisle available MWB Manual White Balance Control available...