I'm currently using the dahuasunrise/sunset tool to switch my Amcrest camera profiles between Night and Day based on time. This has been working great, but on days where it's rainy, I need them to stay on the Night profile longer in the morning because it's not as bright outside. Is there a way of triggering the Profiles to change based on the amount of light at any given time using an off camera light sensor?
I guess you could get the HTTP command into the cam via a Shelly1 WiFi switch among other methods. The Shelly can respond to an input from a photocell, photodiode, etc. and issue a HTTP command to the camera. See my write up for more info ==>> Simple Blue Iris I/O using Shelly1 Wi-Fi Devices
I'm currently using the dahua sunrise/sunset tool to switch my Amcrest camera profiles between Night and Day based on time. This has been working great, but on days where it's rainy, I need them to stay on the Night profile longer in the morning because it's not as bright outside. Is there a way of triggering the Profiles to change based on the amount of light at any given time using an off camera light sensor?
I'm trying DahuaSunriseSunset tool out now, and it seems to work with my Amcrest IP5M-T1179E units, or at least with these two that I'm trying out today. My thoughts:
Thanks, @bp2008! It's excellent to have a tool to override the bugginess in these cameras' UIs.
Wow, these cameras' UIs are incredibly buggy/incomplete/inconsistent:
Camera: Profile Management: Day/Night does not appear in the Amcrest Surveillance Pro app, neither the Windows version nor the macOS version.
It appears only in the browser UI.
If I select that radio in the browser UI, and then look at Profile Management for that camera in the app, none of the radios is selected.
IME a vendor's app is usually the "go to" for full, complete, and reliable hardware control/config, and the web UI is some sort of partial implementation of that. This appears to be the inverse.
Same for firmware upgrades; it must be done from the browser, not the app.
The whole Amcrest profile management appears to be really, really buggy.
In the browser, Configuration, selecting a profile from the drop-down menu immediately applies that profile to the camera, even before I click Save.
That seems completely wrong, unless I'm mis-understanding how a profile works. e.g. I would think that I'm selecting a profile to edit, but that the Profile Management tab controls when that profile actually gets applied. It should not even change the camera's current settings unless I'm editing/saving the profile that's currently being applied by Profile Management.
The app appears to work that way. Except that it's even buggier.
In the app, I would expect that clicking between Configuration and Profile Management would never lead to the loss of information or settings, e.g. I should be able to make a setting in Profile Management, click over to Configuration without clicking Save/Apply, and then come back to Profile Management and see the same settings that I just entered 5 seconds ago.
This is not the case, or at least not consistently.
I keep finding that setting that I thought I'd entered have to be re-entered constantly, and I need to Save/Apply before I click over to Configuration.
Sometimes, settings that I never even touched get edited.
I spent 20 minutes trying to figure out why my Day profile was completely black, other than the overlaid time/date stamp, until I realized that all the Picture sliders had been set to 0.
Profile Management in the app has "Attendance Shifts" as the 3rd radio, while the browser labels is "Schedule."
Yeah, most people will figure out that these mean the same thing, but consistency would be nice.
Browser UI has a Reset [to] Defaults button on the Configuration page, but the app does not. That would have saved me lot of headache when my sliders unknowingly all got set to 0.
Throughout the entire UI, Dahua/Amcrest use "Open/Close" instead of "On/Off" for boolean settings.
I'm 99.99% sure this is because they're the same word in Chinese (kai/guan), but if you're gonna do an English UI, hire someone to help with the translation.
It's especially confusing when the setting is something like a filter. If a filter setting is "Open," what does that mean?
Anyhoo, now that I've "found" the Day/Night setting in the browser UI, maybe I don't need the dahua sunrise/sunset tool.
But maybe I do.
It'll take a me few days of testing to figure out whether Day/Night in Profile Management actually works or not.
Is there a way to read/detect the shutter settings from the camera stream?
I'd like to find out what the settings are for a given camera, without opening the UI in either the browser or the app, because they're both so buggy and liable to change settings when I don't want them to.
Can I get that setting from an HTTP request?
If bp2008 (or anyone else) is actively working on DahuaSunriseSunset tool, here are some suggestions/feature requests:
Add a "Copy Camera" button in Configuration, as I suspect a lot of us have a fleet of cameras with the same user/pass that differ only by the last digit of their IPs.
And/or add a list of common credentials to choose from when adding a camera.
Maybe add a "scan subnet" to query for Dahua/Amcrest cameras.
Add an "Ok/Cancel" buttons to the Add/Edit camera dialog, as clicking an "X" to close a dialog typically implies closing without saving.
For example if one clicks Add Camera and then "X", a camera appears in the list at 127.0.0.1, e.g. the default entry.
So if one clicks Add Camera accidentally, one must then Deelete it, as there's no way to exit the dialog without adding the camera.
Add an "Auto-detect Lat/Long" button, as modern browsers can report this.
That value of 8.330000 sure looks like 1/120 in milliseconds.
So this tells me what I've programmed in for each of the profiles, but I can't figure out how to get what's currently being applied. Anyone here know the API?