enabled home

This commit is contained in:
Bryan Ramos 2026-03-14 18:17:59 -04:00
parent 163a62ece8
commit 50160384aa

View file

@ -21,11 +21,13 @@ in
webrtc.listen = ":8555"; webrtc.listen = ":8555";
streams = { streams = {
#doorbell = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=0"; #doorbell = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=0";
#doorbell_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=1";
living_room = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=1&subtype=0"; living_room = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=1&subtype=0";
living_room_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=1&subtype=1";
kitchen = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=2&subtype=0"; kitchen = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=2&subtype=0";
kitchen_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=2&subtype=1";
parking_lot = "rtsp://admin:ocu%3Fu3Su@192.168.1.194/cam/realmonitor?channel=1&subtype=0"; parking_lot = "rtsp://admin:ocu%3Fu3Su@192.168.1.194/cam/realmonitor?channel=1&subtype=0";
parking_lot_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.194/cam/realmonitor?channel=1&subtype=1"; parking_lot_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.194/cam/realmonitor?channel=1&subtype=1";
#porch = "rtsp://admin:ocu%3Fu3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=0";
}; };
}; };
}; };
@ -60,20 +62,40 @@ in
}]; }];
}; };
living_room = { living_room = {
enabled = false; enabled = true;
detect.enabled = false; detect = {
ffmpeg.inputs = [{ enabled = true;
path = "rtsp://127.0.0.1:8554/living_room"; width = 640;
roles = [ "record" ]; height = 480;
}]; };
ffmpeg.inputs = [
{
path = "rtsp://127.0.0.1:8554/living_room";
roles = [ "record" ];
}
{
path = "rtsp://127.0.0.1:8554/living_room_sub";
roles = [ "detect" ];
}
];
}; };
kitchen = { kitchen = {
enabled = false; enabled = true;
detect.enabled = false; detect = {
ffmpeg.inputs = [{ enabled = true;
path = "rtsp://127.0.0.1:8554/kitchen"; width = 640;
roles = [ "record" ]; height = 480;
}]; };
ffmpeg.inputs = [
{
path = "rtsp://127.0.0.1:8554/kitchen";
roles = [ "record" ];
}
{
path = "rtsp://127.0.0.1:8554/kitchen_sub";
roles = [ "detect" ];
}
];
}; };
parking_lot = { parking_lot = {
enabled = true; enabled = true;
@ -92,19 +114,6 @@ in
roles = [ "detect" ]; roles = [ "detect" ];
} }
]; ];
# Live view stream selector (dropdown in UI)
live.streams = {
"HD (HEVC)" = "parking_lot";
"SD (H.264)" = "parking_lot_sub";
};
};
porch = {
enabled = false;
detect.enabled = false;
ffmpeg.inputs = [{
path = "rtsp://127.0.0.1:8554/porch";
roles = [ "record" ];
}];
}; };
}; };
}; };