summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--camera_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/camera_utils.py b/camera_utils.py
index c2bd04d..63ab7f8 100644
--- a/camera_utils.py
+++ b/camera_utils.py
@@ -174,6 +174,8 @@ def _fetch_camera_image(camera_name: str, *, width: int = 256, quality: int = 70
"""Fetch a webcam image given the camera name."""
logger.debug("Trying to fetch camera image from video server")
+ if camera_name == 'frontdoor':
+ camera_name = 'front_door'
raw = fetch_camera_image_from_video_server(camera_name, width=width, quality=quality)
if raw is None:
logger.debug("Reading from video server failed; trying direct RTSP stream")