Yeah I came to similar conclusions about the button/screen presses but was hoping I had missed an easier method for monitoring this more efficiently. There's no way I'm doing that for every hard button and screen element. I appreciate you confirming that the logic is sound though.When I found the sleep command a few weeks back I made that suggestion to Allonis. And it's sort of what I'm doing with my volume popup timeout so I know it could work. But I don't know of an easy way of monitoring every button press(both hard and soft buttons). You could do that if you went through every button you had and added something that set a timeout but that would be super tedious so I haven't attempted it. For now pushing the button on the side is easier.
Please Log in or Create an account to join the conversation.
I didn't like the fact that every time I placed the remote on the charging station the screen would stay on. So I came up with this automation to turn the screen off automatically.This automation requires you to have connected the AndroidTV driver to the SmartRemote. You just need to fill in the appropriate <smart_remote_clientname> and <smart_remote_device_id> and it should automatically turn off the screen on the remote when you dock it in the charger.
- Create an automation and name it whatever you want.
- Add this to the Automation Rule Conditions:
WHEN:
{{smartremote_charging_<smart_remote_clientname>}} = true- Add this to the Automation Rule Actions:
Macro|AV|<smart_remote_device_id>~SendKey~SLEEP!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
{{smartremote_charging_<Remote1>}} = true
Macro|AV|< 3 >~SendKey~SLEEP!
Please Log in or Create an account to join the conversation.