cherub-i / teichthermometer

A ESP8266 based temperature sensor, using two DS18X20 sensors and sending sensor readings as MQTT messages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Teichsensor

A ESP8266 based temperature sensor, using two DS18X20 sensors and sending sensor readings as MQTT messages.

Learnings

  • writing a log-file is probably a bad idea, as the EEPROM has only a limited amount of write-cycles after which it will fail
  • a complex logic for determining the frequency of measurements and the frequency of transfers of the readings (based on time and on difference between current and previous reading) is "nice", but when it comes to measuring temperatures outside completely uneccesary
  • not using deep sleep will prevent me from ever running the device on battery without having to change the battery ever so often (or even better solar energy)

Resources

This project is based on the work of others, who were so generous as to share their knowledge and allow reusing it.
Thank you! Not just to the people whose creations enabled this project, but to everyone who shares with the community ♥🙏.

Basic stuff

Code style: black

About

A ESP8266 based temperature sensor, using two DS18X20 sensors and sending sensor readings as MQTT messages.


Languages

Language:Python 100.0%