Search results

  1. W

    Switch Dahua Day/Night Profile via IPC HTTP API

    In case this helps anyone, I ended up rolling my own day/night script in Windows that looks up the sunrise/sunset times using the API available at "api.sunrise-sunset.org" and creating/updating a pair of scheduled tasks at the appropriate time of day. The commands I use to switch profiles vary...
  2. W

    Dahua day/night switch utility - DahuaSunriseSunset

    By the way, at least if you're just changing day/night (not sure about focus/zoom), the only permissions the user apparently needs is "AV Parameter". So if you want to create a user just for this service (and I recommend it), that's the only one it needs to have.
  3. W

    Dahua day/night switch utility - DahuaSunriseSunset

    I mangled together some code changes to include a box for channel # and included that in the URL passed to the camera. As you mentioned, I just had to add each camera with channel 0 and 1. Since the dual cam doesn't have focus or zoom there were no changes to those features. It's just a handful...
  4. W

    Dahua day/night switch utility - DahuaSunriseSunset

    By the way, if you have a spiffy Dahua with 2 cameras in a single body, this program will only adjust the first one (channel zero). You can manually switch profiles on the 2nd camera (channel one) with URLs like...