tchellomello / python-amcrest

A Python 2.7/3.x module for Amcrest and Dahua Cameras using the SDK HTTP API.
GNU General Public License v2.0
213 stars 76 forks source link

Support enabling and disabling the mechanical chime #216

Open mririgoyen opened 2 years ago

mririgoyen commented 2 years ago

One of the biggest reasons I'm dropping my Nest doorbell is because of the lack of API control. The Amcrest AD110 has the required control for me to bring things local, but it's missing one thing: the ability to silence the indoor chime. I have young children and a baby on the way, and we want that doorbell chime SILENCED during nap time.

It seems it is possible to disable (and likely reenable) the chime using the web api.

http://<ip address of ad110>/cgi-bin/configManager.cgi?action=setConfig&ExternalDoorBell.Enable=false
http://<ip address of ad110>/cgi-bin/configManager.cgi?action=setConfig&ExternalDoorBell.Enable=true

You can get the current status like so:

http://<ip address of ad110>/cgi-bin/configManager.cgi?action=getConfig&name=ExternalDoorBell

Is this something the module can support so it may trickle up the stream and eventually into Home Assistant?

mririgoyen commented 2 years ago

More information: https://community.home-assistant.io/t/assistance-silencing-my-doorbell/243285/10