aaronwmorris / indi-allsky

Software to manage a Linux-based All Sky Camera.
GNU General Public License v3.0
188 stars 31 forks source link

Request: Add offset to daytime disable dew_heater #1339

Closed keno242 closed 1 week ago

keno242 commented 1 week ago

I've implemented an ON/OFF relay for controlling my dew heater and have the indi-allsy 'Dew Heater - Standard' working - thanks for adding all this in, it's been timely for us down-under!

Is there a way I can add a delay/offset to the when daytime turn-off control of the dew-heater takes place as my dome temp drops very low before the sun has a chance to warm up the dome.

You'll see it stars at 9deg, then dips to 3.6deg with the dew_heater off and then get back up to 9deg after about 90mins. Daytime was triggered at 06:43am local time.

2024-06-21T06:43:03.292103+08:00 allsky [WARNING] MainProcess-7351/Sensor-1088 dewHeaterStandard.state() [53]: Set dew heater state: 0%

See below output from this morning as an example (ignore the BME values, my BME is currently inside my allsky enclosure) but the dome temp sensor (an analog TMP36) is accurate and located in my dome.

2024-06-21 06:38:24 - BME280 Temperature: 09.47°C, Pressure: 982.65hPa, Humidity: 65.32%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 09.78°C, Relay State: 1
2024-06-21 06:38:54 - BME280 Temperature: 09.47°C, Pressure: 982.65hPa, Humidity: 65.32%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 09.93°C, Relay State: 1
2024-06-21 06:39:25 - BME280 Temperature: 09.46°C, Pressure: 982.70hPa, Humidity: 65.25%, Dew Point: 02.51°C, Dome Temperature (avg 30s): 09.88°C, Relay State: 1
2024-06-21 06:39:55 - BME280 Temperature: 09.46°C, Pressure: 982.70hPa, Humidity: 65.25%, Dew Point: 02.51°C, Dome Temperature (avg 30s): 09.88°C, Relay State: 1
2024-06-21 06:40:25 - BME280 Temperature: 09.46°C, Pressure: 982.70hPa, Humidity: 65.15%, Dew Point: 02.49°C, Dome Temperature (avg 30s): 09.93°C, Relay State: 1
2024-06-21 06:40:55 - BME280 Temperature: 09.46°C, Pressure: 982.70hPa, Humidity: 65.15%, Dew Point: 02.49°C, Dome Temperature (avg 30s): 09.93°C, Relay State: 1
2024-06-21 06:41:25 - BME280 Temperature: 09.44°C, Pressure: 982.71hPa, Humidity: 65.27%, Dew Point: 02.50°C, Dome Temperature (avg 30s): 09.88°C, Relay State: 1
2024-06-21 06:41:55 - BME280 Temperature: 09.44°C, Pressure: 982.71hPa, Humidity: 65.27%, Dew Point: 02.50°C, Dome Temperature (avg 30s): 09.88°C, Relay State: 1
2024-06-21 06:42:25 - BME280 Temperature: 09.42°C, Pressure: 982.70hPa, Humidity: 65.08%, Dew Point: 02.44°C, Dome Temperature (avg 30s): 09.78°C, Relay State: 1
2024-06-21 06:42:55 - BME280 Temperature: 09.42°C, Pressure: 982.70hPa, Humidity: 65.08%, Dew Point: 02.44°C, Dome Temperature (avg 30s): 09.93°C, Relay State: 1
2024-06-21 06:43:25 - BME280 Temperature: 09.40°C, Pressure: 982.72hPa, Humidity: 65.18%, Dew Point: 02.44°C, Dome Temperature (avg 30s): 08.18°C, Relay State: 0
2024-06-21 06:43:56 - BME280 Temperature: 09.40°C, Pressure: 982.72hPa, Humidity: 65.18%, Dew Point: 02.44°C, Dome Temperature (avg 30s): 07.23°C, Relay State: 0
2024-06-21 06:44:26 - BME280 Temperature: 09.35°C, Pressure: 982.67hPa, Humidity: 65.17%, Dew Point: 02.39°C, Dome Temperature (avg 30s): 07.13°C, Relay State: 0
2024-06-21 06:44:56 - BME280 Temperature: 09.35°C, Pressure: 982.67hPa, Humidity: 65.17%, Dew Point: 02.39°C, Dome Temperature (avg 30s): 06.98°C, Relay State: 0
2024-06-21 06:45:26 - BME280 Temperature: 09.33°C, Pressure: 982.69hPa, Humidity: 65.38%, Dew Point: 02.40°C, Dome Temperature (avg 30s): 06.83°C, Relay State: 0
2024-06-21 06:45:56 - BME280 Temperature: 09.33°C, Pressure: 982.69hPa, Humidity: 65.38%, Dew Point: 02.40°C, Dome Temperature (avg 30s): 06.78°C, Relay State: 0
2024-06-21 06:46:26 - BME280 Temperature: 09.29°C, Pressure: 982.68hPa, Humidity: 65.57%, Dew Point: 02.40°C, Dome Temperature (avg 30s): 06.73°C, Relay State: 0
2024-06-21 06:46:56 - BME280 Temperature: 09.29°C, Pressure: 982.68hPa, Humidity: 65.57%, Dew Point: 02.40°C, Dome Temperature (avg 30s): 06.78°C, Relay State: 0
2024-06-21 06:47:26 - BME280 Temperature: 09.30°C, Pressure: 982.71hPa, Humidity: 65.92%, Dew Point: 02.48°C, Dome Temperature (avg 30s): 06.48°C, Relay State: 0
2024-06-21 06:47:56 - BME280 Temperature: 09.30°C, Pressure: 982.71hPa, Humidity: 65.92%, Dew Point: 02.48°C, Dome Temperature (avg 30s): 06.58°C, Relay State: 0
2024-06-21 06:48:27 - BME280 Temperature: 09.31°C, Pressure: 982.70hPa, Humidity: 66.09%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 06.63°C, Relay State: 0
2024-06-21 06:48:57 - BME280 Temperature: 09.31°C, Pressure: 982.70hPa, Humidity: 66.09%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 06.63°C, Relay State: 0
2024-06-21 06:49:27 - BME280 Temperature: 09.32°C, Pressure: 982.72hPa, Humidity: 66.11%, Dew Point: 02.54°C, Dome Temperature (avg 30s): 06.53°C, Relay State: 0
2024-06-21 06:49:57 - BME280 Temperature: 09.32°C, Pressure: 982.72hPa, Humidity: 66.11%, Dew Point: 02.54°C, Dome Temperature (avg 30s): 06.48°C, Relay State: 0
2024-06-21 06:50:27 - BME280 Temperature: 09.36°C, Pressure: 982.70hPa, Humidity: 65.98%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 06.18°C, Relay State: 0
2024-06-21 06:50:57 - BME280 Temperature: 09.36°C, Pressure: 982.70hPa, Humidity: 65.98%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 06.38°C, Relay State: 0
2024-06-21 06:51:27 - BME280 Temperature: 09.40°C, Pressure: 982.70hPa, Humidity: 65.65%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 06.18°C, Relay State: 0
2024-06-21 06:51:57 - BME280 Temperature: 09.40°C, Pressure: 982.70hPa, Humidity: 65.65%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 06.03°C, Relay State: 0
2024-06-21 06:52:27 - BME280 Temperature: 09.43°C, Pressure: 982.65hPa, Humidity: 65.75%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 06.08°C, Relay State: 0
2024-06-21 06:52:58 - BME280 Temperature: 09.43°C, Pressure: 982.65hPa, Humidity: 65.75%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 06.03°C, Relay State: 0
2024-06-21 06:53:28 - BME280 Temperature: 09.48°C, Pressure: 982.71hPa, Humidity: 65.33%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 05.93°C, Relay State: 0
2024-06-21 06:53:58 - BME280 Temperature: 09.48°C, Pressure: 982.71hPa, Humidity: 65.33%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 05.68°C, Relay State: 0
2024-06-21 06:54:28 - BME280 Temperature: 09.53°C, Pressure: 982.71hPa, Humidity: 65.29%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 05.68°C, Relay State: 0
2024-06-21 06:54:58 - BME280 Temperature: 09.53°C, Pressure: 982.71hPa, Humidity: 65.29%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 05.73°C, Relay State: 0
2024-06-21 06:55:28 - BME280 Temperature: 09.59°C, Pressure: 982.70hPa, Humidity: 64.95%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 05.53°C, Relay State: 0
2024-06-21 06:55:58 - BME280 Temperature: 09.59°C, Pressure: 982.70hPa, Humidity: 64.95%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 05.38°C, Relay State: 0
2024-06-21 06:56:28 - BME280 Temperature: 09.64°C, Pressure: 982.70hPa, Humidity: 64.75%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 05.33°C, Relay State: 0
2024-06-21 06:56:58 - BME280 Temperature: 09.64°C, Pressure: 982.70hPa, Humidity: 64.75%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 05.28°C, Relay State: 0
2024-06-21 06:57:29 - BME280 Temperature: 09.68°C, Pressure: 982.71hPa, Humidity: 64.54%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 05.33°C, Relay State: 0
2024-06-21 06:57:59 - BME280 Temperature: 09.68°C, Pressure: 982.71hPa, Humidity: 64.54%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 05.13°C, Relay State: 0
2024-06-21 06:58:29 - BME280 Temperature: 09.72°C, Pressure: 982.71hPa, Humidity: 64.30%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 05.08°C, Relay State: 0
2024-06-21 06:58:59 - BME280 Temperature: 09.72°C, Pressure: 982.71hPa, Humidity: 64.30%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 04.98°C, Relay State: 0
2024-06-21 06:59:29 - BME280 Temperature: 09.74°C, Pressure: 982.71hPa, Humidity: 64.19%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 04.93°C, Relay State: 0
2024-06-21 06:59:59 - BME280 Temperature: 09.74°C, Pressure: 982.71hPa, Humidity: 64.19%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 04.88°C, Relay State: 0
2024-06-21 07:00:29 - BME280 Temperature: 09.78°C, Pressure: 982.66hPa, Humidity: 63.81%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 04.88°C, Relay State: 0
2024-06-21 07:00:59 - BME280 Temperature: 09.78°C, Pressure: 982.66hPa, Humidity: 63.81%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 04.88°C, Relay State: 0
2024-06-21 07:01:29 - BME280 Temperature: 09.84°C, Pressure: 982.69hPa, Humidity: 63.66%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 04.68°C, Relay State: 0
2024-06-21 07:02:00 - BME280 Temperature: 09.84°C, Pressure: 982.69hPa, Humidity: 63.66%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 04.73°C, Relay State: 0
2024-06-21 07:02:30 - BME280 Temperature: 09.84°C, Pressure: 982.69hPa, Humidity: 63.62%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 04.63°C, Relay State: 0
2024-06-21 07:03:00 - BME280 Temperature: 09.84°C, Pressure: 982.69hPa, Humidity: 63.62%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 04.63°C, Relay State: 0
2024-06-21 07:03:30 - BME280 Temperature: 09.88°C, Pressure: 982.67hPa, Humidity: 63.44%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 04.58°C, Relay State: 0
2024-06-21 07:04:00 - BME280 Temperature: 09.88°C, Pressure: 982.67hPa, Humidity: 63.44%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 04.53°C, Relay State: 0
2024-06-21 07:04:30 - BME280 Temperature: 09.89°C, Pressure: 982.66hPa, Humidity: 63.32%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 04.58°C, Relay State: 0
2024-06-21 07:05:00 - BME280 Temperature: 09.89°C, Pressure: 982.66hPa, Humidity: 63.32%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 04.48°C, Relay State: 0
2024-06-21 07:05:30 - BME280 Temperature: 09.89°C, Pressure: 982.66hPa, Humidity: 63.20%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 04.33°C, Relay State: 0
2024-06-21 07:06:00 - BME280 Temperature: 09.89°C, Pressure: 982.66hPa, Humidity: 63.20%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 04.33°C, Relay State: 0
2024-06-21 07:06:31 - BME280 Temperature: 09.92°C, Pressure: 982.69hPa, Humidity: 63.02%, Dew Point: 02.52°C, Dome Temperature (avg 30s): 04.38°C, Relay State: 0
2024-06-21 07:07:01 - BME280 Temperature: 09.92°C, Pressure: 982.69hPa, Humidity: 63.02%, Dew Point: 02.52°C, Dome Temperature (avg 30s): 04.33°C, Relay State: 0
2024-06-21 07:07:31 - BME280 Temperature: 09.90°C, Pressure: 982.67hPa, Humidity: 63.25%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 04.33°C, Relay State: 0
2024-06-21 07:08:01 - BME280 Temperature: 09.90°C, Pressure: 982.67hPa, Humidity: 63.25%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 04.23°C, Relay State: 0
2024-06-21 07:08:31 - BME280 Temperature: 09.89°C, Pressure: 982.66hPa, Humidity: 63.34%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 04.13°C, Relay State: 0
2024-06-21 07:09:01 - BME280 Temperature: 09.89°C, Pressure: 982.66hPa, Humidity: 63.34%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 04.18°C, Relay State: 0
2024-06-21 07:09:31 - BME280 Temperature: 09.91°C, Pressure: 982.67hPa, Humidity: 63.19%, Dew Point: 02.54°C, Dome Temperature (avg 30s): 04.18°C, Relay State: 0
2024-06-21 07:10:01 - BME280 Temperature: 09.91°C, Pressure: 982.67hPa, Humidity: 63.19%, Dew Point: 02.54°C, Dome Temperature (avg 30s): 04.28°C, Relay State: 0
2024-06-21 07:10:31 - BME280 Temperature: 09.90°C, Pressure: 982.69hPa, Humidity: 63.35%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 04.18°C, Relay State: 0
2024-06-21 07:11:02 - BME280 Temperature: 09.90°C, Pressure: 982.69hPa, Humidity: 63.35%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 04.13°C, Relay State: 0
2024-06-21 07:11:32 - BME280 Temperature: 09.90°C, Pressure: 982.68hPa, Humidity: 63.47%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 04.18°C, Relay State: 0
2024-06-21 07:12:02 - BME280 Temperature: 09.90°C, Pressure: 982.68hPa, Humidity: 63.47%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 04.18°C, Relay State: 0
2024-06-21 07:12:32 - BME280 Temperature: 09.94°C, Pressure: 982.68hPa, Humidity: 63.14%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 04.13°C, Relay State: 0
2024-06-21 07:13:02 - BME280 Temperature: 09.94°C, Pressure: 982.68hPa, Humidity: 63.14%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 04.08°C, Relay State: 0
2024-06-21 07:13:32 - BME280 Temperature: 09.97°C, Pressure: 982.65hPa, Humidity: 63.12%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 04.23°C, Relay State: 0
2024-06-21 07:14:02 - BME280 Temperature: 09.97°C, Pressure: 982.65hPa, Humidity: 63.12%, Dew Point: 02.59°C, Dome Temperature (avg 30s): 04.08°C, Relay State: 0
2024-06-21 07:14:32 - BME280 Temperature: 09.97°C, Pressure: 982.64hPa, Humidity: 62.99%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 04.08°C, Relay State: 0
2024-06-21 07:15:03 - BME280 Temperature: 09.97°C, Pressure: 982.64hPa, Humidity: 62.99%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 03.93°C, Relay State: 0
2024-06-21 07:15:33 - BME280 Temperature: 09.99°C, Pressure: 982.64hPa, Humidity: 62.96%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 03.88°C, Relay State: 0
2024-06-21 07:16:03 - BME280 Temperature: 09.99°C, Pressure: 982.64hPa, Humidity: 62.96%, Dew Point: 02.58°C, Dome Temperature (avg 30s): 03.98°C, Relay State: 0
2024-06-21 07:16:33 - BME280 Temperature: 09.96°C, Pressure: 982.65hPa, Humidity: 62.95%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 03.93°C, Relay State: 0
2024-06-21 07:17:03 - BME280 Temperature: 09.96°C, Pressure: 982.65hPa, Humidity: 62.95%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 03.93°C, Relay State: 0
2024-06-21 07:17:33 - BME280 Temperature: 09.99°C, Pressure: 982.67hPa, Humidity: 62.86%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 03.93°C, Relay State: 0
2024-06-21 07:18:03 - BME280 Temperature: 09.99°C, Pressure: 982.67hPa, Humidity: 62.86%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 03.83°C, Relay State: 0
2024-06-21 07:18:33 - BME280 Temperature: 09.97°C, Pressure: 982.68hPa, Humidity: 62.89%, Dew Point: 02.54°C, Dome Temperature (avg 30s): 03.78°C, Relay State: 0
2024-06-21 07:19:03 - BME280 Temperature: 09.97°C, Pressure: 982.68hPa, Humidity: 62.89%, Dew Point: 02.54°C, Dome Temperature (avg 30s): 03.78°C, Relay State: 0
2024-06-21 07:19:34 - BME280 Temperature: 09.98°C, Pressure: 982.71hPa, Humidity: 62.97%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 03.93°C, Relay State: 0
2024-06-21 07:20:04 - BME280 Temperature: 09.98°C, Pressure: 982.71hPa, Humidity: 62.97%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 03.73°C, Relay State: 0
2024-06-21 07:20:34 - BME280 Temperature: 09.96°C, Pressure: 982.67hPa, Humidity: 62.86%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 03.83°C, Relay State: 0
2024-06-21 07:21:04 - BME280 Temperature: 09.96°C, Pressure: 982.67hPa, Humidity: 62.86%, Dew Point: 02.53°C, Dome Temperature (avg 30s): 03.73°C, Relay State: 0
2024-06-21 07:21:34 - BME280 Temperature: 09.96°C, Pressure: 982.74hPa, Humidity: 63.01%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 03.78°C, Relay State: 0
2024-06-21 07:22:04 - BME280 Temperature: 09.96°C, Pressure: 982.74hPa, Humidity: 63.01%, Dew Point: 02.56°C, Dome Temperature (avg 30s): 03.73°C, Relay State: 0
2024-06-21 07:22:34 - BME280 Temperature: 09.93°C, Pressure: 982.70hPa, Humidity: 63.11%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 03.68°C, Relay State: 0
2024-06-21 07:23:04 - BME280 Temperature: 09.93°C, Pressure: 982.70hPa, Humidity: 63.11%, Dew Point: 02.55°C, Dome Temperature (avg 30s): 03.73°C, Relay State: 0
2024-06-21 07:23:34 - BME280 Temperature: 09.92°C, Pressure: 982.69hPa, Humidity: 63.29%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 03.68°C, Relay State: 0
2024-06-21 07:24:05 - BME280 Temperature: 09.92°C, Pressure: 982.69hPa, Humidity: 63.29%, Dew Point: 02.57°C, Dome Temperature (avg 30s): 03.63°C, Relay State: 0
2024-06-21 07:24:35 - BME280 Temperature: 09.90°C, Pressure: 982.71hPa, Humidity: 63.56%, Dew Point: 02.61°C, Dome Temperature (avg 30s): 03.73°C, Relay State: 0
2024-06-21 07:25:05 - BME280 Temperature: 09.90°C, Pressure: 982.71hPa, Humidity: 63.56%, Dew Point: 02.61°C, Dome Temperature (avg 30s): 03.73°C, Relay State: 0
2024-06-21 07:25:35 - BME280 Temperature: 09.91°C, Pressure: 982.72hPa, Humidity: 63.69%, Dew Point: 02.65°C, Dome Temperature (avg 30s): 03.68°C, Relay State: 0
2024-06-21 07:26:05 - BME280 Temperature: 09.91°C, Pressure: 982.72hPa, Humidity: 63.69%, Dew Point: 02.65°C, Dome Temperature (avg 30s): 03.68°C, Relay State: 0
2024-06-21 07:26:35 - BME280 Temperature: 09.89°C, Pressure: 982.66hPa, Humidity: 64.02%, Dew Point: 02.69°C, Dome Temperature (avg 30s): 03.68°C, Relay State: 0
2024-06-21 07:27:05 - BME280 Temperature: 09.89°C, Pressure: 982.66hPa, Humidity: 64.02%, Dew Point: 02.69°C, Dome Temperature (avg 30s): 03.63°C, Relay State: 0
2024-06-21 07:27:35 - BME280 Temperature: 09.90°C, Pressure: 982.71hPa, Humidity: 64.20%, Dew Point: 02.74°C, Dome Temperature (avg 30s): 03.73°C, Relay State: 0
2024-06-21 07:28:05 - BME280 Temperature: 09.90°C, Pressure: 982.71hPa, Humidity: 64.20%, Dew Point: 02.74°C, Dome Temperature (avg 30s): 03.98°C, Relay State: 0
2024-06-21 07:28:36 - BME280 Temperature: 09.95°C, Pressure: 982.68hPa, Humidity: 64.14%, Dew Point: 02.77°C, Dome Temperature (avg 30s): 04.08°C, Relay State: 0
2024-06-21 07:29:06 - BME280 Temperature: 09.95°C, Pressure: 982.68hPa, Humidity: 64.14%, Dew Point: 02.77°C, Dome Temperature (avg 30s): 04.58°C, Relay State: 0
2024-06-21 07:29:36 - BME280 Temperature: 10.03°C, Pressure: 982.68hPa, Humidity: 64.28%, Dew Point: 02.89°C, Dome Temperature (avg 30s): 04.83°C, Relay State: 0
2024-06-21 07:30:06 - BME280 Temperature: 10.03°C, Pressure: 982.68hPa, Humidity: 64.28%, Dew Point: 02.89°C, Dome Temperature (avg 30s): 05.18°C, Relay State: 0
2024-06-21 07:30:36 - BME280 Temperature: 10.12°C, Pressure: 982.66hPa, Humidity: 64.36%, Dew Point: 02.99°C, Dome Temperature (avg 30s): 05.23°C, Relay State: 0
2024-06-21 07:31:06 - BME280 Temperature: 10.12°C, Pressure: 982.66hPa, Humidity: 64.36%, Dew Point: 02.99°C, Dome Temperature (avg 30s): 05.23°C, Relay State: 0
2024-06-21 07:31:36 - BME280 Temperature: 10.19°C, Pressure: 982.63hPa, Humidity: 64.01%, Dew Point: 02.99°C, Dome Temperature (avg 30s): 05.38°C, Relay State: 0
2024-06-21 07:32:06 - BME280 Temperature: 10.19°C, Pressure: 982.63hPa, Humidity: 64.01%, Dew Point: 02.99°C, Dome Temperature (avg 30s): 05.33°C, Relay State: 0
2024-06-21 07:32:36 - BME280 Temperature: 10.25°C, Pressure: 982.59hPa, Humidity: 63.79%, Dew Point: 03.01°C, Dome Temperature (avg 30s): 05.13°C, Relay State: 0
2024-06-21 07:33:07 - BME280 Temperature: 10.25°C, Pressure: 982.59hPa, Humidity: 63.79%, Dew Point: 03.01°C, Dome Temperature (avg 30s): 05.13°C, Relay State: 0
2024-06-21 07:33:37 - BME280 Temperature: 10.31°C, Pressure: 982.65hPa, Humidity: 63.34%, Dew Point: 02.98°C, Dome Temperature (avg 30s): 05.03°C, Relay State: 0
2024-06-21 07:34:07 - BME280 Temperature: 10.31°C, Pressure: 982.65hPa, Humidity: 63.34%, Dew Point: 02.98°C, Dome Temperature (avg 30s): 04.88°C, Relay State: 0
2024-06-21 07:34:37 - BME280 Temperature: 10.35°C, Pressure: 982.67hPa, Humidity: 62.99%, Dew Point: 02.95°C, Dome Temperature (avg 30s): 04.83°C, Relay State: 0
2024-06-21 07:35:07 - BME280 Temperature: 10.35°C, Pressure: 982.67hPa, Humidity: 62.99%, Dew Point: 02.95°C, Dome Temperature (avg 30s): 04.88°C, Relay State: 0
2024-06-21 07:35:37 - BME280 Temperature: 10.37°C, Pressure: 982.71hPa, Humidity: 62.71%, Dew Point: 02.91°C, Dome Temperature (avg 30s): 04.78°C, Relay State: 0
2024-06-21 07:36:07 - BME280 Temperature: 10.37°C, Pressure: 982.71hPa, Humidity: 62.71%, Dew Point: 02.91°C, Dome Temperature (avg 30s): 04.68°C, Relay State: 0
2024-06-21 07:36:37 - BME280 Temperature: 10.36°C, Pressure: 982.68hPa, Humidity: 62.51%, Dew Point: 02.87°C, Dome Temperature (avg 30s): 04.53°C, Relay State: 0
2024-06-21 07:37:07 - BME280 Temperature: 10.36°C, Pressure: 982.68hPa, Humidity: 62.51%, Dew Point: 02.87°C, Dome Temperature (avg 30s): 04.53°C, Relay State: 0
2024-06-21 07:37:37 - BME280 Temperature: 10.35°C, Pressure: 982.68hPa, Humidity: 62.36%, Dew Point: 02.82°C, Dome Temperature (avg 30s): 04.48°C, Relay State: 0
2024-06-21 07:38:08 - BME280 Temperature: 10.35°C, Pressure: 982.68hPa, Humidity: 62.36%, Dew Point: 02.82°C, Dome Temperature (avg 30s): 04.58°C, Relay State: 0
2024-06-21 07:38:38 - BME280 Temperature: 10.29°C, Pressure: 982.67hPa, Humidity: 62.74%, Dew Point: 02.84°C, Dome Temperature (avg 30s): 04.58°C, Relay State: 0
2024-06-21 07:39:08 - BME280 Temperature: 10.29°C, Pressure: 982.67hPa, Humidity: 62.74%, Dew Point: 02.84°C, Dome Temperature (avg 30s): 04.83°C, Relay State: 0
2024-06-21 07:39:38 - BME280 Temperature: 10.28°C, Pressure: 982.65hPa, Humidity: 62.77%, Dew Point: 02.83°C, Dome Temperature (avg 30s): 04.73°C, Relay State: 0
2024-06-21 07:40:08 - BME280 Temperature: 10.28°C, Pressure: 982.65hPa, Humidity: 62.77%, Dew Point: 02.83°C, Dome Temperature (avg 30s): 04.73°C, Relay State: 0
2024-06-21 07:40:38 - BME280 Temperature: 10.26°C, Pressure: 982.57hPa, Humidity: 62.95%, Dew Point: 02.85°C, Dome Temperature (avg 30s): 04.78°C, Relay State: 0
2024-06-21 07:41:08 - BME280 Temperature: 10.26°C, Pressure: 982.57hPa, Humidity: 62.95%, Dew Point: 02.85°C, Dome Temperature (avg 30s): 04.68°C, Relay State: 0
2024-06-21 07:41:38 - BME280 Temperature: 10.23°C, Pressure: 982.59hPa, Humidity: 63.23%, Dew Point: 02.87°C, Dome Temperature (avg 30s): 04.78°C, Relay State: 0
2024-06-21 07:42:08 - BME280 Temperature: 10.23°C, Pressure: 982.59hPa, Humidity: 63.23%, Dew Point: 02.87°C, Dome Temperature (avg 30s): 04.83°C, Relay State: 0
2024-06-21 07:42:39 - BME280 Temperature: 10.18°C, Pressure: 982.52hPa, Humidity: 63.36%, Dew Point: 02.86°C, Dome Temperature (avg 30s): 04.93°C, Relay State: 0
2024-06-21 07:43:09 - BME280 Temperature: 10.18°C, Pressure: 982.52hPa, Humidity: 63.36%, Dew Point: 02.86°C, Dome Temperature (avg 30s): 04.93°C, Relay State: 0
2024-06-21 07:43:39 - BME280 Temperature: 10.19°C, Pressure: 982.53hPa, Humidity: 63.55%, Dew Point: 02.90°C, Dome Temperature (avg 30s): 04.98°C, Relay State: 0
2024-06-21 07:44:09 - BME280 Temperature: 10.19°C, Pressure: 982.53hPa, Humidity: 63.55%, Dew Point: 02.90°C, Dome Temperature (avg 30s): 04.93°C, Relay State: 0
2024-06-21 07:44:39 - BME280 Temperature: 10.16°C, Pressure: 982.54hPa, Humidity: 63.79%, Dew Point: 02.92°C, Dome Temperature (avg 30s): 05.03°C, Relay State: 0
2024-06-21 07:45:09 - BME280 Temperature: 10.16°C, Pressure: 982.54hPa, Humidity: 63.79%, Dew Point: 02.92°C, Dome Temperature (avg 30s): 04.88°C, Relay State: 0
2024-06-21 07:45:39 - BME280 Temperature: 10.16°C, Pressure: 982.61hPa, Humidity: 63.76%, Dew Point: 02.91°C, Dome Temperature (avg 30s): 04.88°C, Relay State: 0
2024-06-21 07:46:09 - BME280 Temperature: 10.16°C, Pressure: 982.61hPa, Humidity: 63.76%, Dew Point: 02.91°C, Dome Temperature (avg 30s): 04.73°C, Relay State: 0
2024-06-21 07:46:39 - BME280 Temperature: 10.15°C, Pressure: 982.53hPa, Humidity: 63.92%, Dew Point: 02.93°C, Dome Temperature (avg 30s): 04.93°C, Relay State: 0
2024-06-21 07:47:10 - BME280 Temperature: 10.15°C, Pressure: 982.53hPa, Humidity: 63.92%, Dew Point: 02.93°C, Dome Temperature (avg 30s): 05.13°C, Relay State: 0
2024-06-21 07:47:40 - BME280 Temperature: 10.12°C, Pressure: 982.52hPa, Humidity: 64.02%, Dew Point: 02.93°C, Dome Temperature (avg 30s): 05.48°C, Relay State: 0
2024-06-21 07:48:10 - BME280 Temperature: 10.12°C, Pressure: 982.52hPa, Humidity: 64.02%, Dew Point: 02.93°C, Dome Temperature (avg 30s): 05.58°C, Relay State: 0
2024-06-21 07:48:40 - BME280 Temperature: 10.15°C, Pressure: 982.55hPa, Humidity: 64.06%, Dew Point: 02.96°C, Dome Temperature (avg 30s): 05.78°C, Relay State: 0
2024-06-21 07:49:10 - BME280 Temperature: 10.15°C, Pressure: 982.55hPa, Humidity: 64.06%, Dew Point: 02.96°C, Dome Temperature (avg 30s): 05.83°C, Relay State: 0
2024-06-21 07:49:40 - BME280 Temperature: 10.17°C, Pressure: 982.47hPa, Humidity: 64.22%, Dew Point: 03.02°C, Dome Temperature (avg 30s): 06.08°C, Relay State: 0
2024-06-21 07:50:10 - BME280 Temperature: 10.17°C, Pressure: 982.47hPa, Humidity: 64.22%, Dew Point: 03.02°C, Dome Temperature (avg 30s): 06.33°C, Relay State: 0
2024-06-21 07:50:40 - BME280 Temperature: 10.27°C, Pressure: 982.46hPa, Humidity: 64.50%, Dew Point: 03.17°C, Dome Temperature (avg 30s): 06.53°C, Relay State: 0
2024-06-21 07:51:10 - BME280 Temperature: 10.27°C, Pressure: 982.46hPa, Humidity: 64.50%, Dew Point: 03.17°C, Dome Temperature (avg 30s): 06.63°C, Relay State: 0
2024-06-21 07:51:40 - BME280 Temperature: 10.32°C, Pressure: 982.48hPa, Humidity: 64.23%, Dew Point: 03.17°C, Dome Temperature (avg 30s): 06.88°C, Relay State: 0
2024-06-21 07:52:11 - BME280 Temperature: 10.32°C, Pressure: 982.48hPa, Humidity: 64.23%, Dew Point: 03.17°C, Dome Temperature (avg 30s): 06.93°C, Relay State: 0
2024-06-21 07:52:41 - BME280 Temperature: 10.42°C, Pressure: 982.44hPa, Humidity: 63.96%, Dew Point: 03.21°C, Dome Temperature (avg 30s): 07.03°C, Relay State: 0
2024-06-21 07:53:11 - BME280 Temperature: 10.42°C, Pressure: 982.44hPa, Humidity: 63.96%, Dew Point: 03.21°C, Dome Temperature (avg 30s): 07.13°C, Relay State: 0
2024-06-21 07:53:41 - BME280 Temperature: 10.49°C, Pressure: 982.47hPa, Humidity: 63.36%, Dew Point: 03.16°C, Dome Temperature (avg 30s): 07.08°C, Relay State: 0
2024-06-21 07:54:11 - BME280 Temperature: 10.49°C, Pressure: 982.47hPa, Humidity: 63.36%, Dew Point: 03.16°C, Dome Temperature (avg 30s): 07.38°C, Relay State: 0
2024-06-21 07:54:41 - BME280 Temperature: 10.60°C, Pressure: 982.40hPa, Humidity: 62.99%, Dew Point: 03.20°C, Dome Temperature (avg 30s): 07.28°C, Relay State: 0
2024-06-21 07:55:11 - BME280 Temperature: 10.60°C, Pressure: 982.40hPa, Humidity: 62.99%, Dew Point: 03.20°C, Dome Temperature (avg 30s): 07.48°C, Relay State: 0
2024-06-21 07:55:41 - BME280 Temperature: 10.70°C, Pressure: 982.45hPa, Humidity: 63.02%, Dew Point: 03.31°C, Dome Temperature (avg 30s): 07.58°C, Relay State: 0
2024-06-21 07:56:11 - BME280 Temperature: 10.70°C, Pressure: 982.45hPa, Humidity: 63.02%, Dew Point: 03.31°C, Dome Temperature (avg 30s): 07.63°C, Relay State: 0
2024-06-21 07:56:42 - BME280 Temperature: 10.82°C, Pressure: 982.37hPa, Humidity: 62.76%, Dew Point: 03.37°C, Dome Temperature (avg 30s): 07.63°C, Relay State: 0
2024-06-21 07:57:12 - BME280 Temperature: 10.82°C, Pressure: 982.37hPa, Humidity: 62.76%, Dew Point: 03.37°C, Dome Temperature (avg 30s): 07.88°C, Relay State: 0
2024-06-21 07:57:42 - BME280 Temperature: 10.93°C, Pressure: 982.39hPa, Humidity: 62.52%, Dew Point: 03.43°C, Dome Temperature (avg 30s): 07.83°C, Relay State: 0
2024-06-21 07:58:12 - BME280 Temperature: 10.93°C, Pressure: 982.39hPa, Humidity: 62.52%, Dew Point: 03.43°C, Dome Temperature (avg 30s): 07.83°C, Relay State: 0
2024-06-21 07:58:42 - BME280 Temperature: 11.01°C, Pressure: 982.31hPa, Humidity: 61.90%, Dew Point: 03.39°C, Dome Temperature (avg 30s): 07.93°C, Relay State: 0
2024-06-21 07:59:12 - BME280 Temperature: 11.01°C, Pressure: 982.31hPa, Humidity: 61.90%, Dew Point: 03.39°C, Dome Temperature (avg 30s): 08.13°C, Relay State: 0
2024-06-21 07:59:42 - BME280 Temperature: 11.13°C, Pressure: 982.32hPa, Humidity: 61.58%, Dew Point: 03.44°C, Dome Temperature (avg 30s): 08.03°C, Relay State: 0
2024-06-21 08:00:12 - BME280 Temperature: 11.13°C, Pressure: 982.32hPa, Humidity: 61.58%, Dew Point: 03.44°C, Dome Temperature (avg 30s): 08.13°C, Relay State: 0
2024-06-21 08:00:42 - BME280 Temperature: 11.22°C, Pressure: 982.38hPa, Humidity: 61.32%, Dew Point: 03.48°C, Dome Temperature (avg 30s): 08.23°C, Relay State: 0
2024-06-21 08:01:13 - BME280 Temperature: 11.22°C, Pressure: 982.38hPa, Humidity: 61.32%, Dew Point: 03.48°C, Dome Temperature (avg 30s): 08.38°C, Relay State: 0
2024-06-21 08:01:43 - BME280 Temperature: 11.32°C, Pressure: 982.45hPa, Humidity: 60.96%, Dew Point: 03.51°C, Dome Temperature (avg 30s): 08.48°C, Relay State: 0
2024-06-21 08:02:13 - BME280 Temperature: 11.32°C, Pressure: 982.45hPa, Humidity: 60.96%, Dew Point: 03.51°C, Dome Temperature (avg 30s): 08.58°C, Relay State: 0
2024-06-21 08:02:43 - BME280 Temperature: 11.42°C, Pressure: 982.48hPa, Humidity: 60.74%, Dew Point: 03.57°C, Dome Temperature (avg 30s): 08.78°C, Relay State: 0
2024-06-21 08:03:13 - BME280 Temperature: 11.42°C, Pressure: 982.48hPa, Humidity: 60.74%, Dew Point: 03.57°C, Dome Temperature (avg 30s): 08.83°C, Relay State: 0
2024-06-21 08:03:43 - BME280 Temperature: 11.52°C, Pressure: 982.47hPa, Humidity: 60.21%, Dew Point: 03.56°C, Dome Temperature (avg 30s): 08.83°C, Relay State: 0
2024-06-21 08:04:13 - BME280 Temperature: 11.52°C, Pressure: 982.47hPa, Humidity: 60.21%, Dew Point: 03.56°C, Dome Temperature (avg 30s): 08.98°C, Relay State: 0
2024-06-21 08:04:43 - BME280 Temperature: 11.61°C, Pressure: 982.58hPa, Humidity: 59.89%, Dew Point: 03.59°C, Dome Temperature (avg 30s): 09.08°C, Relay State: 0
2024-06-21 08:05:13 - BME280 Temperature: 11.61°C, Pressure: 982.58hPa, Humidity: 59.89%, Dew Point: 03.59°C, Dome Temperature (avg 30s): 09.38°C, Relay State: 0
2024-06-21 08:05:44 - BME280 Temperature: 11.70°C, Pressure: 982.56hPa, Humidity: 59.49%, Dew Point: 03.60°C, Dome Temperature (avg 30s): 09.28°C, Relay State: 0
2024-06-21 08:06:14 - BME280 Temperature: 11.70°C, Pressure: 982.56hPa, Humidity: 59.49%, Dew Point: 03.60°C, Dome Temperature (avg 30s): 09.33°C, Relay State: 0
2024-06-21 08:06:44 - BME280 Temperature: 11.81°C, Pressure: 982.61hPa, Humidity: 59.47%, Dew Point: 03.70°C, Dome Temperature (avg 30s): 09.53°C, Relay State: 0
2024-06-21 08:07:14 - BME280 Temperature: 11.81°C, Pressure: 982.61hPa, Humidity: 59.47%, Dew Point: 03.70°C, Dome Temperature (avg 30s): 09.68°C, Relay State: 0
2024-06-21 08:07:44 - BME280 Temperature: 11.91°C, Pressure: 982.66hPa, Humidity: 59.23%, Dew Point: 03.76°C, Dome Temperature (avg 30s): 09.73°C, Relay State: 0
2024-06-21 08:08:14 - BME280 Temperature: 11.91°C, Pressure: 982.66hPa, Humidity: 59.23%, Dew Point: 03.76°C, Dome Temperature (avg 30s): 09.78°C, Relay State: 0
2024-06-21 08:08:44 - BME280 Temperature: 12.00°C, Pressure: 982.63hPa, Humidity: 59.08%, Dew Point: 03.82°C, Dome Temperature (avg 30s): 10.03°C, Relay State: 0
2024-06-21 08:09:14 - BME280 Temperature: 12.00°C, Pressure: 982.63hPa, Humidity: 59.08%, Dew Point: 03.82°C, Dome Temperature (avg 30s): 10.08°C, Relay State: 0
2024-06-21 08:09:44 - BME280 Temperature: 12.11°C, Pressure: 982.70hPa, Humidity: 58.57%, Dew Point: 03.83°C, Dome Temperature (avg 30s): 10.08°C, Relay State: 0
2024-06-21 08:10:14 - BME280 Temperature: 12.11°C, Pressure: 982.70hPa, Humidity: 58.57%, Dew Point: 03.83°C, Dome Temperature (avg 30s): 10.23°C, Relay State: 0
2024-06-21 08:10:45 - BME280 Temperature: 12.21°C, Pressure: 982.72hPa, Humidity: 58.14%, Dew Point: 03.84°C, Dome Temperature (avg 30s): 10.23°C, Relay State: 0
2024-06-21 08:11:15 - BME280 Temperature: 12.21°C, Pressure: 982.72hPa, Humidity: 58.14%, Dew Point: 03.84°C, Dome Temperature (avg 30s): 10.38°C, Relay State: 0
2024-06-21 08:11:45 - BME280 Temperature: 12.30°C, Pressure: 982.79hPa, Humidity: 57.68%, Dew Point: 03.83°C, Dome Temperature (avg 30s): 10.43°C, Relay State: 0
2024-06-21 08:12:15 - BME280 Temperature: 12.30°C, Pressure: 982.79hPa, Humidity: 57.68%, Dew Point: 03.83°C, Dome Temperature (avg 30s): 10.53°C, Relay State: 0
2024-06-21 08:12:45 - BME280 Temperature: 12.38°C, Pressure: 982.77hPa, Humidity: 57.57%, Dew Point: 03.89°C, Dome Temperature (avg 30s): 10.53°C, Relay State: 0
2024-06-21 08:13:15 - BME280 Temperature: 12.38°C, Pressure: 982.77hPa, Humidity: 57.57%, Dew Point: 03.89°C, Dome Temperature (avg 30s): 10.48°C, Relay State: 0
2024-06-21 08:13:45 - BME280 Temperature: 12.47°C, Pressure: 982.75hPa, Humidity: 57.55%, Dew Point: 03.98°C, Dome Temperature (avg 30s): 10.38°C, Relay State: 0
2024-06-21 08:14:15 - BME280 Temperature: 12.47°C, Pressure: 982.75hPa, Humidity: 57.55%, Dew Point: 03.98°C, Dome Temperature (avg 30s): 10.28°C, Relay State: 0
2024-06-21 08:14:45 - BME280 Temperature: 12.54°C, Pressure: 982.80hPa, Humidity: 57.33%, Dew Point: 04.01°C, Dome Temperature (avg 30s): 10.23°C, Relay State: 0
2024-06-21 08:15:16 - BME280 Temperature: 12.54°C, Pressure: 982.80hPa, Humidity: 57.33%, Dew Point: 04.01°C, Dome Temperature (avg 30s): 10.13°C, Relay State: 0
2024-06-21 08:15:46 - BME280 Temperature: 12.59°C, Pressure: 982.78hPa, Humidity: 56.74%, Dew Point: 03.94°C, Dome Temperature (avg 30s): 09.98°C, Relay State: 0
2024-06-21 08:16:16 - BME280 Temperature: 12.59°C, Pressure: 982.78hPa, Humidity: 56.74%, Dew Point: 03.94°C, Dome Temperature (avg 30s): 09.93°C, Relay State: 0
2024-06-21 08:16:46 - BME280 Temperature: 12.61°C, Pressure: 982.79hPa, Humidity: 56.70%, Dew Point: 03.95°C, Dome Temperature (avg 30s): 09.48°C, Relay State: 0
2024-06-21 08:17:16 - BME280 Temperature: 12.61°C, Pressure: 982.79hPa, Humidity: 56.70%, Dew Point: 03.95°C, Dome Temperature (avg 30s): 09.48°C, Relay State: 0
2024-06-21 08:17:46 - BME280 Temperature: 12.63°C, Pressure: 982.83hPa, Humidity: 56.82%, Dew Point: 03.99°C, Dome Temperature (avg 30s): 09.23°C, Relay State: 0
2024-06-21 08:18:16 - BME280 Temperature: 12.63°C, Pressure: 982.83hPa, Humidity: 56.82%, Dew Point: 03.99°C, Dome Temperature (avg 30s): 09.18°C, Relay State: 0
2024-06-21 08:18:46 - BME280 Temperature: 12.58°C, Pressure: 982.75hPa, Humidity: 56.38%, Dew Point: 03.86°C, Dome Temperature (avg 30s): 09.23°C, Relay State: 0
2024-06-21 08:19:16 - BME280 Temperature: 12.58°C, Pressure: 982.75hPa, Humidity: 56.38%, Dew Point: 03.86°C, Dome Temperature (avg 30s): 09.23°C, Relay State: 0
2024-06-21 08:19:46 - BME280 Temperature: 12.55°C, Pressure: 982.78hPa, Humidity: 56.58%, Dew Point: 03.86°C, Dome Temperature (avg 30s): 08.98°C, Relay State: 0
2024-06-21 08:20:17 - BME280 Temperature: 12.55°C, Pressure: 982.78hPa, Humidity: 56.58%, Dew Point: 03.86°C, Dome Temperature (avg 30s): 08.98°C, Relay State: 0
2024-06-21 08:20:47 - BME280 Temperature: 12.51°C, Pressure: 982.83hPa, Humidity: 56.73%, Dew Point: 03.86°C, Dome Temperature (avg 30s): 08.78°C, Relay State: 0
2024-06-21 08:21:17 - BME280 Temperature: 12.51°C, Pressure: 982.83hPa, Humidity: 56.73%, Dew Point: 03.86°C, Dome Temperature (avg 30s): 08.93°C, Relay State: 0
2024-06-21 08:21:47 - BME280 Temperature: 12.49°C, Pressure: 982.84hPa, Humidity: 56.76%, Dew Point: 03.84°C, Dome Temperature (avg 30s): 08.93°C, Relay State: 0
2024-06-21 08:22:17 - BME280 Temperature: 12.49°C, Pressure: 982.84hPa, Humidity: 56.76%, Dew Point: 03.84°C, Dome Temperature (avg 30s): 08.88°C, Relay State: 0
2024-06-21 08:22:47 - BME280 Temperature: 12.50°C, Pressure: 982.82hPa, Humidity: 57.08%, Dew Point: 03.91°C, Dome Temperature (avg 30s): 08.68°C, Relay State: 0
2024-06-21 08:23:17 - BME280 Temperature: 12.50°C, Pressure: 982.82hPa, Humidity: 57.08%, Dew Point: 03.91°C, Dome Temperature (avg 30s): 08.88°C, Relay State: 0
2024-06-21 08:23:47 - BME280 Temperature: 12.48°C, Pressure: 982.80hPa, Humidity: 57.07%, Dew Point: 03.90°C, Dome Temperature (avg 30s): 08.88°C, Relay State: 0
2024-06-21 08:24:17 - BME280 Temperature: 12.48°C, Pressure: 982.80hPa, Humidity: 57.07%, Dew Point: 03.90°C, Dome Temperature (avg 30s): 09.08°C, Relay State: 0
2024-06-21 08:24:48 - BME280 Temperature: 12.51°C, Pressure: 982.86hPa, Humidity: 57.14%, Dew Point: 03.94°C, Dome Temperature (avg 30s): 08.88°C, Relay State: 0
2024-06-21 08:25:18 - BME280 Temperature: 12.51°C, Pressure: 982.86hPa, Humidity: 57.14%, Dew Point: 03.94°C, Dome Temperature (avg 30s): 08.88°C, Relay State: 0
2024-06-21 08:25:48 - BME280 Temperature: 12.51°C, Pressure: 982.89hPa, Humidity: 57.41%, Dew Point: 03.99°C, Dome Temperature (avg 30s): 08.93°C, Relay State: 0

