Repository navigation
Lounge 0.9.7
A release about the remote. A button you never use can be given a new job, and the Home Assistant plugin gets past a fault on the server that used to leave it with nothing to show.
What's new
Remote buttons. A button on the remote can open an app, one of the TV's inputs or Lounge's home screen instead of what it was made for. In Settings, under Remote and sounds, open Remote buttons, press the button you want to change and choose what it opens. There are no key codes to look up: Lounge waits for the press and brings up that button's choices, with every app under its own icon. Press a button you have already changed to see or change its job, and choose "What it was made for" to give it back.
The buttons that work the TV stay as they are. The arrows, OK, Back, Home, volume and power can never be given another job, so a change can always be undone from the same sheet. A button whose app has since been removed, or whose input is unplugged, does its own job again until the app or input is back.
Allowing it. Lounge is told of presses by a service you turn on under Android's Accessibility. The sheet says where to find it, and with Power Setup connected one press turns it on. Android's own prompt warns that a service like this could see what is typed on a keyboard, which it says of any service that is told of key presses. Lounge only checks whether a button pressed is one you changed and keeps no record of any. It reads nothing that is on the screen, and it asks for keys only while a button is changed or the sheet is open. The row that turns it on turns it off again and keeps your changes.
Good to know. Some TVs keep a button to themselves and hand it to no app; when a press opens its own app instead of reaching Lounge, the sheet says so. Android turns the service off when Lounge is force stopped, and Lounge says so the next time it is in front. While any accessibility service is on, the home screen does a little more work for each frame.
Opening from behind another app. While Button presses is on, Lounge may bring an app forward from behind another one, so the phone can open something on the TV whatever is in front. Until now that needed Lounge to be the home screen or Power Setup's "Show pop-ups over other apps".
What's fixed
Home Assistant: "answered with error 500". When one device in a home reports something Home Assistant cannot send, Home Assistant fails its whole list of devices, though its own pages carry on as if nothing were wrong. The plugin then showed only the error. It now reads the home another way, a page at a time, and leaves out only what could not be sent. That takes an administrator's sign-in or access token. With any other, the plugin now says what is wrong and that Home Assistant's log names the device, in place of "Check the server, then try again".
Full Changelog: v0.9.6...v0.9.7