IM Push Configuration (DingTalk / WeCom / Feishu)
Simple IoT supports pushing alarm notifications to DingTalk, WeCom (WeChat Work), and Feishu group robots.
Data Model
The tb_im_push_config table stores webhook configs per platform:
| Field | Description |
|---|---|
name | Config name |
platform | DINGTALK / WECOM / FEISHU |
webhook_url | Group robot webhook URL |
secret | Signing secret (DingTalk only) |
is_enabled | Enable toggle |
API
List
GET /im-push-config/listCreate
POST /im-push-config
Content-Type: application/json
{
"name": "Ops Alarm Group",
"platform": "DINGTALK",
"webhookUrl": "https://oapi.dingtalk.com/robot/send?access_token=xxx",
"secret": "SECxxx",
"isEnabled": true
}Update / Delete
PUT /im-push-config
DELETE /im-push-config/{id}Platform Setup
DingTalk
- Group Settings -> Smart Assistant -> Add Robot -> Custom
- Security: select "Sign", copy the secret
- Copy webhook URL
- Fill both URL and secret in Simple IoT
WeCom (WeChat Work)
- Group chat -> right-click -> Add Group Robot
- Copy webhook URL
- Fill URL only (no secret needed)
Feishu
- Group Settings -> Group Robots -> Add -> Custom Robot
- Copy webhook URL
- Fill URL only (no secret needed)
Message Format
| Platform | Format |
|---|---|
| DingTalk | Markdown (### Title\n\nContent) |
| WeCom | Markdown (### Title\n\nContent) |
| Feishu | Interactive card (header + markdown element) |
Rule Engine Integration
IM push is triggered via the OUTPUT_MESSAGE rule node. When an alarm rule matches, AlarmCreateNode creates the alarm, then MessageOutputNode dispatches to the configured IM platform.