Skip to content

Commit 741b80b

Browse files
committed
Merge branch 'source' of https://github.com/ThingsPanel/thingspanel.github.io into source
2 parents 9021db0 + 212e577 commit 741b80b

3 files changed

Lines changed: 7 additions & 14 deletions

File tree

‎docs/developer-guide/developing-plug-in/customProtocol.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,11 @@ git clone https://gitee.com/ThingsPanel/protocol-plugin-template.git
203203

204204
#### 在线离线通知
205205

206-
- **发布主题**:`device/status`
207-
- **报文格式**:
208-
```json
209-
{"device_id":"device_id","values":1}
210-
```
211-
其中:0-离线,1-上线
206+
- **发布主题**:`devices/status/{device_id}`
207+
- **消息载荷**:
208+
0 - 设备离线
209+
1 - 设备上线
210+
212211

213212
### 平台推送数据给设备接入服务
214213

‎docs/developer-guide/developing-plug-in/deviceFunctionTemplateApi.md‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎docs/quick_start/quick_start.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ version: "3.9"
5050

5151
services:
5252
frontend:
53-
image: registry.cn-hangzhou.aliyuncs.com/thingspanel/thingspanel-vue:v1.1.8
53+
image: registry.cn-hangzhou.aliyuncs.com/thingspanel/thingspanel-vue:v1.1.9
5454
ports:
5555
- "8080:8080"
5656
environment:
@@ -132,7 +132,7 @@ services:
132132
- thingspanel_network
133133

134134
backend:
135-
image: registry.cn-hangzhou.aliyuncs.com/thingspanel/thingspanel-go:v1.1.8
135+
image: registry.cn-hangzhou.aliyuncs.com/thingspanel/thingspanel-go:v1.1.9
136136
ports:
137137
- "9999:9999"
138138
environment:

0 commit comments

Comments
 (0)