A platform for logging temperature using w1_therm thermometers.
See logbook.
A server for storing the logs from the devices. It's designed to run on
Vercel. It uses AWS DynamoDB to store the data which can be created
using terraform (see storage.tf).
See logger for the thermometer loggers.
A raspberry PI thermometer that reads the temperature and sends it to
a server over HTTP. It is compatible with the w1_therm devices.
A logger for the STM32F103C8T6 Black Pill with ESP8266 WiFi Microchip.
This doesn't yet send the results to the logbook.
It is built with PlatformIO.
This requires the w1-gpio to be enabled and docker and docker-compose to be installed.
The recommended way:
- Enable
w1-gpioecho -e "dtoverlay=w1-gpio\n" | sudo tee -a /boot/config.txt sudo reboot - Install
dockerusing the convenience scriptcurl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh sudo usermod -aG docker ${USER} - Install
docker-composerequirementssudo apt-get install -y libffi-dev libssl-dev python3 python3-pip - Install
docker-composeusing pipsudo pip3 -v install docker-compose - Set up a single-node swarm on the Raspberry Pi
docker swarm init - Update the environment variables, replacing the
<..>s with the correct values:THERM_DEV_PATH=/sys/devices/w1_bus_master1/28-<ID>/w1_slave THERM_SERVER_ADDRESS=<server-address> THERM_LOCATION=<location - Set up service secret:
docker secret create therm_auth_secret -
- Clone this repo
- Run the following command, replacing with the location of the thermometer, for example "living-room". This should only use a-z characters or hyphens.
docker stack delpoy --compose-file docker-compse.yml --compose-file docker-compose.prod.yml thermometer
docker-compose -f docker-compose.yml -f