WSMS#3 - Optimize Power Consumption of ESPHome Wireless Sensors

Published at : 23 Dec 2025

In today's episode, we're diving into optimizing the power consumption of our setup. We'll take a closer look at the INA3221 sensor and adapt it to suit our needs. By the end of this video, our 1100mAh battery will last 10 times longer! Don't miss out on these crucial steps to making your project more efficient and long-lasting.

00:00 Overview
00:29 Ideas to reduce power consumption
02:06 Measuring power consumption
02:54 INA 3221 - Electrical characteristics
03:58 INA 3221 - Shunt offset error
04:59 INA 3221 - How to optimizing measuring range
06:01 INA 3221 - Why optimizing measuring range
07:25 Setup for measuring energy consumption
08:33 Grafana - Analyse measurements
10:23 Switching off the sensor during deep sleep
11:42 Grafana - calculate power consumtion in Ah
14:36 Operation time when switching off the sensor during deep sleep
15:07 Increase update interval
15:41 Conclusion

---------

OTHER EPISODES IN THIS SERIES
#1 - Project overview and test setups
https://youtu.be/qE35_fPxOck

#2 - Best ESP board and Soil Moisture Sensor
https://youtu.be/b9j9IffGZEs

---------

CODE
https://github.com/Chri5At/soil_moisture_sensors_for_esp_home

---------

PARTS
DF Robot Firebeetle ESP32 (affiliate link): https://amzn.to/4cWdB4o
DFR Soil Moisture Sensor v2 (affiliate link): https://amzn.to/3XT8WMj
INA3221 Board (affiliate link): https://amzn.to/3waUofj

---------

USEFULL LINKS
Texas Instrument FAQ - INA3221: Input Bias Current
https://e2e.ti.com/support/amplifiers-group/amplifiers/f/amplifiers-forum/700479/faq-ina3221-input-bias-current-impedance-specs-for-bus-voltage-monitors

---------

MUSIC
Summer Wind by Roa https://soundcloud.com/roa_music1031
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/3Wo0SAM
Music promoted by Audio Library https://bit.ly/3ymLhcO