autoswitch Hikvision at sunset / sunrise

tms5d

n3wb
Mar 23, 2015
7
1
Hi I've been trying to find a way to switch my Hikvision cams from day to night (and night to day) at sunrise and sunset (as opposed to an exact time as shown in the screenshot). Until now, I've not been able to accomplish that.

Does anyone know how to do that? Via the menu, or maybe via the API and a script?

Thanks a lot!!

 
Last edited:
Use auto switch? However, you cannot have different settings between day and night like scheduled switch.
 
Hi I've been trying to find a way to switch my Hikvision cams from day to night (and night to day) at sunrise and sunset (as opposed to an exact time as shown in the screenshot). Until now, I've not been able to accomplish that.

Does anyone know how to do that? Via the menu, or maybe via the API and a script?

Thanks a lot!!


I post a script only recently. You need to manually find your local sunrise/sunset time via timeanddate.com then add say 30 minutes to sunrise before switching to day and subtract 30 minutes before sunset before switching to night.