mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
Reset motion to false on startup
This commit is contained in:
parent
3246fcce22
commit
061fb15a80
@ -314,6 +314,11 @@ def create_mqtt_client(config: FrigateConfig, camera_metrics):
|
||||
config.cameras[name].motion.contour_area,
|
||||
retain=True,
|
||||
)
|
||||
client.publish(
|
||||
f"{mqtt_config.topic_prefix}/{name}/motion",
|
||||
"OFF",
|
||||
retain=False,
|
||||
)
|
||||
|
||||
return client
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user