From b8f3852de504f4ca3f69254365f7fc7ff41cc3cc Mon Sep 17 00:00:00 2001 From: Signor Pellegrino <68112357+FlyRouter@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:34:16 +0300 Subject: [PATCH] Update majestic-streamer.md, update options --- en/majestic-streamer.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/en/majestic-streamer.md b/en/majestic-streamer.md index a6ecbc9..83ef1e1 100644 --- a/en/majestic-streamer.md +++ b/en/majestic-streamer.md @@ -53,6 +53,19 @@ cli -s .video0.codec h264 ; cli -s .video0.fps 10 ; killall -HUP majestic ### Auto day/night detection +If the light sensor gpio is set, it will use the default mode. + +The settings work like this: +```day < [minThreshold] | hysteresis | [maxThreshold] < night``` + +If the sensor gain is 1024 on a bright day the minThreshold could be set to 2000, +if the sensor gain is 32000 on a dark night the maxThreshold could be set to 10000. + +``` +cli -s .nightMode.minThreshold 10 +cli -s .nightMode.maxThreshold 50 +``` + The experiments continue...