Profile management with light sensor

lane777smith

Getting the hang of it
Joined
May 11, 2022
Messages
148
Reaction score
76
Location
texas
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?
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,445
Reaction score
38,162
Location
Alabama
I do not use the dahua sunrise/sunset tool, but these URLs work on a Dahua-rebranded Amcrest IP2M-841. Config and modify to suit your need:

This command forces night mode:
Code:
http://username:password@camera-IP/cgi-bin/configManager.cgi?action=setConfig&VideoInDayNight[0][0].Mode=BlackWhite
This command forces Day/Night Auto mode:
Code:
http://username:password@camera-IP/cgi-bin/configManager.cgi?action=setConfig&VideoInDayNight[0][0].Mode=Brightness
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

You could use something like this to provide input to the Shelly1 ==>> HiLetgo 2pcs 12V Photoresistor Sensor Relay Module Car Light Automatic Control Switch with Cable

Both the Shelly1 and the Light sensor relay can operate on 12VDC.
_

HTTP-0.jpg
 
Last edited:
As an Amazon Associate IPCamTalk earns from qualifying purchases.
Top