If this is an edge case, if you can tell me where I might customise the daytime code without affecting any of the other modules that really on the code - happy to have a go at customising myself.

BTW not sure if it's possible but I the analog temp sensor I use is connected via a Pimoroni explorerhat ( should probably switch to a digital sensor) - but where might I change some of your code to be able to use this temp sensor in your framework by either customising some of your code by importing the https://github.com/pimoroni/explorer-hat or even running an external script and just customising having your temp sensor module read a file generated by my external script, like you do for the camera temp option.

Thanks, Ken.

aaronwmorris commented 1 week ago

I have it in my plans to support analog temperature sensors such as TMP36 or LM35 via an ADC. In fact, I wired up an LM35 to test with a Raspi, but realized the Pi does not have a native ADC... doh! It looks like the explorer hat just has an ADS1015 which should not be complicated.

Let me think about the day time offset for the dew heater.

aaronwmorris commented 1 week ago

I have added the code to support the TMP36 module via the ADS1x15 ADC that is on the Explorer HAT. If you get a chance, can you validate it works and the temperature is correct?

1344

keno242 commented 1 week ago

Nice one Aaron - with a bit of troubleshooting I was able to get the TMP36 reading as a sensor through the explorerhat pro

It appears that for my explorerhat pro explorerhat.analog.one.read() maps to Channel 3, so using the following sensor config worked:

