Home » Howto & Style » Flashing the Sonoff NSPanel with ESPHome - how to get a custom UI for Home Assistant!

Flashing the Sonoff NSPanel with ESPHome - how to get a custom UI for Home Assistant!

Written By Christopher Masto on Sunday, Jan 02, 2022 | 02:06 AM

 
Here's how to put ESPHome on a Sonoff NSPanel, opening up the ability to custom design your own touchscreen Home Assistant control panel. Links below: 00:00 Introduction 03:00 Unboxing 06:07 Factory firmware demo 10:59 Opening it up 16:53 Installing ESPHome 19:02 ESPHome Configuration 21:18 Flashing the NSPanel 24:46 Home Assistant integration 26:26 Making a custom UI with Nextion Editor 32:41 Uploading the TFT file 37:57 Testing the custom interface 44:37 Outroduction 🔗 Useful links 🔗 ‣ Sonoff NSPanel: https://amzn.to/34fqZ5y ‣ USB to TTL adapter: https://amzn.to/41IULdh ✓ Sample files ‣ My demo YAML and HMI files: https://github.com/masto/NSPanel-Demo-Files ✓ Software ‣ Home Assistant: https://home-assistant.io ‣ ESPHome: https://esphome.io ‣ Nextion Editor: https://nextion.tech/nextion-editor/ ‣ OpenHASP: https://haswitchplate.github.io/openHASP-docs/ ✓ Touch Displays ‣ Sonoff NSPanel (US model): https://amzn.to/34fqZ5y ‣ Lanbon L8 (US model): https://amzn.to/3sV8w8N ‣ HA SwitchPlate HASPone: https://github.com/HASwitchPlate/HASPone ✓ Tools and equipment ‣ USB to TTL adapter: https://amzn.to/41IULdh ‣ Breadboard alligator clip jumpers: https://amzn.to/3HpU6kX ‣ Dupont jumpers: https://amzn.to/3zfr2JS ‣ Pin headers: https://amzn.to/3sQAHpk ‣ 4-pin I2C cables: https://amzn.to/3JworA5 ‣ Assorted Dupont connectors: https://amzn.to/3mNOg52 ‣ Crimp tool for Dupont connectors: https://amzn.to/3Hn2TE6 ‣ Silicone wires (convenient for bench testing): https://amzn.to/3Hpr1pG ‣ Ferrules: https://amzn.to/3mO13UU ‣ Hex crimper for ferrules: https://amzn.to/32QlJ7G ‣ WAGO wire connectors: https://amzn.to/3ELDke8 ‣ Precision screwdriver set: https://amzn.to/3FM5w1L ‣ Cliff Quicktest (US model): https://amzn.to/3zic85B or https://www.newark.com/cliff-electronic-components/cl1857/qt1-usa-canada-13a-fuse-quicktest/dp/08AC2593