加入 pjlink 控制
This commit is contained in:
38
json.md
38
json.md
@@ -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
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user