+------------------------------------------------------------+
|                                                            |
| Sensor B                                                   |
|                                                            |
| +--------------------------------------------------------+ |
| | TMP36 ADS1015 i2c - Temp (1)                         v | |
| +--------------------------------------------------------+ |
|                                                            |
| Pin                                                        |
| +----------------+  Example: D6 (GPIO6 / Pin 31 Raspi)     |
| | P3             |  Example: P0 - Pin for ADS1x15 ADC      |
| +----------------+  Unused for most i2c devices            |
|                                                            |
| I2C Address                                                |
| +----------------+  Hexidecimal address - Example: 0x76    |
| | 0x48           |                                         |
| +----------------+                                         |
|                                                            |
| Sensor B Slot                                              |
| +--------------------------------------------------------+ |
| | User Slot 15                                         v | |
| +--------------------------------------------------------+ |
|                                                            |
+------------------------------------------------------------+

For anyone else here is the code Claude helped me out with to see which channel (P?) worked with my setup...

explorerhat_temp_i2c.py

#!/usr/bin/env python3

import time
import sys
from smbus import SMBus

def i2c_bus_id():
    revision = ([l[12:-1] for l in open('/proc/cpuinfo', 'r').readlines() if l[:8] == "Revision"] + ['0000'])[0]
    return 1 if int(revision, 16) >= 4 else 0

