Start Page Logic

More
1 year 2 months ago #4347 by bitzerjd
Start Page Logic was created by bitzerjd
I know that the "Index" scene automatically loads when the remote is started.  I want to use a bit of logic to choose when that scene is loaded.  Here is the use case, when the system is off, the remote should show the "Activity" screen with the power options.  When the system is on, it should show the screen that controls whatever is playing.

I can get 90% there by loading the Activity scene when the system is turned off....  In the morning, when someone picks up the remote, it is on the right screen.  When they turn on the system, it will go to the right scene for what they want to do.

My ask is not to do this based on an action (turn on/turn off), but to be able to modify what scene is loaded via a server variable.  Using this approach would allow me to reboot the device mid day and have it start in the right mode.

Any ideas? 

Please Log in to join the conversation.

More
1 year 2 months ago - 1 year 2 months ago #4348 by aa6vh
Replied by aa6vh on topic Start Page Logic
When I set the remote down after using it, I always place it on the charger so that a) I know where to find it next time, and b} so that the remote does not run out of battery while using it.

This is the Automation macro I use:

WHEN:
{{smartremote_charging_remote4}} = true

Macro|
If|IsEqual##{{av_4_power}}##0##WebCmd|remote4~LoadScene|startup!
AV|8~SendKey~SLEEP!

In case its not obvious, the "startup" scene is one that I created.
Last edit: 1 year 2 months ago by aa6vh.

Please Log in to join the conversation.

More
1 year 2 months ago #4349 by bitzerjd
Replied by bitzerjd on topic Start Page Logic
Interesting, I never thought of using an Automation Macro. I need to think about it for a bit and see if I can use it to help get the behavior I want.

Thanks!

Please Log in to join the conversation.

Time to create page: 0.190 seconds