New "Action set" option in 5.9.9.64

Tinman

Known around here
Nov 2, 2015
1,363
1,803
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.

UPDATE: see below. You can configure "Action Set1 for your Sunrise or Day profile and then add as many camera's web requests to the action set. So Action set 2 would be for your Night profile.

408.jpg
 
Last edited:
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?
 
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.

UPDATE: see below. You can configure "Action Set1 for your Sunrise or Day profile and then add as many camera's web requests to the action set. So Action set 2 would be for your Night profile.

View attachment 223793
This is great. Now I don't have to execute presets with a 'On call' Action Sets to run a script.

I can imagine other uses for this new feature -- besides sunrise/sunset profile management.

For example:
  • Running scripts with logic to execute only on certain days of week (like when a gardener arrives/departs).
  • Running scripts only when disk *.txt files have certain values.
I recently noted to Ken that it might be helpful to have the ability toggle on/off scheduled actions. This new feature makes this possible. My solution for temporarily disabling a single schedule action prior to this change was to gray out all profiles but 0.
 
Last edited: