Replies: 8 comments 3 replies
-
Unfortunalty, it seems not possible right now with the app or I didnt find the way and would love to know. If it can help, for achieving this, I use another application called Tasker where you send Intent action from other application (for me Home Assistant), Tasker app then catch the intent and do whatever you want, like switching it off. |
Beta Was this translation helpful? Give feedback.
-
Thx, do you send the command from HA over mqtt or how can tasker listen to a command comming from HA? |
Beta Was this translation helpful? Give feedback.
-
I send it from HA. You can send broadcast intents as describing here: https://companion.home-assistant.io/docs/notifications/notification-commands/#broadcast-intent I forgot to mention that you need Home Assistant Companion (android app) installed on the device. Here is an example of an intent send to my tablet from HA using a script : Then, in Tasker you need to create a task which would receive this intent and switch off the screen of the device (didnt take time to make screenshot here sorry). To come back to the real issue, that Wall Panel can't switch off tablet over HTTP or MQTT :
So maybe it's more of a feature request here ? For me, I had some use cases where I wanted to specifically switch off the screen of my wall panel device, which were :
Hope it can help you and I would love to know how others people have achieved this differently, maybe there is an even easy way ! |
Beta Was this translation helpful? Give feedback.
-
wow thx a lot for this detailed explanation. In the mean time I was able to fix it myself. |
Beta Was this translation helpful? Give feedback.
-
Maybe one of the devs can answer this question... I'm using an external PIR sensor and some logic in Home Assistant to keep track of room presence and I'd like to turn on and off my Fire tablet's display when I enter and leave the room. I set my tablet to turn off the screen after 15 seconds of inactivity, and I've noticed that if I repeatedly send a Every once and a while, the display turns off (seemingly randomly) and doesn't wake up until the next time the mqtt message is sent. All motion and audio detection settings are disabled in the app's settings. How does the wake timer work? I would assume that a 180 second wake time being sent every 30 seconds would keep the screen on until I stopped sending it. Is there a better way to reliably keep the screen on and turn it off via mqtt? |
Beta Was this translation helpful? Give feedback.
-
I'm also stuck on this.... running android 6.0 on a very old tablet, not sure if that makes a difference. |
Beta Was this translation helpful? Give feedback.
-
Toggle the "keep screen on" setting via MQTT would add a real benefit for automation via HomeAssistant! I could turn off the setting if I am leaving the house (e.g. |
Beta Was this translation helpful? Give feedback.
-
Currently this problem with not extending wake time still exists. I have done workaround on my setup with appdaemon (or you can use any other automation). When movement detected i call wake with 36000 seconds. Then I have run_in timer. This timer is recreated each time when movement is detected. Timer sends wake:false when it kicks in. this is snippet of my code:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hy
I'm a bit confused how to setup my android to get following function:
I like to wake up the screen via MQTT (this currently works great)
I like to witch off the screen via MQTT (how do I need to set the system settings and the app settings so that I can send the {"wake": false} command to switch the screen off ??)
Thx for any suggestions
Andy
Beta Was this translation helpful? Give feedback.
All reactions