thecowan/wallpanel-android

[BUG] HTTP REST API - POST via Postman, Can't wake device.

Closed this issue · 0 comments

Hi,

Sorry if this is the wrong place for questions. But I can't seem to find a place for discussion on this repo.

I've Wallpanel installed on my Samsung Galaxy Tab A7, Andriod 12.

Within the app I've enabled:
Clock Screen Saver
REST API

What I'd like to do via Postman is turn off the "Clock Screen Saver".

The following:
GET http://192.168.85.38:2971/api/state
Returned:

{
    "currentUrl": "http://192.168.85.14:8123/lovelace-tablet/home",
    "screenOn": true,
    "camera": false,
    "brightness": 56
}

THE ISSUE
However, when I try to turn off the screensaver "Clock Screen Saver", which I assume is done via "wake", it doesn't appear to work. I send:
POST http://192.168.85.38:2971/api/command?wake=true
It returns:

{
    "result": false
}

And the tablet remains on the "Clock Screen Saver"

Would someone please point me in the right direction. I'm certain it's probably a really simple mistake.