Sonoff NSPanel Pro locally in Home Assistant
Unformatted notes from my tinkering with local no-cloud setup of NSPanel Pro
Intro
- Original Blakadder’s howto is quite old (2022)
- Sonoff did push many updates to NS Panel Pro since then (even enabling the panel as Zigbee router - not a coordinator!), one of which updated the shipped WebView to more up-to-date version, so a lot of the Xposed steps are not needed anymore
Guide
- Setup NS Panel Pro via Ewelink app
- Get all the updates (wait a bit each time before prompted) - after ADB is enabled, updates won’t come any more
- Follow https://blakadder.com/nspanel-pro-sideload/ but stop before Xposed steps
- Download and install Home Assistant Companion app
- create a new HA user and use its credentials to log in from the NS Panel Pro
- Get the awesome NS Panel Pro tools to leverage device’s proximity sensor, light sensor, and Home Assistant integration. (Again, download and install via ADB.)
Useful commands
# connect to NS Panel via network/wirelessly
adb connect <IP_ADDRESS> # ie. adb connect 192.168.1.101
# install APKs from current folder ("streamed install")
adb install <APK_FILENAME> # ie. adb install "Home Assistant_2025.6.5-full_APKPure.apk"
# simulate "home" button press
adb shell input keyevent 3
# silmulate "power" button press
adb shell input keyevent 26
Sources
- NSPanel Pro Sideload Apps (Blakadder)
- Android Panel WebView (Blakadder)
- NSPanel Pro - Custom android apps (working) (HA Forums)
- NS Panel Pro Tools (Github/seaky)