@bgilmer What I found is that the issue arises when I have a sub stream specified in DoorBellCamera Thing for “FFMpeg_Motion_Input”. If I don’t use the sub stream and FFMpeg_Motion_Input is left blank, everything works as expected. When using FFMpeg_Motion_Input subbstream, I can change threshold values and they appear to take, but the AudioAlarm channel dies. However FFmpeg Motion Alarms continue to work fine. If I restart OH, then everything including the AudioAlarm works again with the new setting. My DoorbellCamera is still a Work-in-Progress, but is working well without using the sub channel. I have manually created the Doorbell Camera Thing using PaperUI, not a .thing file. Using the ipcamera binding I selected “ONVIF Generic Camera…” and added the username,PW, Port, etc. Again all working/Online, no issue. I do a text based .items and .rules, but they are very simple and I use PaperUI to link .items to Doorbell Camera channels. In the case of FFMpegThreshold and AudioThreshold I have linked both a Dimmer and Switch. All of the video motion alarms are part of the gDoorbellSensors Group. The AudioAlarm remains separate for now. I use a 3 second refresh for ipcamera.jpg that I post to my HABPanel/sitemap. I think at this stage it is all pretty standard/unremarkable, but if you see anything that needs to be changed please flag it for me.
The only other thought I have had is to try using all all text based configurations (Thing,Item, Channels, etc) to determine if there may be something odd going on with PaperUI. Not out of the question, but low probability.
For the sub stream I use rtsp://EZVIZ IP:554/Streaming/Channels/102
.items
Switch vHTTPONLYGenericIPCameraWithOnlyHTTPSupport_UpdateTheImage (Group_HabPanel_Dashboard)
Image vHTTPONLYGenericIPCameraWithOnlyHTTPSupport_SnapshotFromCamera (Group_HabPanel_Dashboard)
String vONVIFGenericIPCameraWithONVIFSupport_ImageURL (Group_HabPanel_Dashboard)
Switch vFFmpegCamEnableMotion "FFmpeg MotionAlarm on/off" (gDoorbell,Group_HabPanel_Dashboard)
Dimmer vFFmpegMotionThreshold "FFmpegMotion Detection Threshold" (gDoorbell,Group_HabPanel_Dashboard)
Switch vCamEnableAudioAlarm "Enable AudioAlarm on/off" (gDoorbell,Group_HabPanel_Dashboard)
Dimmer vCamAudioThreshold "Audio Threshold" (gDoorbell,Group_HabPanel_Dashboard)
Switch vCamPIR "PIR Triggered- Someone Approaching" (gDoorbellSensors)
Switch vCamMotionAlarm "MotionAlarm Triggered - Someone Approaching" (gDoorbellSensors)
Switch vCamAudioAlarm "AudioAlarm Triggered- Someone Approaching" (gDoorbell) //(gDoorbellSensors)
Switch vCamFFMpegAlarm "FFMPEGAlarm Triggered- Someone Approaching" (gDoorbellSensors)
Switch vVisitorApproachingAlarm "Visitor Approaching" { expire="5s,command=OFF" }
String vLastMotionType "Last Motion Detected [%s]" (gDoorbell)
String vRTSP "RTSP URL" (gDoorbell)
.rules
rule "React to Doorbell Audio Trigger "
when
Item gDoorbellSensors changed to ON or
Item vCamAudioAlarm changed to ON
//Item vCamAudioAlarm changed to ON or
//Item vCamPIR changed to ON //or
//Item vCamMotionAlarm changed to ON
//Item vCamFFMpegAlarm changed to ON
then
sendNotification("jsie@xyz.com”, "Visitor is Approaching")
//vVisitorApproachingAlarm.sendCommand(ON)
end
.sitemap
sitemap ipcamera label="Doorbell Camera"
{
Frame {
Text label="Doorbell Camera " icon="camera" {Image url="http://192.168.0.xxx:10256/ipcamera.jpg" refresh=3000}
}
Frame {
Text item=gDoorbellSensors label="Visitor Approaching [MAP(ipcamera.map):%s]" icon=siren valuecolor=[==OFF="green",==ON="red"]
Text item=vCamAudioAlarm label="Audio Alarm - Front Porch [MAP(ipcamera.map):%s]" icon=siren valuecolor=[==OFF="green",==ON="red"]
//Text item=vVisitorApproachingAlarm label="Visitor Approaching [MAP(ipcamera.map):%s]" icon=siren valuecolor=[==OFF="green",==ON="red"]
Text item=vLastMotionType label="Last Motion Detected [%s]"
Text label="Advanced Controls" icon="settings"
Switch item=vFFmpegCamEnableMotion label="FFmpeg MotionAlarm on/off"
Slider item=vFFmpegMotionThreshold label="FFmpeg Motion Detection Threshold [%d]" icon="heating"
Switch item=vCamEnableAudioAlarm label="Enable AudioAlarm on/off"
Slider item=vCamAudioThreshold label="Audio Sensitivity Threshold [%d]" icon="heating"
}
}