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?
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.
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.
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
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
Screen 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!!!
Insert as CODE.
Code:http://admin:pass@192.168.1.108/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[].NightOptions.SwitchMode=0&VideoInOptions[].NightOptions.DayNightColor=0