Adjusted illuminance thresholds once again
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dreaded_X 2022-11-25 23:24:44 +01:00
parent 10351018c0
commit 8e0cc2140f
Signed by: Dreaded_X
GPG Key ID: 76BDEC4E165D8AD9
2 changed files with 1157 additions and 3 deletions

1153
data.csv Normal file

File diff suppressed because it is too large Load Diff

View File

@ -32,9 +32,10 @@ func NewLightSensor(info Info, client paho.Client) *lightSensor {
l := &lightSensor{info: info}
// 1: 15 000 - 16 000 (Turns on to late)
// 2: 22 000 - 30 000
l.minValue = 22000
l.maxValue = 30000
// 2: 22 000 - 30 000 (About 5-10 mins late)
// 3: 23 000 - 30 000
l.minValue = 23000
l.maxValue = 25000
l.timeout = 5 * time.Minute
l.timer = time.NewTimer(l.timeout)