c7b8b01fe2
Receives messages from WeChat Work bot via WebSocket long connection and speaks them through XiaoAi smart speaker TTS. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
14 lines
306 B
Bash
14 lines
306 B
Bash
# WeChat Work Bot Long Connection
|
|
WECOM_BOT_ID=your_bot_id_here
|
|
WECOM_BOT_SECRET=your_bot_secret_here
|
|
|
|
# Xiaomi TTS
|
|
XIAOMI_USER_ID=1136458602
|
|
XIAOMI_TOKEN_PATH=.mi.token
|
|
XIAOMI_SPEAKER_DID=3ba2c1e8-d8cb-45c5-b88a-15624e7a02f3
|
|
|
|
# TTS Behavior
|
|
TTS_ENABLED=true
|
|
TTS_MAX_TEXT_LENGTH=500
|
|
TTS_TIMEOUT_SECONDS=15
|