Title here
Summary here
September 10, 2022 in Home Automation1 minute
Thermocouples are handy for accurate measurement at difficult to reach places or in liquids. I set up one to measure the temperature of my aquarium so that I can get early warning if the heater fails in my tropical fish tank. MAX6675 is very cheap and easily integrates with Esphome. Here are the connections and code.
| MAX6675 | ESP 8266 | D1 Mini terminal |
|---|---|---|
| SO | MISO | D6 |
| CS | CS | D8 |
| SCK | CLK | D5 |
| VCC | 3.3V | |
| GND | GND | GND |
esphome:
name: aquatemp
platform: ESP8266
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "****"
wifi:
ssid: "****"
password: "****"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Aquatemp Fallback Hotspot"
password: "****"
captive_portal:
# configuration entry
spi:
miso_pin: D6
clk_pin: D5
sensor:
- platform: max6675
name: "Aquarium Temperature"
cs_pin: D8
update_interval: 60s