biggen
Known around here
- May 6, 2018
- 2,688
- 3,060
You can use just plan authentication withI am trying to us an Arduino Uno with an ambient light sensor to change the cameras into night mode when it gets too dark due clouds during the day. The problem I am having that Dahua cameras use Digest Authentication. I have not been able to get that type of authentication to work from the Arduino, there is not much documention out there for this type of authentication in regards to the Arduino.
Being able to control your utility remotely would be awesome.
wget
or curl
if you are on the local network of the cameras. I use this command to flip my 5442 to night:wget -O - --user admin --password pass "10.200.200.6/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=1" >/dev/null 2>&1
And this to flip back to day:
wget -O - --user admin --password pass "10.200.200.6/cgi-bin/configManager.cgi?action=setConfig&VideoInMode[0].Config[0]=0" >/dev/null 2>&1