台灣智慧建築擴充:電梯(tw_elevator_*)與門禁(tw_access_door_*)聯動 action。
基於 VDA5050 v2.0 的 actionType 擴充機制,以 tw_ 前綴避免衝突。
所有 action 透過 core spec 的 instantActions channel 傳送;
CMS 回應透過 core spec 的 state channel 的 actionStates 回傳。
依賴 core spec:./asyncapi-core.yaml
此 channel 只為工具鏈展示 T-Extension action 格式; 實作時請使用 core spec 的 instantActions channel。
機器人呼叫電梯
廠商代碼
機器人序號
Accepts the following message:
{
"headerId": 2,
"timestamp": "2026-04-13T18:01:00.000Z",
"version": "2.0.0",
"manufacturer": "pudu",
"serialNumber": "ROBOT-001",
"instantActions": [
{
"actionId": "call-001",
"actionType": "tw_elevator_call",
"blockingType": "HARD",
"actionParameters": [
{
"key": "elevatorId",
"value": "elev-uuid-1"
},
{
"key": "currentFloor",
"value": 1
},
{
"key": "targetFloor",
"value": 5
},
{
"key": "priority",
"value": "normal"
}
]
}
]
}
此 channel 只為工具鏈展示 T-Extension action 格式; 實作時請使用 core spec 的 instantActions channel。
機器人通知已進入電梯
廠商代碼
機器人序號
Accepts the following message:
{
"headerId": 3,
"timestamp": "2026-04-13T18:02:00.000Z",
"version": "2.0.0",
"manufacturer": "pudu",
"serialNumber": "ROBOT-001",
"instantActions": [
{
"actionId": "enter-001",
"actionType": "tw_elevator_enter",
"blockingType": "HARD",
"actionParameters": [
{
"key": "elevatorId",
"value": "elev-uuid-1"
}
]
}
]
}
此 channel 只為工具鏈展示 T-Extension action 格式; 實作時請使用 core spec 的 instantActions channel。
機器人通知已離開電梯
廠商代碼
機器人序號
Accepts the following message:
{
"headerId": 4,
"timestamp": "2026-04-13T18:03:00.000Z",
"version": "2.0.0",
"manufacturer": "pudu",
"serialNumber": "ROBOT-001",
"instantActions": [
{
"actionId": "exit-001",
"actionType": "tw_elevator_exit",
"blockingType": "HARD",
"actionParameters": [
{
"key": "elevatorId",
"value": "elev-uuid-1"
}
]
}
]
}
此 channel 只為工具鏈展示 T-Extension action 格式; 實作時請使用 core spec 的 instantActions channel。
機器人查詢場域梯廳與電梯清單
廠商代碼
機器人序號
Accepts the following message:
{
"headerId": 1,
"timestamp": "2026-04-13T18:00:00.000Z",
"version": "2.0.0",
"manufacturer": "pudu",
"serialNumber": "ROBOT-001",
"instantActions": [
{
"actionId": "discovery-001",
"actionType": "tw_elevator_discovery",
"blockingType": "NONE",
"actionParameters": []
}
]
}
此 channel 只為工具鏈展示 T-Extension action 格式; 實作時請使用 core spec 的 instantActions channel。
機器人查詢指定電梯狀態
廠商代碼
機器人序號
Accepts the following message:
{
"headerId": 1712995260000,
"timestamp": "2026-04-13T18:04:00.500Z",
"version": "2.0.0",
"manufacturer": "pudu",
"serialNumber": "ROBOT-001",
"orderId": "",
"orderUpdateId": 0,
"lastNodeId": "",
"lastNodeSequenceId": 0,
"driving": false,
"operatingMode": "AUTOMATIC",
"nodeStates": [],
"edgeStates": [],
"actionStates": [
{
"actionId": "status-001",
"actionType": "tw_elevator_status",
"actionStatus": "FINISHED",
"resultDescription": "{\"elevatorId\":\"elev-uuid-1\",\"currentFloor\":3,\"doorState\":\"closed\",\"direction\":\"idle\",\"reserved\":false}"
}
],
"batteryState": {
"batteryCharge": 100,
"charging": false
},
"errors": [],
"safetyState": {
"eStop": "NONE",
"fieldViolation": false
}
}
此 channel 只為工具鏈展示 T-Extension action 格式; 實作時請使用 core spec 的 instantActions channel。
機器人請求開門
廠商代碼
機器人序號
Accepts the following message:
{
"headerId": 10,
"timestamp": "2026-04-13T18:05:00.000Z",
"version": "2.0.0",
"manufacturer": "pudu",
"serialNumber": "ROBOT-001",
"instantActions": [
{
"actionId": "door-open-001",
"actionType": "tw_access_door_open",
"blockingType": "HARD",
"actionParameters": [
{
"key": "doorId",
"value": "door-uuid-A"
},
{
"key": "authMethod",
"value": "api"
},
{
"key": "holdOpenSeconds",
"value": "30"
}
]
}
]
}