Multipage Remote Problem
I have lived with a problem for a couple of years now, and maybe there are enough experienced users, or there is enough spare time at HQ, to find me a solution.
I have some remotes with many tabs.
When the screen goes to sleep on my phone that is a good thing. I might not want to send another command for an hour or so. But when I wake it up, as it connects to the server, I am returned to the first page. No commands have been sent, because I have pressed no button, so the server is where it was left, having last received a command for tab two, or three, etc.
This is not a problem in itself, but hardware that has "toggle" controls (like many power controls) are left "orphaned".
I have built in a "fix" page to some remotes so as to correct this. But it is painful............
Could it not just awake to the tab that it was on when it passed out, and stay there?
Finally found the dev repository again, and I need to be able set the active tab (not the index!) at "events.focus" ........
or........ reset each tab index to 0 on selection.... ouch!.... logic hell.......
or...... abandon tabs completely and build a separate remote for each?............