New "Action set" option in 5.9.9.64

Tinman

Known around here
Nov 2, 2015
1,363
1,801
USA
Now you can configure the web request command to switch Dahua DAY/NIGHT profiles, without using the PTZ preset method. At this time Ken has added 8 "action sets" which each cam will require 2.

I was hoping and he still may, just add the "web request or MQTT" command" as that is all we need to simplify it.

408.jpg
 
Do you see any details on other "pre-defined" action sets? Sounds like a potentially useful approach, just not sure yet what to do with this (other than the camera day/night switching).
 
  • Like
Reactions: Flintstone61
Do you see any details on other "pre-defined" action sets? Sounds like a potentially useful approach, just not sure yet what to do with this (other than the camera day/night switching).
still playing around with it. I did find that I can just configure one camera to a "Action set1" but then just keep adding more cams, I also put a 1 sec. wait time between switching, not sure if it needed that, but it works great.409.jpg
 
I found that you do NOT need any delay between the web request. I had one of my cams wrong and that is why it wasn't switching. Now it all works great
Action Set 1 I used for sunrise
Action set 2 I used for sunset

Then just added all the cams I want to change under ONE cam's schedule....no more messing around with PTZ presets.
 

Attachments

  • 411.jpg
    411.jpg
    444.7 KB · Views: 0
Last edited:
Interesting: what model cameras are you using? I have only the "older" S2 series of various Dahua 5442 cameras, and have had the PTZ command method working for a few years now, but my understanding is that the newer S3 versions (with the newer blue/white firmware interface) use an entirely different command to achieve this day/night switchover. Do you have a mix of versions at your location by chance?
 
  • Like
Reactions: Flintstone61
Interesting: what model cameras are you using? I have only the "older" S2 series of various Dahua 5442 cameras, and have had the PTZ command method working for a few years now, but my understanding is that the newer S3 versions (with the newer blue/white firmware interface) use an entirely different command to achieve this day/night switchover. Do you have a mix of versions at your location by chance?
yes, I use the same string on my IPC-Color4K-T180 and it works fine. Also use it on older Dahua cams.

night profile string: user:password@192.168.200.149/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=1

day profile string: user:password@192.168.200.149/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=0
 
Last edited:
SO I suppose the day profile string would almost identical except for the last Config[0]=0 ??? or do you have to change the value in VideoInMode[?} as well?