This document explains all available configuration options for Smart Brightness.
- Default:
"realtime" - Options:
"realtime": Continuously adjusts brightness."interval": Runs foractive_seconds, then sleeps forpause_seconds."boot": Runs once foractive_seconds, then exits.
- Type: Float
- Default:
300.0(5 minutes) - Description: Time to remain active in
bootorintervalmodes.
- Type: Float
- Default:
60.0(1 minute) - Description: Time to sleep between checks in
intervalmode.
- Type: Integer
- Default:
0 - Description: Index of the camera device (0 is usually the built-in webcam).
- Type: Array
[width, height] - Default:
[640, 480] - Description: Resolution for light sensing. Higher = more accurate but more CPU.
- Type: Integer
- Default:
30 - Description: Frames to discard while the camera auto-adjusts its exposure.
- Type: Boolean
- Default:
true - Description: Processes every other pixel to save CPU. Recommended for low-power devices.
- Type: String (optional)
- Description: Manual override for the backlight device (e.g.,
"intel_backlight").
- Type: Integer
- Description: Lowest hardware brightness level (set during calibration).
- Type: Integer
- Description: Highest hardware brightness level (set during calibration).
- Type: Float (0.01 - 1.0)
- Default:
0.15 - Description: Controls how quickly the screen reacts. Lower is smoother; higher is faster.
- Type: Integer (ms)
- Default:
150 - Description: Milliseconds between light samples.
- Type: Float
- Description: Calibrated ambient light floor and ceiling.
- Type: Float
- Default:
0.01 - Description: Sensitivity threshold. Changes smaller than this are ignored to prevent flickering.
- Type: Float (0.0 - 1.0)
- Default:
0.07 - Description: Subtracts a portion of screen brightness from the sensor reading to prevent face-reflection loops in dim rooms.
- Type: Integer (ms)
- Default:
20 - Description: Frequency of brightness increments.
- Type: Integer
- Default:
10 - Description: Controls movement speed. Higher is faster; lower is smoother.
- Type: Integer
- Default:
100 - Description: Maximum brightness jump allowed per step.
- Type: Boolean
- Default:
true - Description: Enables time-based brightness multipliers.
- Type: Float
- Default:
1.05/0.95 - Description: Brightness adjustment factor for day and night.
- Type: Integer (0-23)
- Default:
6/18 - Description: Hours when day/night modes begin.
- Default:
"low" - Options:
"off","minimal","low","medium","high","verbose"
- Type: Integer (seconds)
- Default:
5 - Description: Frequency of status updates in the log.
- Type: Boolean
- Default:
true - Description: Only log status if the brightness actually changes.