Is it possible to turn on a tablet screen?

I have a Surface setup to never go into deep sleep. With IOTLink I was able to wake the screen with an automation. Is that possible?
4 Replies
Amadeo
Amadeo3mo ago
There is a command that simulates a keypress that should wake the screen (assuming the device is really not sleeping - including s0ix sleep aka modern sleep)
nosuch
nosuch2mo ago
Thanks I will give this a try! Yes I did the work to ensure it doesn't go into any sleep mode and this was working 100% with IOTLink, I can share the steps if you want to document it.
Jfyi while the keypress should work IOTLink used a mouse move API for the screen on behavior, I can dig for that code if the keypress doesn't work.
Amadeo
Amadeo2mo ago
so if I understand correctly the IOTLink uses mouse movement to wake the screen and you'd like such an option in HASS.Agent? and additional question, is it possible that IOTLink is using some logic to prevent the computer from going to sleep :D?
nosuch
nosuch2mo ago
Hey sorry I'm so intermittent here but yes it uses mouse movements and it totally works, I have found the API on GitHub. It does not do anything to keep the computer awake, I set sleep to Never and leave it plugged in. I also disabled the login so that the lock screen never shows up: https://youtu.be/jXQ7Aj5uBe4?si=6pjOFWCeAPc_IDx1
MDTechVideos
YouTube
How to Disable Windows 10 Login Password and Lock Screen
How to Disable Windows 10 Login Password and Lock Screen. If check box is missing: https://www.youtube.com/watch?v=9i-x50kHa2g This tutorial will show you how to skip or bypass the login screen every time you start your Windows 10 computer, laptop, or tablet. This will be accomplished by having Windows 10 login by automatically having Windows...
Want results from more Discord servers?
Add your server