|
|
@ -9,13 +9,13 @@ local m, s, o
|
|
|
|
m = taskd.docker_map("frigate", "Frigate NVR", "/usr/libexec/apps/frigate/frigate.sh",
|
|
|
|
m = taskd.docker_map("frigate", "Frigate NVR", "/usr/libexec/apps/frigate/frigate.sh",
|
|
|
|
translate("Frigate"),
|
|
|
|
translate("Frigate"),
|
|
|
|
translate("Frigate is an open-source NVR built around real-time AI object detection. All processing is performed locally on your own hardware.")
|
|
|
|
translate("Frigate is an open-source NVR built around real-time AI object detection. All processing is performed locally on your own hardware.")
|
|
|
|
.. translate("Official website:") .. ' <a href=\"https://frigate.video/\" target=\"_blank\">https://frigate.video/</a>')
|
|
|
|
.. "<br/>".. translate("Official website:") .. ' <a href=\"https://frigate.video/\" target=\"_blank\">https://frigate.video/</a>')
|
|
|
|
|
|
|
|
|
|
|
|
s = m:section(SimpleSection, translate("Service Status"), translate("frigate status:"))
|
|
|
|
s = m:section(SimpleSection, translate("Container Status"))
|
|
|
|
s:append(Template("frigate/status"))
|
|
|
|
s:append(Template("frigate/status"))
|
|
|
|
|
|
|
|
|
|
|
|
-- General Frigate Docker setup
|
|
|
|
-- General Frigate Docker setup
|
|
|
|
s = m:section(TypedSection, "frigate_config", "Docker Configuration", "General settings for Docker")
|
|
|
|
s = m:section(NamedSection, "docker", "frigate_config", "Docker Configuration")
|
|
|
|
s.addremove = false
|
|
|
|
s.addremove = false
|
|
|
|
s.anonymous = true
|
|
|
|
s.anonymous = true
|
|
|
|
|
|
|
|
|
|
|
@ -35,7 +35,7 @@ o = s:option(Value, "storage", "Storage Path")
|
|
|
|
o.default = "./frigate/storage"
|
|
|
|
o.default = "./frigate/storage"
|
|
|
|
|
|
|
|
|
|
|
|
-- MQTT Configuration
|
|
|
|
-- MQTT Configuration
|
|
|
|
s = m:section(TypedSection, "frigate_config", "MQTT Configuration", "Settings for MQTT")
|
|
|
|
s = m:section(NamedSection, "mqtt", "frigate_config", "MQTT Configuration")
|
|
|
|
s.addremove = false
|
|
|
|
s.addremove = false
|
|
|
|
s.anonymous = true
|
|
|
|
s.anonymous = true
|
|
|
|
|
|
|
|
|
|
|
@ -46,7 +46,7 @@ o = s:option(Value, "host", "MQTT Host")
|
|
|
|
o.default = "mqtt.server.com"
|
|
|
|
o.default = "mqtt.server.com"
|
|
|
|
|
|
|
|
|
|
|
|
-- Detectors Configuration
|
|
|
|
-- Detectors Configuration
|
|
|
|
s = m:section(TypedSection, "frigate_config", "Detectors Configuration", "Settings for Detectors")
|
|
|
|
s = m:section(NamedSection, "detectors", "frigate_config", "TPU Configuration")
|
|
|
|
s.addremove = false
|
|
|
|
s.addremove = false
|
|
|
|
s.anonymous = true
|
|
|
|
s.anonymous = true
|
|
|
|
|
|
|
|
|
|
|
@ -60,7 +60,7 @@ o = s:option(Value, "device", "Device")
|
|
|
|
o.default = "usb"
|
|
|
|
o.default = "usb"
|
|
|
|
|
|
|
|
|
|
|
|
-- Camera Configuration
|
|
|
|
-- Camera Configuration
|
|
|
|
s = m:section(TypedSection, "camera_config", "Camera Configuration", "Settings for Cameras")
|
|
|
|
s = m:section(TypedSection, "camera_config", "Camera Configuration")
|
|
|
|
s.addremove = true
|
|
|
|
s.addremove = true
|
|
|
|
s.anonymous = true
|
|
|
|
s.anonymous = true
|
|
|
|
s.novaluetext = "There are no cameras configured yet."
|
|
|
|
s.novaluetext = "There are no cameras configured yet."
|
|
|
|