Temperature Tracking Script
✓ Published0🌍 Public
Aadewes
Last edited Aug 3, 2020
Created on Apr 27, 2020
This script tracks the temperature of an aquarium using a DS18B20 sensor, logging the value every minute to a tab-separated file with a timestamp. It visually demonstrates the data over time by appending lines like `date<TAB>temperature` to `temperature.tsv`. The code reads raw sensor values from the Linux sysfs interface at `/sys/bus/w1/devices/.../temp1_input`, checking for missing or out-of-bounds readings, and prints alerts or a daily summary message. It uses shell commands (`date`, `cat`, `echo`) rather than a visualization library, relying on the file’s tabular format for later charting.
AI-generated description