# ADS1015 configuration
address = 0x48
REG_CONV = 0x00
REG_CFG = 0x01

# Initialize I2C bus
i2c = SMBus(i2c_bus_id())

def read_adc(channel):
    # Configuration settings
    config = 0x0003 | 0x0100  # COMP_QUE and COMP_LAT
    config |= 0x0020  # 250 samples per second
    config |= (0x4000 | (channel << 12))  # Set channel
    config |= 0x0200  # ±4.096V range
    config |= 0x8000  # Start a single conversion

    # Write configuration
    i2c.write_i2c_block_data(address, REG_CFG, [(config >> 8) & 0xFF, config & 0xFF])

    # Wait for conversion to complete
    time.sleep(1.0 / 250 + 0.001)  # Wait a bit more than the conversion time

    # Read conversion result
    data = i2c.read_i2c_block_data(address, REG_CONV, 2)
    value = (data[0] << 4) | (data[1] >> 4)

    # Convert to voltage
    voltage = value * 4.096 / 2047.0

    return voltage

def calculate_temperature(voltage):
    # ExplorerHAT Pro temperature calculation
    return ((voltage * 1000) - 500) / 10

print("ExplorerHAT Pro All Channel Reader")
print("Press Ctrl+C to exit")

try:
    while True:
        voltages = [read_adc(channel) for channel in range(4)]
        temperatures = [calculate_temperature(v) for v in voltages]

        print("\nChannel Readings:")
        for i, (voltage, temperature) in enumerate(zip(voltages, temperatures)):
            print(f"Channel {i}: Voltage: {voltage:.3f}V, Temperature: {temperature:.2f}°C")

        time.sleep(1)

