# the TCP port to listen on
port 8765
+# whether motion HTTP control interface listens on
+# localhost or on all interfaces
+motion_control_localhost true
+
+# the TCP port that motion HTTP control interface listens on
+motion_control_port 7999
+
# interval in seconds at which motionEye checks the SMB mounts
mount_check_interval 300
-VERSION = "0.28"
+VERSION = "0.28-git"
data.setdefault('@normal_password', '')
if old_motion:
- data.setdefault('control_port', 7999)
+ data.setdefault('control_port', settings.MOTION_CONTROL_PORT)
+ data.setdefault('control_html_output', True)
+ data.setdefault('control_localhost', settings.MOTION_CONTROL_LISTEN_LOCALHOST)
else:
- data.setdefault('webcontrol_port', 7999)
+ data.setdefault('webcontrol_port', settings.MOTION_CONTROL_PORT)
+ data.setdefault('webcontrol_html_output', True)
+ data.setdefault('webcontrol_localhost', settings.MOTION_CONTROL_LISTEN_LOCALHOST)
def _set_default_motion_camera(camera_id, data):
# the TCP port to listen on
PORT = 8765
+# whether motion HTTP control interface listens on
+# localhost or on all interfaces
+MOTION_CONTROL_LISTEN_LOCALHOST = True
+
+# the TCP port that motion HTTP control interface listens on
+MOTION_CONTROL_PORT = 7999
+
# interval in seconds at which motionEye checks the SMB mounts
MOUNT_CHECK_INTERVAL = 300
<tr class="settings-item advanced-setting" min="0" max="100" snap="2" ticksnum="5" decimals="0" unit="%">
<td class="settings-item-label"><span class="settings-item-label">Light Switch Detection</span></td>
<td class="settings-item-value"><input type="text" class="range styled device camera-config" id="lightSwitchDetectSlider"></td>
- <td><span class="help-mark" title="sets the percentage of the image that needs to change so that the event is treated as a sudden light change instead of motion">?</span></td>
+ <td><span class="help-mark" title="sets the percentage of the image that needs to change so that the event is treated as a sudden light change instead of motion (0% disables the function)">?</span></td>
</tr>
<tr class="settings-item advanced-setting" min="0" max="100" snap="2" ticksnum="5" decimals="0" unit="%">
<td class="settings-item-label"><span class="settings-item-label">Brightness</span></td>