Profile Management

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Oldschool
Posts: 1
Joined: Tue Sep 12, 2017 11:59 am

Profile Management

Postby Oldschool » Wed Sep 13, 2017 8:09 am

I have two Amcrest cameras and have the same question about both.

IP2M-841
Software Version 2.420.AC00.15.R, build : 2016-09-08
WEB Version 3.2.1.377299
ONVIF Version 2.42

IP3M-943W
Software Version 2.520.AC00.26.R, build : 2016-08-31
WEB Version 3.2.1.329792
ONVIF Version 2.4.2

Under Camera -> Configuration -> Profile Management section:
I set the "Profile Management" to "Normal" and (according to the manual) this should allow the camera to use the Day or Night profile automatically. But it does not seem to be working. It's always using the "Normal" profile.

According to the manual:
"There are 3 options: Normal, Full Time, and Schedule. Normal means that the system can automatically alternate between night and day based on the profiles for each."


Why is there a "Normal" profile along with "Day" and "Night" profile?
It seems that Normal is the only profile being used and the documentation is wrong because it's not switching between Day and Night automatically.

If I set a "Schedule" then it will switch between Day and Night automatically. But setting a schedule will not be as accurate as allowing the camera to detect day and night automatically. For example, I may schedule it to go into the Night profile at 8pm, but it may not be dark yet, or perhaps it got dark at 7pm.

Can someone explain how this Profile Management setting should work, because it does not appear to be working as the manual explains. I have to configure different profiles for Day and Night to get the camera image to look good and I need it to switch between Day & Night automatically.

dan79
Posts: 1
Joined: Sat Nov 04, 2017 10:24 pm

Re: Profile Management

Postby dan79 » Sat Nov 04, 2017 10:26 pm

I also have this question. Anyone?

jantman
Posts: 20
Joined: Thu May 03, 2018 12:36 pm

Re: Profile Management

Postby jantman » Sun Jun 16, 2019 4:40 pm

A year and a half and no response from Amcrest?

I have ten of their cameras, a mix of IP2M-852's, IP3M-954's and IP2M-841's, and they all have this problem. They act like they essentially have 3 profiles - Day, Night, and Normal - that have to be switched manually. There's no automatic switching at all.
Lead Software Engineer, Tooling & Automation. Formerly, Wireless & Network Systems Engineer.
Doing all sorts of crazy things to anything with an IP address.
http://www.jasonantman.com / http://github.com/jantman

jantman
Posts: 20
Joined: Thu May 03, 2018 12:36 pm

Re: Profile Management

Postby jantman » Mon Jun 17, 2019 2:44 pm

For anyone who finds this, I've figured out how to get this to work...

While automatic profile switching doesn't seem to be possible (or at least intuitive) through the web UI, this does work via the API.

The key is to use the configManager service and set the VideoInOptions to NightOptions.SwitchMode=1 and NightOptions.Profile=3. According to the API documentation, NightOptions.SwitchMode 1 is "Switch depends on brightness" and NightOptions.Profile 3 is "depends on NightOptions.SwitchMode". These options don't appear to be available in the web UI, but I can confirm that on my IP3M-954's, setting these configuration values via the API results in the camera automatically switching between day and night profiles at the same time it switches IR/Night Vision on and off.

I'm not sure how you'd do this from a Windows machine, but from a Mac/Linux/other Unix variant that has curl installed, I enabled this with:

Code: Select all

curl -u admin:password --digest 'http://192.168.1.101/cgi-bin/configManager.cgi?action=setConfig&VideoInOptions[0].NightOptions.SwitchMode=1&VideoInOptions[0].NightOptions.Profile=3'


Where "admin:password" is the camera login username and password, and "192.168.1.101" is the camera IP address.

I haven't tested it, but I'm pretty sure that making any changes to the "Profile Management" section of the web UI will overwrite this.

Note that, while I haven't messed with this yet, there is also a BrightnessThreshold value accessible via the API that's not exposed in the web interface, which sounds as though it should control the threshold for switching between day and night modes. While the web UI has a Configuration -> Day & Night -> Sensitivity option that selects between "Low", "Middle", and "High", the API shows that this setting actually has a range of zero (0) to seven (7) and is different from the BrightnessThreshold setting, which has a range of zero (0) to one hundred (100).
Lead Software Engineer, Tooling & Automation. Formerly, Wireless & Network Systems Engineer.
Doing all sorts of crazy things to anything with an IP address.
http://www.jasonantman.com / http://github.com/jantman

jantman
Posts: 20
Joined: Thu May 03, 2018 12:36 pm

Re: Profile Management

Postby jantman » Tue Jun 18, 2019 6:03 am

UPDATED: The one down side to this is it seems that the automatic switching behavior is lost any time you save changes to day/night profiles through the web interface. So, effectively, any time you make changes to the camera settings via the web UI and save them, you then need to repeat these API requests to ensure the auto-switching settings stay.
Lead Software Engineer, Tooling & Automation. Formerly, Wireless & Network Systems Engineer.
Doing all sorts of crazy things to anything with an IP address.
http://www.jasonantman.com / http://github.com/jantman


Return to “IP Cameras”

Who is online

Users browsing this forum: No registered users and 11 guests