EMPIRETECANDY
IPCT Vendor
IPC-Color4K-B180 (PFW-5849-A180-E2-ASTE) also use web5.0Interesting. Let me try those.
Did the two cameras that this API worked for using the new GUI or the old GUI?
IPC-Color4K-B180 (PFW-5849-A180-E2-ASTE) also use web5.0Interesting. Let me try those.
Did the two cameras that this API worked for using the new GUI or the old GUI?
The 6 mm is the old GUI. The 180 degree is the new blue GUI. Worked on both.....Did the two cameras that this API worked for using the new GUI or the old GUI?
http://USER:PW@IPADDRESS/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=3&VideoInOptions[].NightOptions.DayNightColor=0
http://USER:PW@IPADDRESS/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=0&VideoInOptions[].NightOptions.DayNightColor=0
Or if you're using a home automation system you can configure it to make multiple API calls at the same time. The rules below are using Hubitat to change the mode, focus & zoom, frame rate and bit rate between day and night on my LPR camera. I have similar rules for my other cameras as well and it works great.So we cannot use the standalone sunrise/sunset utility, but fortunately @bp2008 provided updated instructions in that thread on how to make it happen in BI, we just need to change the API in his instructions to this one.
When I was running the cameras and Hubitat on the same network using Hubitat to make Dahua API calls that system worked fine. Had to add a little delay so that the hub would process correctly or it would sometimes be creative and skip a few calls.The rules below are using Hubitat to change the mode, focus & zoom, frame rate and bit rate between day and night on my LPR camera.
I've seen the same thing that's why I have a 5 sec delay between calls.Had to add a little delay so that the hub would process correctly or it would sometimes be creative and skip a few calls.
The only thing I can think of is adding a separate Hubitat hub to your camera network. You could basically accomplish the same thing with a RPi running Home Assistant.If you know of a way to make that happen and will still retain 100% internet isolation let me know.
Yes, moved the Hub to the sub net (2nd NIC) as a try in July. Without a router on the sub network the Hub would not work. Could not even change the Hub IP address. Posted the issue on the Hubitat forum and the conclusion was it can not be done. Thus using the BI utility which works fine.The only thing I can think of is adding a separate Hubitat hub to your camera network. You could basically accomplish the same thing with a RPi running Home Assistant.
So the only difference between day and night is the " at the end of the string?DRUM ROLL.........
With help from above, I have figured out the APIs to change profiles for this camera!!!!!
Here is the API to go to Night profile (no spaces between USER : PW) and should all be one line
: PW@IPADDRESS/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=0&VideoInOptions[].NightOptions.DayNightColor=0"
Here is the API to go to Day profile (no spaces between USER : PW)
: PW@IPADDRESS/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=3&VideoInOptions[].NightOptions.DayNightColor=0
So we cannot use the standalone sunrise/sunset utility, but fortunately @bp2008 provided updated instructions in that thread on how to make it happen in BI, we just need to change the API in his instructions to this one.
Dahua day/night switch utility - DahuaSunriseSunset
I wanted to use stronger noise reduction at night and weaker during the day, but Dahua seems to have made a mess of the profile management. On most cameras, there doesn't seem to be a way to have the camera switch automatically between Day and Night profiles when the camera changes between...ipcamtalk.com
The " was just trying to get it to show without the hyperlinks and stuff, but it is in the middle of the string where a 3 changes to 0.So the only difference between day and night is the " at the end of the string?
Screen cap.The " was just trying to get it to show without the hyperlinks and stuff, but it is in the middle of the string where a 3 changes to 0.
I will correct that post if I can figure out how to get it to show as just text LOL
Yeah but then a user can't copy/paste and would have to type it all inScreen cap.
http://admin:pass@192.168.1.108/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=0&VideoInOptions[].NightOptions.DayNightColor=0
No joy here, I'm sure I've screwed up something. But then again, I have not done an additional 42 factory defaults yet.Just ran tests and it works fine here! One problem solved. Thanks Wittaj!!!
Sweet I learned something new! I have revised the previous post to use CODEInsert as CODE.
Code:http://admin:pass@192.168.1.108/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=0&VideoInOptions[].NightOptions.DayNightColor=0