Skip to content

Sonoff nspanel pro - cannot turn off the screen #131

Description

@xionc666

ha-paneld version

0.9.7-rc2

Panel hardware

Sonoff NSPanel Pro (86P / 120P, PX30 / rk3326)

What happened?

I could not install 0.9.6 (failing with pm discovery if ha-paneld is installed), so I just installed 0.9.7-rc2. Downgrade from UI to 0.9.6 is not working btw.

Anyway, I cannot make the screen to turn off automatically. I do not need anything fancy - just after 1 or 2 minutes of inactivity to turn off.

When I turn on this settings:

Image

it never learns anything.

When I turn off this setting:
Image

and enable auto screen off in android settings, it only dims. Never turns off.

I also set "keep_awake" to false via API, but it did not change anything.

Is the app not capable of disabling the screen completely? Do I need nspanel_pro_tools_apk for that?

Steps to reproduce

No response

Diagnostic dump (/diag)

ha-paneld diagnostics — 0.9.7-rc2 (build 613)
[captured] 2026-08-29T00:44:03.184+02:00 uptime=2h1m

[panel]
ha-paneld=0.9.7-rc2 (build 613)
Android=8.1.0 (API 27)
Firmware=1.5.6
Device=rockchip px30_evb (px30_evb)
CPU=4 cores · arm64-v8a · rk30board
RAM=1.9 GB total · 1.3 GB free
Storage=7.8 GB eMMC · 2.9 GB free (data)
Display=480×480 px · logical 160 dpi
System WebView=com.android.webview 138.0.7204.63
HA Companion=not installed
MQTT state=connected · TCP/IPv4 · last-ok 20s ago · last-auth 6198s ago · auth-ok · family Automatic (next IPv4)
Security mode=Relaxed
Keep panel responsive=on · power locks held
Prevent idle dim=off · timeout 60s
Android dashboard lock=off
LED=none
Nav actions (a11y)=yes
Navbar=Off
Zigbee=vendor-native · running
Relays=none
Network ADB=active (5555) · external — not persisted by ha-paneld
Audio playback=idle
App database=740.0 KB used · 1.2 MB on disk · schema 14
Product version=NSPanel86P_1.1.7
Local-state sync=20s ago · brightness 2→117 · 81s ago · backlight →2 (firmware dim) · 501s ago · brightness 110→117 · 621s ago · brightness 116→110 · 801s ago · brightness 255→116 · 861s ago · backlight →255 (firmware dim) · 921s ago · brightness 255→116 · 981s ago · backlight →255 (firmware dim)
State convergence=38 channels · 0 dirty · 0 in-flight · 12 unknown · ack 656/0 · pending none

[build] fingerprint=rockchip/px30_evb/px30_evb:8.1.0/OPM8.190605.003/100509:userdebug/test-keys
board=rk30sdk product=px30_evb hardware=rk30board abis=arm64-v8a,armeabi-v7a,armeabi
[boot-security] verified=green flash=locked vbmeta=unknown build=userdebug debuggable=yes
[env] selinux=0 su=true write_settings=true a11y=true daemon=true shizuku=manager_missing evdev=stopped/none ledjni=false
[display-sizing] android_base_logical_dpi=160 current_logical_dpi=160 override_dpi=none font_scale=1.0 profile_recommended_dpi=160 profile_recommended_font_scale=1.0
[renderer] mode=builtin state=checking outcome=unobserved fault=none detail=none recovery=none transport=http address_family=automatic observed_age=1h42m
[zigbee-health] state=unknown layout=unknown package=- joined=unknown role=- gateway_cpu=3 guard_cpu=0 restarts_10m=0 containment=none recursive_watchdog=true
[storage-health] state=healthy pressure_state=healthy usable_bytes=2923180032 total_bytes=3606081536 used_percent=18.937494817643525 database_bytes=151552 wal_bytes=0 sidecar_bytes=32768 page_size_bytes=4096 page_count=37 freelist_count=0 schema_version=14 quick_check=ok checked_at=1787949756433 failure=none
[power-safety] state=safe keep_awake=true wake_lock=true wifi_lock_required=true wifi_lock=true prevent_idle_dim=false screen_timeout_ms=60000 interactive=true power_source=ac plugged_mask=1 stay_on_mask=15 stay_on_effective=true device_idle=false doze_exempt=true screen_off=su_blpower reasons=prevent_idle_dim_disabled,native_screen_timeout_finite
[sysfs] leds=[] backlight=[backlight] devfreq=[dmc, ff400000.gpu]
[labels] ls: /sys/class/leds/*/: No such file or directory ls: /dev/ledjni: No such file or directory u:object_r:sysfs:s0 /sys/class/backlight/backlight/
[hardware]
  inputs=[rk8xx_pwrkey (event0 dmcfreq keychord ), cst226se (event1 dmcfreq ), adc-keys (event2 dmcfreq keychord ), lightsensor-level (event3 ), proximity (event4 )]
  i2c=[0-0020:rk809, 1-001a:CST226, 1-005a:CST226SE, 2-003c:tp, 2-0047:ls_stk3x3x, 2-0047-1:ps_stk3x3x, i2c-0:rk3x-i2c, i2c-1:rk3x-i2c, i2c-2:rk3x-i2c]
  iio=[]
  thermal=[cooling_device0:thermal-cpufreq-0, cooling_device1:thermal-devfreq-0, cooling_device2:thermal-devfreq-1, thermal_zone0:soc-thermal, thermal_zone1:gpu-thermal]
  relays=[]
[packages] android=not installed minimal=not installed
[vendor-tame] known=7 installed=1 active=1 disabled=0
[capabilities] Root (su)=ok | Verified app update / screenshot / display=ok | Screen brightness=ok | Screen on/off=ok | Reboot / reload / launcher=ok

Home Assistant version

No response

Relevant logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingin progressActively being worked onquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions