Meaning of variables in config file

Created by Dominik Brämer
Keywords:
config file
Last updated by:
Dominik Brämer

lowerLimit/upperLimit/minIncrease/maxIncrease:
The lowerLimit defines the shortest time in milliseconds between the camera activations to check the ambient light conditions. This value will be increased over time with the value of maxIncrease if the light conditions are stable. This will be go on until it reaches the upperLimit.
If there is a change in the ambient light condition Yawls will fall back to the lowerLimit for a short time and jumps back to the value where it came from if the light conditions are stable.
Yawls will also increase the lowerLimit if your Notebook battery falls under 30% to be more battery friendly.

Default values:
lowerLimit: 500
upperLimit: 30000
minIncrease: 100
maxIncrease: 500

faceDetect:
If set to true Yawls tries to detect if someone is or is not in front of the Notebook. If Yawls does not detect any faces with the camera the screen will be dimmed to save battery (here Yawls fall back to the lowerLimit and use the minIncrease like described above). If Yawls detect a face or you came back to your Notebook the screen wakes up and Yawls works like normal.

Default: false

darkeningThreshold:
This variable controls the darkening threshold. Here an example which is also included in the config file a value of 10 means that the current brightness has to be less than 75% of the last measured ambient brightness. Only values between 0 and 100 are allowed.

Default: 50

brighteningThreshold:
This variable controls the brightening threshold. Here an example which is also included in the config file a value of 10 means that the current brightness has to be greater than 110 percent of the last measured brightness.

Default: 25

logLevel:
The logLevel defines how detailed the log is: 0 (error) < 1 (warning) < 2 (info) < 3 (debug).

Default: 1