Update majestic-streamer.md, update options

pull/311/merge
Signor Pellegrino 2024-01-24 16:34:16 +03:00 committed by GitHub
parent b0c48b24f9
commit b8f3852de5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 0 deletions

View File

@ -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...