Monday, October 24, 2016

Hikvision cURL Enable or Disable IR LED

Here is how to turn on or off the IR LED on my Hikvision Camera using a cURL command, you can use it on your camera's as well.


cURL Command:
curl -T irlight_on.xml http://admin:12345@192.168.1.100:80/ISAPI/System/Hardware

curl -T irlight_off.xml http://admin:12345@192.168.1.100:80/ISAPI/System/Hardware


Contents of irlight_on.xml:

<?xml version="1.0" encoding="UTF-8"?>
<HardwareService xmlns="http://www.hikvision.com/ver20/XMLSchema" version="2.0">
<IrLightSwitch>
<mode>open</mode>
</IrLightSwitch>
</HardwareService>


Contents of irlight_off.xml:

<?xml version="1.0" encoding="UTF-8"?>
<HardwareService xmlns="http://www.hikvision.com/ver20/XMLSchema" version="2.0">
<IrLightSwitch>
<mode>close</mode>
</IrLightSwitch>
</HardwareService>

Monday, October 10, 2016

Hikvision cURL Enable SSH

Here is how to enable SSH on my Hikvision Camera using a cURL command, you can use it on the camera's as well.


cURL Command:
curl -T ssh_on.xml http://admin:12345@192.168.1.100:80/ISAPI/System/Network/ssh

curl -T ssh_off.xml http://admin:12345@192.168.1.100:80/ISAPI/System/Network/ssh


Contents of ssh_on.xml:

<?xml version="1.0" encoding="UTF-8"?>
<SSH version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<enabled>true</enabled>
</SSH>


Contents of ssh_off.xml:

<?xml version="1.0" encoding="UTF-8"?>
<SSH version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<enabled>false</enabled>
</SSH>

PiKVM to NVR

  Trying to connect to your IP Camera Network Video Recorder (NVR) via your PiKVM and it’s not working? No video from the NVR on...