Yes, please share here or on github.
I'm pretty sure there will be more people asking for this as the active deterrence models seem very popular.
If you don't mind I'll share it in some Swedish Home automation face book groups.
Good job!
Any update on this? I’d love to disarm via APIHas anyone managed to control "Disarming" as available in newer Dahua firmware by the API?
View attachment 76191
Yup! hand upAnyone interested in doing this via home assistant? If so I can add it in to my custom integration.
Yup! hand up
# Get the current value
http://IP_ADDRESS/cgi-bin/configManager.cgi?action=getConfig&name=DisableLinkage
# Disable
http://IP_ADDRESS/cgi-bin/configManager.cgi?action=setConfig&DisableLinkage[0].Enable=false
# Enable
http://IP_ADDRESS/cgi-bin/configManager.cgi?action=setConfig&DisableLinkage[0].Enable=true