- May 8, 2016
- 10
- 2
I just picked up this PTZ camera and it's pretty decent. Firmware version 5.4.8. I use an IR flood light next to it and it works great seeing with the built in ir filter; but the auto day/night mode is twitchy and everynight it switches back and forth a dozen times randomly.
I have a few other HikVisions, I've always used curl to do things like control the day/night switchover settings (I usually change exposure/shutter time at least) with something like :
I've tried various URL's for a while and haven't found a way to upload the Image settings to this camera. I've tried to find some API documentation recent for Hiks (I assume it's a change in the newer firmwares), but I have yet to find it. I was able to find the API documentation for the PTZ controls and can now automate controlling it by doing something like :
I also was able to upload a PTZControl xml file to /PTZCtrl/channels/1 . So I know there's still API's to control these cameras (and assumingly change settings), something has just changed from how it was done previously.
If anyone has any idea of other URL's I could use or knows where some HikVision API documentation highlighting this info, that would be most useful.
Thanks!
I have a few other HikVisions, I've always used curl to do things like control the day/night switchover settings (I usually change exposure/shutter time at least) with something like :
- change settings how i want on webpage
- (download file)
Code:
curl https://user:pass@camera_fqdn/image/channels/1 >filename.xml
- (upload file)
Code:
curl -T filename.xml https://user:pass@camera_fqdn/image/channels/1
Code:
<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
<requestURL>/image/channels/1</requestURL>
<statusCode>3</statusCode>
<statusString>Device Error</statusString>
</ResponseStatus>
I've tried various URL's for a while and haven't found a way to upload the Image settings to this camera. I've tried to find some API documentation recent for Hiks (I assume it's a change in the newer firmwares), but I have yet to find it. I was able to find the API documentation for the PTZ controls and can now automate controlling it by doing something like :
Code:
curl -X PUT "https://user:pass@camera_fqdn/ISAPI/PTZCtrl/channels/1/presets/1/goto"
If anyone has any idea of other URL's I could use or knows where some HikVision API documentation highlighting this info, that would be most useful.
Thanks!