System Settings Acton Flow ⭕Autoalexa⭕

by Sid Stone

Version 1 (June 15, 2019)

Download (10 downloads)

This action flow for Autoalexa voice Assistant will allow you to change system settings on a rooted device. May not work on all devices.
You will find ⭕Autoalexa⭕ here - https://llamalab.com/automate/community/flows/29369

Add the flow beginning uri to the statements in the autoalexcommands.json with key "system settings".
i.e.
"statements": {
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"previous": "statements/40",
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"system settings": "flows/38/statements/1"
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️}

Also add the utterance/s and value/s.
i.e.
"computer": {
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"spell": [["action": "value"]],
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"turn on system sounds": [["system settings", "System|sound_effects_enabled|1"]],
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"turn off system sounds": [["system settings", "System|sound_effects_enabled|0"]],
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"immersive mode on": [["system settings", "Global|policy_control|immersive.full=*"]], \\replace full with status or navigation to target status or navigation bars.
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️"immersive mode off": [["system settings", "Global|policy_control|immersive.off=*"]] \\replace * with app package to target just the app.
️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️ ️}

Then use voice commands -
computer turn on/off system sounds.
computer immersive mode on/off

You will need to add all settings you wish to be able to change on voice command.

use settings finder for names and values https://llamalab.com/automate/community/flows/28691