Closed Vertikar closed 2 days ago
Hey Aaron, the day to night sensor gain seemed to work, ok, but doesn't seem to have worked the other way. Either that or the sensor died overnight
Jul 4 07:05:13 allsky [WARNING] MainProcess-11701/Sensor-3 sensor.night_day_change() [154]: Day/Night change Jul 4 07:05:13 allsky [INFO] MainProcess-11701/Sensor-3 lightSensorTsl2591.update_sensor_settings() [58]: [B] Switching TSL2591 to day mode Jul 4 07:05:14 allsky [INFO] MainProcess-11701/Sensor-3 lightSensorTsl2591.update() [29]: [B] TSL2591 - lux: 0.4734, visible: 126159178, ir: 1925, full: 126161103 Jul 4 07:05:14 allsky [INFO] MainProcess-11701/Sensor-3 tempSensorMlx90614.update() [22]: [C] MLX90614 - ambient temp: -1.7c, object temp: -6.5c
Found it I think -
https://github.com/aaronwmorris/indi-allsky/blob/5292d054733a86fc37766ae893133eb7a88c385c/indi_allsky/devices/sensors/lightSensorTsl2591.py#L104
Should be GAIN_DAY not NIGHT
Yep, I just found the typo myself. Merged #1377 for the fix.
Hey Aaron, the day to night sensor gain seemed to work, ok, but doesn't seem to have worked the other way. Either that or the sensor died overnight
Relevant logs: