Document urgent flag in operations guide
Added example for urgent messages with higher volume playback. Also updated voice example to use lessac-high. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
5f7dd68bf6
commit
5842707da9
@ -94,10 +94,23 @@ curl -X POST http://localhost:8888/notify \
|
|||||||
-d '{
|
-d '{
|
||||||
"message": "Speaking at a different rate",
|
"message": "Speaking at a different rate",
|
||||||
"rate": 200,
|
"rate": 200,
|
||||||
"voice": "en_US-lessac-medium"
|
"voice": "en_US-lessac-high"
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Example: Urgent Message (Higher Volume)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -X POST http://localhost:8888/notify \
|
||||||
|
-H 'Content-Type: application/json' \
|
||||||
|
-d '{
|
||||||
|
"message": "Critical alert! Immediate attention required.",
|
||||||
|
"urgent": true
|
||||||
|
}'
|
||||||
|
```
|
||||||
|
|
||||||
|
The `urgent` flag plays audio at 1.5x volume for critical messages.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Configuration is via environment variables. Edit the service file or create a `.env` file:
|
Configuration is via environment variables. Edit the service file or create a `.env` file:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user