dahua icon indicating copy to clipboard operation
dahua copied to clipboard

Amcrest AD410: Volume control programmatically & siren notes

Open privatesam opened this issue 2 years ago • 2 comments

I found that altering these two setting via cgi changes the volume for the Siren Volume and Speaker Volume:

table.All.VideoTalkPhoneGeneral.RingVolume=5 table.All.VideoTalkPhoneGeneral.TalkVolume=2

You can just just change the number up to 100. This could be really useful in the integration for increasing volume based on time of day or weather or whatever.

Still trying to find the setting for the turning on and off the Siren! Someone on the Amcrest forum spotted this:

table.All.SnapMode[0].Mode=0 table.All.Sound.AlarmSound=/usr/data/Sounds/English/Siren.aac table.All.Sound.AlarmSoundDuration=30 table.All.Sound.AlarmSoundEnable=false table.All.Sound.AlarmSoundVolume=100 table.All.Sound.BootStrapSound=/usr/data/Sounds/English/Siren.aac table.All.Sound.SilentMode=false table.All.Sound.SoundTipsPlayEnable=true table.All.Sound.TouchScreenSound=false table.All.Sound.UnlockSoundEnable=false

And tried changing the table.All.Sound.AlarmSoundEnable=false to true but it didn't work. Then I realised when playing with the Android app that the app checks for permission before turning on the Siren so I wondered whether you need enable table.All.Sound.UnlockSoundEnable=false first. Unfortunately this didn't work. Still might be a combination of those but I'm going to play with these settings tonight:

table.All.AudioDetect[0].EventHandler.ExAlarmOut=1 table.All.AudioDetect[0].EventHandler.ExAlarmOutChannels[0]=0 table.All.AudioDetect[0].EventHandler.ExAlarmOutEnable=false

and

table.All.PhoneCallDetectAlarm[0].EventHandler.AlarmOutChannels[0]=0 table.All.PhoneCallDetectAlarm[0].EventHandler.AlarmOutEnable=false table.All.PhoneCallDetectAlarm[0].EventHandler.AlarmOutLatch=0 table.All.PhoneCallDetectAlarm[0].EventHandler.BeepEnable=false

privatesam avatar Mar 30 '23 19:03 privatesam