TheTimeWalker / wallpanel-android

WallPanel is an Android application for Web Based Dashboards and Home Automation Platforms
https://wallpanel.xyz
Apache License 2.0
451 stars 45 forks source link

[BUG] Brightness always reports 255 #144

Closed jski closed 3 months ago

jski commented 3 months ago

Describe the bug Regardless of what settings I put into the wallpanel app settings, the brightness doesn't change as expected (dim screensaver), and the brightness state from MQTT always shows 255. It cannot be changed via MQTT command either (although verified that MQTT commands do work, as I can open settings that way).

To Reproduce Steps to reproduce the behavior:

  1. Set brightness to desired level in Android settings.
  2. In Wallpanel settings, turn on Display Settings -> Prevent Screen Sleep, Screen Brightness, Dim Screen Saver, Dim Screen... (to 99%, but any value fails).
  3. Wait 30 seconds.

Smartphone (please complete the following information):

jski commented 3 months ago

This is closeable. Somehow, one of the two devices revoked permissions at the system level for wallpanel to make system changes, which are required to adjust brightness settings in app (or even fetch their values from android).