@@ -240,28 +240,28 @@ <h2><a name="Configuration_OptionsTopic"></a> Configuration Options-Listed by T
240240 < td bgcolor ="#edf4f9 " > < a href ="#threshold_ratio_change " > threshold_ratio_change</ a > </ td >
241241 < td bgcolor ="#edf4f9 " > < a href ="#secondary_method " > secondary_method</ a > </ td >
242242 < td bgcolor ="#edf4f9 " > < a href ="#secondary_params " > secondary_params</ a > </ td >
243+ < td bgcolor ="#edf4f9 " > < a href ="#noise_level " > noise_level</ a > </ td >
243244 </ tr >
244245
245246 < tr >
246- < td bgcolor ="#edf4f9 " > < a href ="#noise_level " > noise_level</ a > </ td >
247247 < td bgcolor ="#edf4f9 " > < a href ="#noise_tune " > noise_tune</ a > </ td >
248248 < td bgcolor ="#edf4f9 " > < a href ="#despeckle_filter " > despeckle_filter</ a > </ td >
249249 < td bgcolor ="#edf4f9 " > < a href ="#area_detect " > area_detect</ a > </ td >
250+ < td bgcolor ="#edf4f9 " > < a href ="#mask_file " > mask_file</ a > </ td >
250251 </ tr >
251252 < tr >
252- < td bgcolor ="#edf4f9 " > < a href ="#mask_file " > mask_file</ a > </ td >
253253 < td bgcolor ="#edf4f9 " > < a href ="#mask_privacy " > mask_privacy</ a > </ td >
254254 < td bgcolor ="#edf4f9 " > < a href ="#smart_mask_speed " > smart_mask_speed</ a > </ td >
255255 < td bgcolor ="#edf4f9 " > < a href ="#lightswitch_percent " > lightswitch_percent</ a > </ td >
256+ < td bgcolor ="#edf4f9 " > < a href ="#lightswitch_frames " > lightswitch_frames</ a > </ td >
256257 </ tr >
257258 < tr >
258- < td bgcolor ="#edf4f9 " > < a href ="#lightswitch_frames " > lightswitch_frames</ a > </ td >
259259 < td bgcolor ="#edf4f9 " > < a href ="#minimum_motion_frames " > minimum_motion_frames</ a > </ td >
260260 < td bgcolor ="#edf4f9 " > < a href ="#event_gap " > event_gap</ a > </ td >
261261 < td bgcolor ="#edf4f9 " > < a href ="#pre_capture " > pre_capture</ a > </ td >
262+ < td bgcolor ="#edf4f9 " > < a href ="#post_capture " > post_capture</ a > </ td >
262263 </ tr >
263264 < tr >
264- < td bgcolor ="#edf4f9 " > < a href ="#post_capture " > post_capture</ a > </ td >
265265 < td bgcolor ="#edf4f9 " > < a href ="#static_object_time " > static_object_time</ a > </ td >
266266 </ tr >
267267 </ tbody >
@@ -297,6 +297,9 @@ <h2><a name="Configuration_OptionsTopic"></a> Configuration Options-Listed by T
297297 < tr >
298298 < td bgcolor ="#edf4f9 " > < a href ="#on_camera_found " > on_camera_found</ a > </ td >
299299 < td bgcolor ="#edf4f9 " > < a href ="#on_secondary_detect " > on_secondary_detect</ a > </ td >
300+ < td bgcolor ="#edf4f9 " > < a href ="#on_action_user " > on_action_user</ a > </ td >
301+ < td bgcolor ="#edf4f9 " > < a href ="#on_sound_alert " > on_sound_alert</ a > </ td >
302+
300303 </ tr >
301304 </ tbody >
302305 </ table >
@@ -668,8 +671,17 @@ <h3><a name="conversion_specifiers"></a>Conversion Specifiers</h3>
668671 </ tr >
669672 < tr >
670673 < td bgcolor ="#edf4f9 " > %{ver}</ a > </ td >
671- < td bgcolor ="#edf4f9 " > The version of MotionPlus</ a > </ td >
674+ < td bgcolor ="#edf4f9 " > version of MotionPlus</ a > </ td >
675+ < td bgcolor ="#edf4f9 " > %{trig_nbr}</ a > </ td >
676+ < td bgcolor ="#edf4f9 " > sound alert number that was triggered</ a > </ td >
677+ < td bgcolor ="#edf4f9 " > %{trig_nm}</ a > </ td >
678+ < td bgcolor ="#edf4f9 " > sound alert name that was triggered</ a > </ td >
679+ </ tr >
680+ < tr >
681+ < td bgcolor ="#edf4f9 " > %{trig_freq}</ a > </ td >
682+ < td bgcolor ="#edf4f9 " > frequency that triggered the sound alert</ a > </ td >
672683 </ tr >
684+
673685 </ tbody >
674686 </ table >
675687 </ div >
@@ -841,7 +853,7 @@ <h3><a name="v4l2_params"></a>v4l2_params</h3>
841853 < i > < h4 > palette </ h4 > </ i >
842854 < div >
843855 < ul >
844- < li > Values: 0 - 21 | Default: 17</ li >
856+ < li > Values: 0 - 20 | Default: 17</ li >
845857 Preferred color palette for MotionPlus to use for the device. See table below for the meaning of
846858 each parameter number value.
847859 < div class ="tblpaltte ">
@@ -1019,8 +1031,182 @@ <h3><a name="libcam_params"></a>libcam_params</h3>
10191031 < p > </ p >
10201032 < ul >
10211033 < li > Values: String | Default: Not Defined</ li >
1022- Comma separated list of configuration parameters (aka controls) for the libcamera device. Note that this parameter
1023- is currently a placeholder only since no controls are currently available for libcamera devices.
1034+ Comma separated list of configuration parameters (aka controls) for the libcamera device.
1035+ </ ul >
1036+ < ul >
1037+ < i > < h4 > Transform(string)</ h4 > </ i >
1038+ (These are libcamera transform and rotate options and may not provide result you anticipate.)
1039+ < div > < ul >
1040+ < li > Identity</ h4 > </ i >
1041+ < li > Rot0</ li >
1042+ < li > HFlip</ li >
1043+ < li > VFlip</ li >
1044+ < li > HVFlip</ li >
1045+ < li > Rot180</ li >
1046+ < li > Transpose(not currently supported by libcamera)</ li >
1047+ < li > Rot270(not currently supported by libcamera)</ li >
1048+ < li > Rot90(not currently supported by libcamera)</ li >
1049+ < li > Rot180Transpose</ li >
1050+ </ ul > </ div >
1051+
1052+ < i > < h4 > AeEnable(bool)</ h4 > </ i >
1053+ < i > < h4 > AeLocked(bool)</ h4 > </ i >
1054+ < i > < h4 > AeMeteringMode(int)</ h4 > </ i >
1055+ < div > < ul >
1056+ < li > MeteringCentreWeighted = 0</ h4 > </ i >
1057+ < li > MeteringSpot = 1</ li >
1058+ < li > MeteringMatrix = 2</ li >
1059+ < li > MeteringCustom = 3</ li >
1060+ </ ul > </ div >
1061+ < i > < h4 > AeConstraintMode(int)</ h4 > </ i >
1062+ < div > < ul >
1063+ < li > ConstraintNormal = 0</ li >
1064+ < li > ConstraintHighlight = 1</ li >
1065+ < li > ConstraintShadows = 2</ li >
1066+ < li > ConstraintCustom = 3</ li >
1067+ </ ul > </ div >
1068+ < i > < h4 > AeExposureMode(int)</ h4 > </ i >
1069+ < div > < ul >
1070+ < li > ExposureNormal = 0</ li >
1071+ < li > ExposureShort = 1</ li >
1072+ < li > ExposureLong = 2</ li >
1073+ < li > ExposureCustom = 3</ li >
1074+ </ ul > </ div >
1075+ < i > < h4 > ExposureValue(float)</ h4 > </ i >
1076+ < i > < h4 > ExposureTime(int)</ h4 > </ i >
1077+ < i > < h4 > AnalogueGain(float)</ h4 > </ i >
1078+ < i > < h4 > Brightness(float)</ h4 > </ i >
1079+ < i > < h4 > Contrast(float)</ h4 > </ i >
1080+ < i > < h4 > Lux(float)</ h4 > </ i >
1081+ < i > < h4 > AwbEnable(bool)</ h4 > </ i >
1082+ < i > < h4 > AwbMode(int)</ h4 > </ i >
1083+ < div > < ul >
1084+ < li > AwbAuto = 0</ li >
1085+ < li > AwbIncandescent = 1</ li >
1086+ < li > AwbTungsten = 2</ li >
1087+ < li > AwbFluorescent = 3</ li >
1088+ < li > AwbIndoor = 4</ li >
1089+ < li > AwbDaylight = 5</ li >
1090+ < li > AwbCloudy = 6</ li >
1091+ < li > AwbCustom = 7</ li >
1092+ </ ul > </ div >
1093+ < i > < h4 > AwbLocked(bool)</ h4 > </ i >
1094+ < i > < h4 > ColourTemperature(int)</ h4 > </ i >
1095+ < i > < h4 > Saturation(float)</ h4 > </ i >
1096+ < i > < h4 > Sharpness(float)</ h4 > </ i >
1097+ < i > < h4 > FocusFoM(int)</ h4 > </ i >
1098+ < i > < h4 > ScalerCrop(Rect x-y-h-w)</ h4 > </ i >
1099+ < i > < h4 > DigitalGain(float)</ h4 > </ i >
1100+ < i > < h4 > FrameDuration(int)</ h4 > </ i >
1101+ < i > < h4 > SensorTemperature(float)</ h4 > </ i >
1102+ < i > < h4 > SensorTimestamp(int)</ h4 > </ i >
1103+ < i > < h4 > AfMode(int)</ h4 > </ i >
1104+ < div > < ul >
1105+ < li > AfModeManual = 0</ li >
1106+ < li > AfModeAuto = 1</ li >
1107+ < li > AfModeContinuous = 2</ li >
1108+ </ ul > </ div >
1109+ < i > < h4 > AfRange(0-2)</ h4 > </ i >
1110+ < div > < ul >
1111+ < li > AfRangeNormal = 0</ li >
1112+ < li > AfRangeMacro = 1</ li >
1113+ < li > AfRangeFull = 2</ li >
1114+ </ ul > </ div >
1115+ < i > < h4 > AfSpeed(int)</ h4 > </ i >
1116+ < div > < ul >
1117+ < li > AfSpeedNormal = 0</ li >
1118+ < li > AfSpeedFast = 1</ li >
1119+ </ ul > </ div >
1120+ < i > < h4 > AfMetering(int)</ h4 > </ i >
1121+ < div > < ul >
1122+ < li > AfMeteringAuto = 0</ li >
1123+ < li > AfMeteringWindows = 1</ li >
1124+ </ ul > </ div >
1125+ < i > < h4 > AfWindows(rect x-y-h-w)</ h4 > </ i >
1126+ < i > < h4 > AfTrigger(int)</ h4 > </ i >
1127+ < div > < ul >
1128+ < li > AfTriggerStart = 0</ li >
1129+ < li > AfTriggerCancel = 1</ li >
1130+ </ ul > </ div >
1131+ < i > < h4 > AfPause(int)</ h4 > </ i >
1132+ < div > < ul >
1133+ < li > AfPauseImmediate = 0</ li >
1134+ < li > AfPauseDeferred = 1</ li >
1135+ < li > AfPauseResume = 2</ li >
1136+ </ ul > </ div >
1137+ < i > < h4 > LensPosition(float)</ h4 > </ i >
1138+ < i > < h4 > AfState(int)</ h4 > </ i >
1139+ < div > < ul >
1140+ < li > AfStateIdle = 0</ li >
1141+ < li > AfStateScanning = 1</ li >
1142+ < li > AfStateFocused = 2</ li >
1143+ < li > AfStateFailed = 3</ li >
1144+ </ ul > </ div >
1145+ < i > < h4 > AfPauseState(int)</ h4 > </ i >
1146+ < div > < ul >
1147+ < li > AfPauseStateRunning = 0</ li >
1148+ < li > AfPauseStatePausing = 1</ li >
1149+ < li > AfPauseStatePaused = 2</ li >
1150+ </ ul > </ div >
1151+ < i > < h4 > AePrecaptureTrigger(int)</ h4 > </ i >
1152+ < div > < ul >
1153+ < li > AePrecaptureTriggerIdle = 0</ li >
1154+ < li > AePrecaptureTriggerStart = 1</ li >
1155+ < li > AePrecaptureTriggerCancel = 2</ li >
1156+ </ ul > </ div >
1157+ < i > < h4 > NoiseReductionMode(int)</ h4 > </ i >
1158+ < div > < ul >
1159+ < li > NoiseReductionModeOff = 0</ li >
1160+ < li > NoiseReductionModeFast = 1</ li >
1161+ < li > NoiseReductionModeHighQuality = 2</ li >
1162+ < li > NoiseReductionModeMinimal = 3</ li >
1163+ < li > NoiseReductionModeZSL = 4</ li >
1164+ </ ul > </ div >
1165+ < i > < h4 > ColorCorrectionAberrationMode(int)</ h4 > </ i >
1166+ < div > < ul >
1167+ < li > ColorCorrectionAberrationOff = 0</ li >
1168+ < li > ColorCorrectionAberrationFast = 1</ li >
1169+ < li > ColorCorrectionAberrationHighQuality = 2</ li >
1170+ </ ul > </ div >
1171+ < i > < h4 > AeState(int)</ h4 > </ i >
1172+ < div > < ul >
1173+ < li > AeStateSearching = 1</ li >
1174+ < li > AeStateConverged = 2</ li >
1175+ < li > AeStateLocked = 3</ li >
1176+ < li > AeStateFlashRequired = 4</ li >
1177+ < li > AeStatePrecapture = 5</ li >
1178+ </ ul > </ div >
1179+ < i > < h4 > AwbState(int)</ h4 > </ i >
1180+ < div > < ul >
1181+ < li > AwbStateInactive = 0</ li >
1182+ < li > AwbStateSearching = 1</ li >
1183+ < li > AwbConverged = 2</ li >
1184+ < li > AwbLocked = 3</ li >
1185+ </ ul > </ div >
1186+ < i > < h4 > SensorRollingShutterSkew(int)</ h4 > </ i >
1187+ < i > < h4 > LensShadingMapMode(int)</ h4 > </ i >
1188+ < div > < ul >
1189+ < li > LensShadingMapModeOff = 0</ li >
1190+ < li > LensShadingMapModeOn = 1</ li >
1191+ </ ul > </ div >
1192+ < i > < h4 > SceneFlicker(int)</ h4 > </ i >
1193+ < div > < ul >
1194+ < li > SceneFickerOff = 0</ li >
1195+ < li > SceneFicker50Hz = 1</ li >
1196+ < li > SceneFicker60Hz = 2</ li >
1197+ </ ul > </ div >
1198+ < i > < h4 > PipelineDepth(int)</ h4 > </ i >
1199+ < i > < h4 > MaxLatency(int)</ h4 > </ i >
1200+ < i > < h4 > TestPatternMode(int)</ h4 > </ i >
1201+ < div > < ul >
1202+ < li > TestPatternModeOff = 0</ li >
1203+ < li > TestPatternModeSolidColor = 1</ li >
1204+ < li > TestPatternModeColorBars = 2</ li >
1205+ < li > TestPatternModeColorBarsFadeToGray = 3</ li >
1206+ < li > TestPatternModePn9 = 4</ li >
1207+ < li > TestPatternModeCustom1 = 256</ li >
1208+ </ ul > </ div >
1209+
10241210 </ ul >
10251211 < p > </ p >
10261212
@@ -1052,6 +1238,14 @@ <h3><a name="netcam_params"></a>netcam_params</h3>
10521238 </ div >
10531239 < p > </ p >
10541240
1241+ < div >
1242+ < i > < h4 > decoder</ h4 > </ i >
1243+ The ffmpeg hardware decoder to use. Note that not all of the hardware decoders provided by ffmpeg are
1244+ available. The only hardware decoders are those that do not require customization of libary usage. The
1245+ ffmpeg libaries on the computer must usually be built from source in order to enable hardware decoding.
1246+ </ div >
1247+ < p > </ p >
1248+
10551249 < div >
10561250 < i > < h4 > params_file </ h4 > </ i >
10571251 < ul >
@@ -1526,6 +1720,20 @@ <h3><a name="on_secondary_detect"></a>on_secondary_detect</h3>
15261720 </ ul >
15271721 < p > </ p >
15281722
1723+ < h3 > < a name ="on_action_user "> </ a > on_action_user</ h3 >
1724+ < ul >
1725+ < li > Values: String | Default: Not Defined</ li >
1726+ The full path and file name of the program/script to be executed when user selects the user action from the web interface.
1727+ </ ul >
1728+ < p > </ p >
1729+
1730+ < h3 > < a name ="on_sound_alert "> </ a > on_sound_alert</ h3 >
1731+ < ul >
1732+ < li > Values: String | Default: Not Defined</ li >
1733+ The full path and file name of the program/script to be executed when a sound alert is triggered.
1734+ </ ul >
1735+ < p > </ p >
1736+
15291737 </ ul >
15301738
15311739 < h3 > < a name ="OptDetail_Pictures "> </ a > Output - Picture Options </ h3 >
@@ -1865,8 +2073,10 @@ <h3><a name="webcontrol_actions"></a> webcontrol_actions </h3>
18652073 < li > ptz: Applies for all PTZ commands</ li >
18662074 < li > stop</ li >
18672075 < li > restart</ li >
2076+ < li > action_user</ li >
18682077 < li > config_write</ li >
18692078 < li > config: Applies for any and all configuration parameters</ li >
2079+ < li > movies: Show page of recorded movies on webcontrol for downloading (requires database functionality)</ li >
18702080 </ ul >
18712081 Specify each of these using values of `on` or `off` to permit or deny respectively. The specification in
18722082 this parameter will override the default that is associated with
0 commit comments