wallpanel-android icon indicating copy to clipboard operation
wallpanel-android copied to clipboard

[BUG] Unreliable Wake and sleep commands

Open pravardhanreddy opened this issue 1 year ago • 1 comments

Describe the bug The Wake and sleep commands over MQTT don't work as expected. I am using my Fire HD10 as a HomeAssistant Kiosk. I have some camera streams on the dashboard, when I have this open the tablet doesn't go to sleep on sending the sleep command even after waiting for the auto sleep time set on the tablet. When the dashboard just shows some static stuff it works. so maybe the video stream is not allowing the screen to go to sleep.

As for the wake command, when i close the tablet using power button and try to wake it up using the MQTT command, it doesn't work, but if i send a sleep command first and then the wake command it works as expected.

To Reproduce

  • For sleep: show a site that has a video stream, send the sleep command
  • For wake: close the tablet using the power button, send the wake command

Smartphone (please complete the following information):

  • Device: Fire HD 10
  • OS: Fire OS 7
  • Applicaiton version 0.10.5

pravardhanreddy avatar Jul 29 '23 21:07 pravardhanreddy

Same thing on Fire OS 7 on my Fire HD8 (Gen 7). I disabled all of the battery optimizations on the app and disabled wifi battery optimization and it's hit or miss if the MQTT request goes through.

Shmnel avatar Aug 31 '23 23:08 Shmnel