So I should be able to simply copy your example and replace the IP address, username and password?
Hi, I have a DS-2CD2047G2-LU/SL camera. The following code is works for me:
command_line:
- switch:
name: supplementlight_camera_03
command_on: "curl -k --silent -H 'Content-Type:application/xml' -X PUT -d '<SupplementLight><supplementLightMode>colorVuWhiteLight</supplementLightMode><mixedLightBrightnessRegulatMode>auto</mixedLightBrightnessRegulatMode><whiteLightBrightness>100</whiteLightBrightness></SupplementLight>' http://IP_Camera_03/ISAPI/Image/channels/1/supplementLight --digest -u user:password"
command_off: "curl -k --silent -H 'Content-Type:application/xml' -X PUT -d '<SupplementLight><supplementLightMode>colorVuWhiteLight</supplementLightMode><mixedLightBrightnessRegulatMode>auto</mixedLightBrightnessRegulatMode><whiteLightBrightness>0</whiteLightBrightness></SupplementLight>' http://IP_Camera_03/ISAPI/Image/channels/1/supplementLight --digest -u user:password"
- switch:
name: supplementlight_camera_02
command_on: "curl -k --silent -H 'Content-Type:application/xml' -X PUT -d '<SupplementLight><supplementLightMode>colorVuWhiteLight</supplementLightMode><mixedLightBrightnessRegulatMode>auto</mixedLightBrightnessRegulatMode><whiteLightBrightness>100</whiteLightBrightness></SupplementLight>' http://IP_Camera_02/ISAPI/Image/channels/1/supplementLight --digest -u user:password"
command_off: "curl -k --silent -H 'Content-Type:application/xml' -X PUT -d '<SupplementLight><supplementLightMode>colorVuWhiteLight</supplementLightMode><mixedLightBrightnessRegulatMode>auto</mixedLightBrightnessRegulatMode><whiteLightBrightness>0</whiteLightBrightness></SupplementLight>' http://IP_Camera_02/ISAPI/Image/channels/1/supplementLight --digest -u user:password"
- switch:
name: supplementlight_camera_01
command_on: "curl -k --silent -H 'Content-Type:application/xml' -X PUT -d '<SupplementLight><supplementLightMode>colorVuWhiteLight</supplementLightMode><mixedLightBrightnessRegulatMode>auto</mixedLightBrightnessRegulatMode><whiteLightBrightness>100</whiteLightBrightness></SupplementLight>' http://IP_Camera_01/ISAPI/Image/channels/1/supplementLight --digest -u user:password"
command_off: "curl -k --silent -H 'Content-Type:application/xml' -X PUT -d '<SupplementLight><supplementLightMode>colorVuWhiteLight</supplementLightMode><mixedLightBrightnessRegulatMode>auto</mixedLightBrightnessRegulatMode><whiteLightBrightness>0</whiteLightBrightness></SupplementLight>' http://IP_Camera_01/ISAPI/Image/channels/1/supplementLight --digest -u user:password"
Is possible to do the same with the whiteLightAlarm?
I have several DS-2CD2142FWD-IS that I use the Home Assistant Hikvision integration with to get several binary sensors (Hikvision - Home Assistant). I am looking at upgrading to Hikvision DS-2CD2187G2-LSU since they have colorvu. Do any of you know if the binary sensor hikvision integration works with these new colorvu cameras? Thanks in advance.
Yes. Binary sensors work with ColorVu models too.
Hi, I have DS-2CD2346G2-ISU/SL model.
It has a white alarm LED, can be use something similar to control this led from HomeAssistant.
Hi Looking to add a switch button to my HA screens to manually turn on and off the White front LEDs on ColorVU cameras.
I am using an iDS-7208HQHI-K1/4S(B) DVR that works very well within HA.
Did anyone find a method to do the switch addition ?
Thanks
I used this with my Annke FCD600 but instead of switching supplemental lights off I used this to switch IR back on:
multiAzimuthIrLight
I’m running a DS-2CD3348G2-LISU with firmware V5.7.52 build 240108. I get Access Error 401 when I try any of the curl commands above. I verified my IP address and credentials. The 5.7 firmware looks very different from previous Hikvision cameras. Is there some security configuration and/or network service that I have to enable for the curl commands to work?
Hello to all
My camera white light led is controlled over this menu, changing the DAY or Night to On or OFF the Light
I have this output from this command → http://your.camera.ip/ISAPI/System/externalDevice
I try use this command CURL without success…
curl -k --silent -H ‘Content-Type:application/xml’ -X PUT -d ‘true’ http://your.camera.ip/ISAPI/System/externalDevice --digest -u user:pass
Is there any way over the curl commands to change the day and night options in order to get control off the white led light