set wce-0001 to store all records for 48 hours

This commit is contained in:
TheWanderingCrow 2025-10-18 09:53:11 -04:00
parent 8224dc17c1
commit 4e4489aa20

View file

@ -42,12 +42,12 @@ in
wce-0003_sub = [
"rtsp://thingino:thingino@192.168.150.3:554/ch1"
];
wce-0004 = [
"rtsp://192.168.0.210:554/media/live/1/1"
];
wce-0004_sub = [
"rtsp://192.168.0.210:554/media/live/1/2"
];
#wce-0004 = [
# "rtsp://192.168.0.210:554/media/live/1/1"
# ];
# wce-0004_sub = [
# "rtsp://192.168.0.210:554/media/live/1/2"
# ];
};
};
#############
@ -112,6 +112,12 @@ in
];
};
detect.enabled = true;
record = {
retain = {
days = 2;
mode = "all";
};
};
review = {
alerts.labels = [];
detections.labels = [
@ -164,24 +170,24 @@ in
};
detect.enabled = true;
};
wce-0004 = {
ffmpeg = {
inputs = [
{
path = "rtsp://127.0.0.1:8554/wce-0004";
roles = ["record"];
}
{
path = "rtsp://127.0.0.1:8554/wce-0004_sub";
roles = ["detect"];
}
];
};
motion = {
enabled = true;
};
detect.enabled = true;
};
# wce-0004 = {
# ffmpeg = {
# inputs = [
# {
# path = "rtsp://127.0.0.1:8554/wce-0004";
# roles = ["record"];
# }
# {
# path = "rtsp://127.0.0.1:8554/wce-0004_sub";
# roles = ["detect"];
# }
# ];
# };
# motion = {
# enabled = true;
# };
# detect.enabled = true;
# };
};
});
in {