Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully kiosk browser #869

Merged
merged 3 commits into from
Mar 27, 2024
Merged

Fully kiosk browser #869

merged 3 commits into from
Mar 27, 2024

Conversation

tobser
Copy link
Contributor

@tobser tobser commented Feb 17, 2024

  • FullyKiosBrowser: add command work queue
    If commands are issued while another one is still processing, the new
    command is queued and executed later. This makes it possible to to add
    multiple commands without any command getting aborted.
    Eg. changing the volume, let the device say something and then change
    the volume back:
	$Fully->send_request("setAudioVolume&level=70&stream=9");
	$Fully->say("Test 1 2 3", 'en');
	$Fully->send_request("setAudioVolume&level=30&stream=9");
  • FullyKioskBrowser: Add App_State property
    To check wether FullyKiosk is currently the app in use it is now possible to check the
    App_State property. It is either 'foreground' or 'background'.
    (requires mqtt to work)

  • treat Battery level as a number

If commands are issued while another one is still processing, the new
command is queued and executed later. This makes it possible to to add
multiple commands without any command getting aborted.
Eg. changing the volume, let the device say something and then change
the volume back:

	$Fully->send_request("setAudioVolume&level=70&stream=9");
	$Fully->say("Test 1 2 3", 'en');
	$Fully->send_request("setAudioVolume&level=30&stream=9");
To check wether FullyKiosk is currently the app in use it is now possible to check the
`App_State` property. It is either 'foreground' or 'background'.
(requires mqtt to work)
@hplato hplato merged commit 352c849 into hollie:master Mar 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants