nixos/sfh: Start Home Assistant without the webcam
An absent webcam made the nspawn bind mount fail before Home Assistant could start. Give the container an always-present directory and bind the video device into it when it is available. Point go2rtc at the device in that directory.
This commit is contained in:
@@ -113,7 +113,7 @@ in
|
||||
"rtsp://admin:@reolink-living-room:554/h264Preview_01_main"
|
||||
];
|
||||
webcam_office = [
|
||||
"ffmpeg:device?video=/dev/video0&video_size=1024x576#video=h264"
|
||||
"ffmpeg:device?video=/dev/hass-webcam/video0&video_size=1024x576#video=h264"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user