diff --git a/nixos/cameras/kitchen.nix b/nixos/cameras/kitchen.nix index 0d1776a3..5cb6803d 100644 --- a/nixos/cameras/kitchen.nix +++ b/nixos/cameras/kitchen.nix @@ -9,10 +9,10 @@ in { services.motion.cameras.kitchencam.settings = mapDefaults { videodevice = "/dev/kitchencam"; - v4l2_palette = 8; - width = 640; - height = 480; - framerate = 5; + video_params = "auto_brightness=2,palette=8"; # MJPG=8, YUYV=15 + width = 1280; + height = 720; + framerate = 2; camera_id = 1; text_left = "kitchen"; }; diff --git a/nixos/cameras/printer.nix b/nixos/cameras/printer.nix index e09553fa..31ff1e80 100644 --- a/nixos/cameras/printer.nix +++ b/nixos/cameras/printer.nix @@ -9,9 +9,10 @@ in { services.motion.cameras.printercam.settings = mapDefaults { videodevice = "/dev/printercam"; - width = 1280; - height = 720; - framerate = 5; + video_params = "auto_brightness=1,palette=8"; # MJPG=8, YUYV=15 + width = 1920; + height = 1080; + framerate = 2; camera_id = 2; text_left = ""; #text_right = "";