diff --git a/motioneye/config.json b/motioneye/config.json index b4f84bd..0716f60 100755 --- a/motioneye/config.json +++ b/motioneye/config.json @@ -29,7 +29,7 @@ ], "options": { "log_level": "info", - "motion_api": false, + "motion_webcontrol": false, "port": 8765, "ssl": true, "certfile": "fullchain.pem", @@ -38,7 +38,7 @@ }, "schema": { "log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)", - "motion_api": "bool", + "motion_webcontrol": "bool", "port": "port", "ssl": "bool", "certfile": "str", diff --git a/motioneye/rootfs/etc/cont-init.d/31-motion.sh b/motioneye/rootfs/etc/cont-init.d/31-motion.sh index c9a6381..804fa13 100644 --- a/motioneye/rootfs/etc/cont-init.d/31-motion.sh +++ b/motioneye/rootfs/etc/cont-init.d/31-motion.sh @@ -8,7 +8,7 @@ source /usr/lib/hassio-addons/base.sh readonly motion='/data/motioneye/motion.conf' -if hass.config.true 'motion_api'; then +if hass.config.true 'motion_webcontrol'; then hass.log.info "Enabling motion webcontrol" sed -i "s/webcontrol_localhost on/webcontrol_localhost off/" "$motion" else