{ "devices": [ { "id": "85ce7dab-22a3-4d39-b783-268eb037cd88", "name": "test1tcp", "type": "test", "protocol": "TCP", "address": "127.0.0.1", "port": 19987, "keep_alive": true, "commands": [ { "name": "on1", "data": "on1", "type": "text" }, { "name": "on2", "data": "00100000080011", "type": "hex" }, { "name": "2", "data": "2", "type": "text" }, { "name": "3", "data": "3", "type": "text" }, { "name": "4", "data": "4", "type": "text" }, { "name": "5", "data": "5", "type": "text" }, { "name": "6", "data": "6", "type": "text" }, { "name": "7", "data": "7", "type": "text" }, { "name": "8", "data": "8", "type": "text" }, { "name": "111", "data": "111", "type": "text" }, { "name": "1111", "data": "1111", "type": "text" }, { "name": "11111", "data": "11111", "type": "text" }, { "name": "22", "data": "22", "type": "text" }, { "name": "222", "data": "222", "type": "text" }, { "name": "333", "data": "333", "type": "text" }, { "name": "444", "data": "444", "type": "text" } ], "timeout": 5 }, { "id": "e1e6e141-0d41-4251-8d63-786f3485061a", "name": "zm", "type": "zm", "protocol": "UDP", "address": "127.0.0.1", "port": 9128, "keep_alive": false, "commands": [ { "name": "on1", "data": "setr=1111", "type": "text" } ], "timeout": 5 }, { "id": "77c8ea68-f3c0-4e71-8922-0f23909ee8f9", "name": "test2", "type": "test2", "protocol": "TCP", "address": "1.1.1.1", "port": 2, "keep_alive": false, "commands": [ { "name": "1", "data": "1", "type": "text" } ], "timeout": 5 }, { "id": "51f60dc8-5cbd-41d2-8233-077d206c77b5", "name": "test3", "type": "test", "protocol": "TCP", "address": "1.1.1.1", "port": 3, "keep_alive": false, "commands": [ { "name": "2", "data": "2", "type": "text" } ], "timeout": 5 }, { "id": "441b23c7-cd24-45f0-914c-8c65e076b056", "name": "test4", "type": "test", "protocol": "TCP", "address": "1.1.1.1", "port": 4, "keep_alive": false, "commands": [ { "name": "4", "data": "4", "type": "text" } ], "timeout": 5 } ], "scheduled_tasks": [ { "id": "a07f035f-dc44-4fca-be9a-6f9399b526f1", "name": "test1", "schedule_type": "once", "trigger": { "hour": 1, "minute": 41, "second": 0, "year": 2026, "month": 1, "day": 28 }, "actions": [ { "device_id": "85ce7dab-22a3-4d39-b783-268eb037cd88", "command_index": 0, "delay_ms": 0 } ], "enabled": true, "last_run_time": "2026-01-28T01:41:00.285071", "next_run_time": null }, { "id": "6d19bd9a-1815-485b-96ee-0c722f26a0be", "name": "新任务", "schedule_type": "once", "trigger": { "hour": 4, "minute": 31, "second": 0, "year": 2026, "month": 1, "day": 28 }, "actions": [ { "device_id": "85ce7dab-22a3-4d39-b783-268eb037cd88", "command_index": 0, "delay_ms": 0 }, { "device_id": "85ce7dab-22a3-4d39-b783-268eb037cd88", "command_index": 1, "delay_ms": 500 }, { "device_id": "85ce7dab-22a3-4d39-b783-268eb037cd88", "command_index": 2, "delay_ms": 500 }, { "device_id": "85ce7dab-22a3-4d39-b783-268eb037cd88", "command_index": 3, "delay_ms": 500 }, { "device_id": "85ce7dab-22a3-4d39-b783-268eb037cd88", "command_index": 4, "delay_ms": 500 }, { "device_id": "85ce7dab-22a3-4d39-b783-268eb037cd88", "command_index": 5, "delay_ms": 500 }, { "device_id": "85ce7dab-22a3-4d39-b783-268eb037cd88", "command_index": 6, "delay_ms": 500 } ], "enabled": true, "last_run_time": "2026-01-28T04:31:00.158597", "next_run_time": null } ] }