Adding bluetooth radio toggle to Controller. Writing controller.yaml to media drive on startup, if it doesn't exist.

This commit is contained in:
Roland 2026-03-28 10:09:58 -06:00
parent 9e80683b9a
commit 1c55745884
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
13 changed files with 624 additions and 7 deletions

View file

@ -95,6 +95,18 @@ export async function disableThrottle() {
return controllerFetch('/throttle/disable', {method: 'POST'});
}
export async function getBluetoothStatus() {
return controllerFetch('/bluetooth/status');
}
export async function enableBluetooth() {
return controllerFetch('/bluetooth/enable', {method: 'POST'});
}
export async function disableBluetooth() {
return controllerFetch('/bluetooth/disable', {method: 'POST'});
}
export async function shutdownSystem() {
return controllerFetch('/shutdown', {method: 'POST'});
}