Hey folks! Next Saturday, 2/14, we’ll have a special project going on during our monthly office hours in the lab: we’re putting together a Home Assistant-connected temperature monitor to help keep an eye on the health of the AC units in the woodshop.
No experience required — everyone’s welcome to join, contribute, or just watch and learn. See you there!
Much appreciated. We ordered a couple different thermistors since we’re trying to measure the temperature of the condenser, not necessarily the air around the unit.
We got this working using ESPHome and are collecting some data while we investigate exactly where it’s going and how we’re going to power it while it’s there (we’re not excited to climb a ladder every time the batteries need to be changed).
We used the ESPHome wizard to generate a basic YAML template…
# Set up python virtual environment in the directory named venv
/opt/homebrew/bin/python3.13 -m venv venv # or just python -m venv venv
source venv/bin/activate.fish # choose the activate for your shell
pip install wheel esphome
# Set up the yaml
esphome wizard asmbly-hvac.yaml
name: hvac0
microcontroller: esp32
board: adafruit_feather_esp32s3_tft
wifi: Asmbly
Our biggest problem was that we kept getting a constant, unreasonable result out of the device. It said the voltage at the input pin was 0.98V, when we were measuring it at 1.7V. We debugged by simplifying the circuit and testing each part separately, and everything looked good. We were stumped until @Kenneth realized that the default Analog to Digital conversion on this board expects a value between 0 and 1 volts. We added an attenuation configuration and suddenly we were getting values in the right range.
One minor issue is powering the ESPHome device, it can be battery powered but we’d be looking at weeks or months between charges and need to keep the screen off.
A standard 120v plug near the unit it’s being installed on would let us use a common usb power brick. I can model up an enclosure once we’ve got a spot picked out, something that keeps the screen visible and the buttons usable.
Honestly, once we have the functionality nailed down, I think we should swap the dev board for one without a screen. Esphome lets us do over-the-air upgrades and watch the logs remotely. I’d rather use a display unit on the ground than try to look at the display and press the buttons while on a ladder. @JohnWickham suggested a base station, which we could put somewhere convenient