Thanks guys! Is rolling back BI easy? I just got it setup (I’m a new user). Can I export my settings and re import them to the previous version?
I read through the past few pages to see if my specific problem was mentioned and didn't see it. The problem only recently started after having run the utility for some months successfully. Specifically, the problem is affecting my LPR camera (Dahua 5241-Z12E) and then only the Focus setting when changing to Sunrise settings. All other configured settings for Zoom and Focus for Sunset and Sunrise work fine. When I wake in the morning the LPR camera is always blurry and no plates are captured. I hit the 'Simulate Sunrise' button and within a few seconds all is well again ... until the next morning.
Any thoughts?
I am already using the "Seconds Between Lens Commands" set to the default of 4 seconds. I'll try changing the default to 5 seconds and see if that makes a difference.Only thought I have is to put a delay between the commands sent to each camera. And, possibly send the command more than once to that cam 10 secs later. I have delays between mine for similar issues.
Another possible issue could be the camera rebooting or a power issue and when it comes back in the middle of the night it will lose focus, so check the logs and see if it rebooted - if you have an SD card in the camera and it is starting to fail, it can cause a reboot.
I thought you were going to say "frame rates"
Yeah, I wasn't too concerned about the warning. I just can't figure out why my new PC won't let it run without locking up. For now I'm just running it on another PC that's always on and it works fine on that one.. it's always something.Not sure why it isn't running, but the unsafe warning is simply because the virus programs use an algorithm of how many users are using something as part of their evaluation, so when so few are using the utility, it will show up with a warning.
Just out of curiosity, have you tried moving over to the newer/preferred method of having BI handle this "natively" though the Schedules and PTZ APIs (even by @bp2008, the original script author)? Look over the first post of this thread for details.Yeah, I wasn't too concerned about the warning. I just can't figure out why my new PC won't let it run without locking up. For now I'm just running it on another PC that's always on and it works fine on that one.. it's always something.
I've tried using the manual PTZ controls; switching between Preset 1(Day) and Preset 2 (Night) for each camera, but to no effect. The PTZ controls seem to be enabled (checkbox in upper left corner) when digging into each camera's settings on the PTZ tab. Is there some other B.I. global PTZ setting that I may have inadvertently turned off, thinking that "yeah, these camera's don't have that function, so I might as well disable that control"? If so, I can't find it again, LOL.
Really odd how I can see the log file HTTP: OK 200 response after each attempted manual PTZ change, but with no actual corresponding camera mode change. Yet when I run the same API call from a browser window the cameras do switch modes correctly. Hmm...maybe I need to examine my B.I. Admin user permissions carefully, that has caught me out once before on another function (mobile app push notifications).
Edit: Ok, I checked the user permissions, and the PTZ control permissions are enabled there, so back to the drawing board...
Yes, I do use the command as you noted, changing the end digit between 0 and 1 to switch between day and night modes. The post you quoted was prior to my discovery that the issue I was having was due to my camera admin user password having an @ symbol within it, which won't work in this case, as that is also used as the separator in the command string. Once that was resolved, this method has been working perfectly for months now, I have no issues as you described. Are you literally watching the switchover time while logged into the camera profile management page? If logged in and watching that page (using the same user/password combo as in your command string) I could see how that might cause the camera to flip back and forth, as it could "confuse" the situation. I actually created a second admin user within the camera for use with the profile switchover setup, but doubt that it was strictly necessary. You might try that workaround to see if it helps your setup.What setting are you using on the camera under Conditions -> Profile Management? I'm finding if I set the profile to Full Time->Day, when the BI call sets the profile to night, the camera immediately reverts back to Day b/c of the full time Day setting. I've manually made the call using a curl command and seeing the setting set so I belive my password it set correctly. I'm using a IPC-T5449H-ASE-D camera as well.
Are you using the same BI call as in the directions?
admin@password@192.168.0.15/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=0
thanks
Are you using the same BI call as in the directions?
admin@password@192.168.0.15/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=0
:
is used to separate the user name from the password.Yes, nice catch, I didn't go back and look it up explicitly. The @ is used as the separator between the password and the IP address of the camera however, and that is what interfered in my setup originally.That is wrong. A:
is used to separate the user name from the password.
I am already using the "Seconds Between Lens Commands" set to the default of 4 seconds. I'll try changing the default to 5 seconds and see if that makes a difference.
That is wrong. A:
is used to separate the user name from the password.
user:pass
I put in a typo.