<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Esphome on Pieter Viljoen's Blog</title><link>https://blog.insanegenius.com/tag/esphome/</link><description>Recent content in Esphome on Pieter Viljoen's Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 16 Sep 2026 12:00:00 +0000</lastBuildDate><atom:link href="https://blog.insanegenius.com/tag/esphome/feed.xml" rel="self" type="application/rss+xml"/><item><title>Reverse Engineering the EasyStart Bluetooth Protocol</title><link>https://blog.insanegenius.com/2026/09/16/reverse-engineering-the-easystart-bluetooth-protocol/</link><pubDate>Wed, 16 Sep 2026 12:00:00 +0000</pubDate><guid isPermaLink="false">https://blog.insanegenius.com/2026/09/16/reverse-engineering-the-easystart-bluetooth-protocol/</guid><description>&lt;p&gt;I decoded the Bluetooth protocol of my Micro-Air EasyStart soft starters from the vendor&amp;rsquo;s Android app, with help from Claude Code, and now read their compressor data into Home Assistant through ESPHome.&lt;/p&gt;</description></item><item><title>Trying to Keep my Garage Cool</title><link>https://blog.insanegenius.com/2021/08/11/trying-to-keep-my-garage-cool/</link><pubDate>Wed, 11 Aug 2021 14:11:19 +0000</pubDate><guid isPermaLink="false">https://blog.insanegenius.com/2021/08/11/trying-to-keep-my-garage-cool/</guid><description>&lt;p&gt;We live in a moderate climate, and when we built our house my plans were for my home server rack to be installed in the garage and vented through the outside wall to the alley. Unfortunately plans changed, and the instant hot gas water heater had to be moved blocking rack access to outside ventilation. Without cool outside air the servers complain about overheating in the peak of summer, and I either need to power down or keep the garage door open during the day.&lt;/p&gt;</description></item><item><title>ESP32 Water and Gas Utility Meter</title><link>https://blog.insanegenius.com/2021/08/09/esp32-water-and-gas-utility-meter/</link><pubDate>Tue, 10 Aug 2021 03:27:27 +0000</pubDate><guid isPermaLink="false">https://blog.insanegenius.com/2021/08/09/esp32-water-and-gas-utility-meter/</guid><description>&lt;p&gt;The &lt;a href="https://www.home-assistant.io/blog/2021/08/04/home-energy-management/"&gt;recent&lt;/a&gt; release of Home Assistant&amp;rsquo;s energy dashboard inspired me to restore my gas and water utility meter monitors. I lost the measurements when I &lt;a href="https://blog.insanegenius.com/2020/09/05/abandoning-greeneye-for-sense/"&gt;removed&lt;/a&gt; my Brultech GreenEye energy meters in favor of &lt;a href="https://amzn.to/3jIGAhQ"&gt;Sense&lt;/a&gt; energy monitors.&lt;/p&gt;
&lt;p&gt;To recap, my local city and utilities do not allow any connections in any form to their utility meters, but I am allowed to install my own meters downstream, as long as the meter models are approved for local use, i.e. the exact same model as used by the local utilities. I installed the same model water and gas meters as used by the utilities but with dry-contact metering.&lt;/p&gt;</description></item><item><title>Using ESP to Debug an ESP</title><link>https://blog.insanegenius.com/2020/10/22/using-esp-to-debug-an-esp/</link><pubDate>Thu, 22 Oct 2020 18:04:53 +0000</pubDate><guid isPermaLink="false">https://blog.insanegenius.com/2020/10/22/using-esp-to-debug-an-esp/</guid><description>&lt;p&gt;This post is about troubleshooting the sporadic ESP8266 hardware watchdog resets in my &lt;a href="https://blog.insanegenius.com/2020/10/11/hot-water-recirculation-pump-controller/"&gt;water recirculation pump controller project&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The ESP8266 would randomly restart, which I can observe by monitoring the uptime reported by ESPHome to Home Assistant.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://blog.insanegenius.com/media/2020/10/screenshot-2020-10-22-080846.png"&gt;&lt;/p&gt;
&lt;p&gt;It is difficult to debug because the &lt;a href="https://amzn.to/2SvpkQ0"&gt;Sonoff TH10&lt;/a&gt; is in a waterproof case in my garage, making it difficult to get a USB/UART connection for debug logging. The alternative is to monitor logs over the network, and to include the &lt;a href="https://esphome.io/components/debug.html"&gt;debug component&lt;/a&gt; that will log the restart reason. But, network logging does not capture crash information, that is only logged by UART.&lt;/p&gt;</description></item><item><title>Hot Water Recirculation Pump Controller</title><link>https://blog.insanegenius.com/2020/10/11/hot-water-recirculation-pump-controller/</link><pubDate>Mon, 12 Oct 2020 00:51:47 +0000</pubDate><guid isPermaLink="false">https://blog.insanegenius.com/2020/10/11/hot-water-recirculation-pump-controller/</guid><description>&lt;p&gt;Our house uses a Noritz natural gas instant hot water heater, with a dedicated hot water recirculation line. Problem is the heater is installed in the garage, and in the summer the garage gets so hot that the &lt;a href="https://en.wikipedia.org/wiki/Aquastat"&gt;aquastat&lt;/a&gt; that controls the recirculation pump never turns on. This leaves us with cold water in the recirculation line, and we have to wait several minutes for hot water, defeating the entire purpose of the instant hot recirculation line.&lt;/p&gt;</description></item><item><title>Tuya to Tasmota to ESPHome</title><link>https://blog.insanegenius.com/2020/09/10/tuya-to-tasmota-to-esphome/</link><pubDate>Thu, 10 Sep 2020 18:16:57 +0000</pubDate><guid isPermaLink="false">https://blog.insanegenius.com/2020/09/10/tuya-to-tasmota-to-esphome/</guid><description>&lt;p&gt;This is a summary of my experience, and the exact steps I followed, to convert cheap &lt;a href="https://www.tuya.com/"&gt;Tuya&lt;/a&gt; based WiFi smart plugs to &lt;a href="https://esphome.io/"&gt;ESPHome&lt;/a&gt; for &lt;a href="https://www.home-assistant.io/"&gt;Home Assistant&lt;/a&gt; integration.&lt;/p&gt;
&lt;p&gt;I am a novice when it comes to ESPHome, and I pieced information together from various great sources:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/ct-Open-Source/tuya-convert"&gt;Tuya Convert project&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://esphome-configs.io/guides/tuya-convert/"&gt;ESPHome Tuya Convert guide&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://esphome.io/guides/migrate_sonoff_tasmota.html"&gt;ESPHome migrating from Tasmota guide&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://esphome-configs.io/devices/"&gt;ESPHome Config device templates&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://templates.blakadder.com/"&gt;Blakadder device templates&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.digiblur.com/2020/01/tuya-convert-23-update-flash-tuya.html"&gt;DigiblurDIY Tuya Convert guide&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://frenck.dev/calibrating-an-esphome-flashed-power-plug/"&gt;Frenck power plug calibration guide&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;My goal was to use &lt;a href="https://github.com/ct-Open-Source/tuya-convert"&gt;Tuya Convert&lt;/a&gt;, for it allows over the air firmware conversion, and no physical disassembly and firmware programmer wiring is required. Unfortunately I found that many currently shipping versions of plugs that apparently used to work no longer work, possibly contributed to by Tuya &lt;a href="https://github.com/arendst/Tasmota/issues/6434"&gt;switching&lt;/a&gt; from ESP82xx to Realtek chips. The model numbers and physical appearance of the plugs did not change, making it difficult to predict what you will get if you buy now.&lt;/p&gt;</description></item></channel></rss>