From 197c848e7427c3b0ba901906798a20a972fdaa10 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Tue, 6 Feb 2018 22:21:41 +0200 Subject: [PATCH] set webcontrol_parms motion option to 2 (enables motion HTTP API) --- motioneye/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/motioneye/config.py b/motioneye/config.py index 4eb18b8..4c5455d 100644 --- a/motioneye/config.py +++ b/motioneye/config.py @@ -1932,6 +1932,7 @@ def _set_default_motion(data, old_config_format): data.setdefault('webcontrol_port', settings.MOTION_CONTROL_PORT) data.setdefault('webcontrol_html_output', True) data.setdefault('webcontrol_localhost', settings.MOTION_CONTROL_LOCALHOST) + data.setdefault('webcontrol_parms', 2) # the advanced list of parameters will be available def _set_default_motion_camera(camera_id, data): -- 2.39.5