Sonoff NSPanel Pro locally in Home Assistant

Unformatted notes from my tinkering with local no-cloud setup of NSPanel Pro

Published
Author
Martin Allien
Topics
Android
Privacy
Guides
Hardware
Smarthome

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

  1. Setup NS Panel Pro via Ewelink app
  2. Get all the updates (wait a bit each time before prompted) - after ADB is enabled, updates won’t come any more
  3. Follow https://blakadder.com/nspanel-pro-sideload/ but stop before Xposed steps
  4. Download and install Home Assistant Companion app
    • create a new HA user and use its credentials to log in from the NS Panel Pro
  5. 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