加入 pjlink 控制

This commit is contained in:
2025-02-28 20:34:50 +08:00
parent 3a2fc431ac
commit 81f31f15a5
11 changed files with 253 additions and 16 deletions

38
json.md
View File

@@ -5,7 +5,7 @@ url: `server/wushan/2/wait`
```json
{
"cron": "* * * *",
"cron": "08:00-22:00 * * *",
"items": [
{
"data": "file://./三峡龙脊BGM.mp3"
@@ -35,18 +35,36 @@ url: `server/wushan/2/play`
}
```
### STOP 待机
## 点位5登龙云台
### 待机
url: `server/wushan/2/command`
url: `server/wushan/5/wait`
```text
stop-bg
```json
{
"cron": "08:00-22:00 * * *",
"items": [
{
"data": "file://./三峡龙脊BGM.mp3"
}
]
}
```
### STOP GAME
### Game
url: `server/wushan/2/command`
url: `server/wushan/5/play`
```text
stop
```
```json
{
"bgm": "file://./青云龙台.mp3",
"power": true,
"volume":1,
"tts": {
"start": "刘佳勇者,恭喜你成功通关!"
},
"game": {
"wait": 10
}
}
```