except KeyboardInterrupt:
    print("\nScript terminated by user")
except Exception as e:
    print(f"An error occurred: {e}")
    sys.exit(1)
aaronwmorris commented 1 week ago

Is the temperature correct? It looks like my algorithm is basically the same, where mine is based on volts and the above example is milli-volts.

As an FYI, you can use the script ./misc/sensor_test.py script to test the sensors without starting indi-allsky. This script uses the same code and config as indi-allsky to ensure the behavior matches.

source virtualenv/indi-allsky/bin/activate

./misc/sensor_test.py
keno242 commented 1 week ago

Yes readings are pretty much the same... I compared the exporerhat wrapper against the indi-allsky log, differences I expect could be related to slight timing differences.

Thanks - this can be closed out now I think.

python3 tmp36_read_compare_log.py 
Temperature Comparison: ExplorerHAT vs ADS1x15 TMP36
Checking for new TMP36 log entries every 0.1 seconds. Press Ctrl+C to exit!
2024-06-24T16:27:28.211613+08:00 ExplorerHAT: 17.23°C, 0.672V ADS1x15 TMP36: 17.60°C, 0.676V
2024-06-24T16:28:28.346217+08:00 ExplorerHAT: 17.83°C, 0.678V ADS1x15 TMP36: 17.60°C, 0.676V
2024-06-24T16:29:28.479228+08:00 ExplorerHAT: 17.83°C, 0.678V ADS1x15 TMP36: 17.80°C, 0.678V
2024-06-24T16:30:29.535819+08:00 ExplorerHAT: 17.83°C, 0.678V ADS1x15 TMP36: 17.80°C, 0.678V
2024-06-24T16:31:29.668932+08:00 ExplorerHAT: 18.13°C, 0.681V ADS1x15 TMP36: 18.00°C, 0.680V
2024-06-24T16:32:29.801550+08:00 ExplorerHAT: 18.13°C, 0.681V ADS1x15 TMP36: 18.20°C, 0.682V
 ./misc/sensor_test.py
[WARNING]: Initializing BME280 I2C temperature device @ 0x76
[WARNING]: Initializing OpenWeather API Sensor
[INFO]: BME280 - temp: 17.7c, humidity: 42.1%, pressure: 980.9hPa
[INFO]: Sensor 0: {'dew_point': 4.632478867468702, 'frost_point': 2.294173706755089, 'heat_index': 26.28702650392508, 'data': (17.6896484375, 42.05990430136566, 980.8631305292313)}
[INFO]: ADS1x15 TMP36 - temp: 18.2c
[INFO]: Sensor 1: {'data': (18.202081362346267,)}
[INFO]: OpenWeather API - temp: 13.4c, humidity: 59%, pressure: 1022.0hPa, clouds: 70%
[INFO]: Sensor 2: {'dew_point': 5.521143885419717, 'frost_point': 3.8008499261842417, 'heat_index': 30.959401724393242, 'wind_degrees': 165, 'data': (13.37, 12.3, 59, 1022, 70, 3.91, 4.79, 0.0, 0.0)}