BlitzWolf SHP7 Smart Plug: From Tasmota to ESPHome - Scargill's Tech Blog

I’ve been working on converting an old BlitzWolf SHP7 dual-socket smart plug, originally flashed with tasmota – from Tasmota to ESPHome, giving me more flexibility in how I control it through Home Assistant.The SHP7 is a useful device, with two independently controlled sockets and built-in energy monitoring.With ESPHome, I can easily integrate both sockets directly into Home Assistant and add some extra functionality.

ESPHome Features The configuration includes: Independent control of both sockets Voltage, current, power and energy monitoring Configurable power-on behaviour Automatic shut-off timers for each socket Physical button control ESPHome Web Server v3 Wi-Fi signal and uptime diagnostics A custom dark purple WebUI background AND ALL OF THIS IN AN OLD ESP8285 which has a mere 1MB of built in flash.It never occurred to me for a second that I’d be able to do this in ESPHome on such an old device – but sure enough – I’ve only used half the RAM up to now and half the FLASH.I also added a reboot button, which provides a short sequence of status LED flashes before restarting the device.

Configuration and Downloads Rather than including the complete YAML configuration and CSS stylesheet in this article, I’ve made them available in a GitHub repository for anyone interested in experimenting.The repository contains the ESPHome configuration, the optional (limited) WebUI background stylesheet and setup instructions.BlitzWolf SHP7 ESPHome Project – GitHub The repository contains: shp7.yaml – ESPHome firmware configuration shp7-style.css – Custom WebUI background styling README.md – Installation instructions and project details Important: This configuration is intended for an SHP7 that has already been converted to Tasmota.

It does not cover the initial conversion from the original factory firmware to Tasmota.The CSS stylesheet is optional and changes the WebUI page background colour.The internal ESPHome controls are not currently customised.

If anyone wants to tackle that – please do feed back to me.I fancied nicer buttons but it wasn’t that easy in the end.Conclusion This project gives the old BlitzWolf SHP7 a useful ESPHome configuration with independent socket control, energy monitoring and automatic shut-off timers – and importantly for me I could add a network list to handle more than 2 SSIDs (my house is awkward).

As with any mains-powered device, take care when flashing firmware and ensure the plug is used within its electrical ratings.See the webUI below…

Read More
Related Posts