v1.0
This commit is contained in:
1 parent
0246cbb6ba
commit
0ca4b4bf7a
89 files changed
+7042
-2480
No files matched your search
@@ -103,6 +103,11 @@ you can say *"mach die Küche leiser"*. On Linux the endpoints map to:
|
||||
| `/mcp/v1/power/*` | `systemctl suspend`, `shutdown` via a scoped sudoers entry |
|
||||
| `/mcp/v1/mic/*`, `/status`, `/restart` | Engine mute / status / restart |
|
||||
|
||||
Every endpoint except `/mcp/v1/health` needs the slave's control token
|
||||
(`Authorization: Bearer …`) unless the caller runs on the Pi itself. Print it
|
||||
with `javis-slave --show-control-token` and give it to javis-slave-mcp as
|
||||
`JAVIS_SLAVE_TOKEN` (see its README).
|
||||
|
||||
## CLI reference
|
||||
|
||||
```
|
||||
@@ -112,6 +117,8 @@ javis-slave --pair HOST:PORT CODE --name N pair (works with and without --headle
|
||||
javis-slave --list-devices print sounddevice table
|
||||
javis-slave --input-device N --output-device N --input-gain G --api-port P
|
||||
persist settings and start
|
||||
javis-slave --show-control-token print the control-API token and exit
|
||||
javis-slave --control-token TOKEN persist your own token (>= 16 chars)
|
||||
```
|
||||
|
||||
Environment: `JAVIS_SLAVE_CONFIG_DIR` overrides the config folder
|
||||
|
||||
Reference in new issue
Block a user