{"id":21043554,"url":"https://github.com/thingspanel/modbus-protocol-plugin","last_synced_at":"2026-04-01T19:40:55.601Z","repository":{"id":64297186,"uuid":"550653556","full_name":"ThingsPanel/modbus-protocol-plugin","owner":"ThingsPanel","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-26T11:52:14.000Z","size":6116,"stargazers_count":11,"open_issues_count":0,"forks_count":20,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-26T14:08:49.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThingsPanel.png","metadata":{"files":{"readme":"README-DEV.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-13T05:33:23.000Z","updated_at":"2024-08-26T11:52:17.000Z","dependencies_parsed_at":"2023-02-15T20:30:42.578Z","dependency_job_id":"f0e9075d-0ae7-4b50-be88-988b1462c35a","html_url":"https://github.com/ThingsPanel/modbus-protocol-plugin","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingsPanel%2Fmodbus-protocol-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingsPanel%2Fmodbus-protocol-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingsPanel%2Fmodbus-protocol-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingsPanel%2Fmodbus-protocol-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThingsPanel","download_url":"https://codeload.github.com/ThingsPanel/modbus-protocol-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225365796,"owners_count":17462973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T14:13:13.831Z","updated_at":"2026-03-08T23:32:33.062Z","avatar_url":"https://github.com/ThingsPanel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 开发帮助\n\n## SDK升级\n\ngo get -u github.com/ThingsPanel/tp-protocol-sdk-go@v1.1.0\ngo get -u github.com/ThingsPanel/tp-protocol-sdk-go@v1.1.2\ngo get -u github.com/ThingsPanel/tp-protocol-sdk-go@v1.1.3\ngo get -u github.com/ThingsPanel/tp-protocol-sdk-go@v1.1.4\ngo get -u github.com/ThingsPanel/tp-protocol-sdk-go@v1.1.5\ngo get -u github.com/ThingsPanel/tp-protocol-sdk-go@v1.1.6\ngo get -u github.com/ThingsPanel/tp-protocol-sdk-go@v1.1.7\ngo get -u github.com/ThingsPanel/tp-protocol-sdk-go@latest\nmosquitto_pub -h 47.115.210.16 -p 1883 -t \"devices/telemetry\" -m \"{\\\"temp\\\":12.5}\" -u \"c55d8498\" -P \"c55d8498-e01e\" -i \"0\"\nmosquitto_pub -h 47.115.210.16 -p 1883 -t \"devices/telemetry\" -m \"{\\\"temp\\\":12.5}\" -u \"c55d8498\" -P \"c55d8498-e01e\" -i \"0\"\n\n## 测试\n\n设备ID：7fa6bf8d-4803-d1a3-2c0c-84d1cee4b9ba\npkg：xxxxxx\n\n网关设备配置：MODBUS-TCP协议网关\n子设备设备配置：MODBUS-TCP子设备配置\n\n```json\n{\n\t\"id\": \"7fa6bf8d-4803-d1a3-2c0c-84d1cee4b9ba\",\n\t\"voucher\": \"{\\\"reg_pkg\\\":\\\"xxxxxx\\\"}\",\n\t\"device_type\": \"2\",\n\t\"protocol_type\": \"MODBUS_TCP\",\n\t\"config\": {},\n\t\"protocol_config_template\": null,\n\t\"sub_device\": [\n\t\t{\n\t\t\t\"device_id\": \"046832de-4f6d-7708-4a87-1a429c7dd580\",\n\t\t\t\"voucher\": \"{\\\"default\\\":\\\"47cbe486-6565-4ec9-6020-7579820636e5\\\"}\",\n\t\t\t\"sub_device_addr\": \"xxxxxx\",\n\t\t\t\"config\": {},\n\t\t\t\"protocol_config_template\": {\n\t\t\t\t\"CommandRawList\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"DataIdentifierListStr\": \"ewqe\",\n\t\t\t\t\t\t\"DataType\": \"coil\",\n\t\t\t\t\t\t\"DecimalPlacesListStr\": \"ewq\",\n\t\t\t\t\t\t\"Endianess\": \"LITTLE\",\n\t\t\t\t\t\t\"EquationListStr\": \"ewq\",\n\t\t\t\t\t\t\"FunctionCode\": 1,\n\t\t\t\t\t\t\"Interval\": \"ewq\",\n\t\t\t\t\t\t\"Quantity\": \"ewq\",\n\t\t\t\t\t\t\"StartingAddress\": \"ewq\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"DataIdentifierListStr\": \"fdsa\",\n\t\t\t\t\t\t\"DataType\": \"uint16\",\n\t\t\t\t\t\t\"DecimalPlacesListStr\": \"fdsa\",\n\t\t\t\t\t\t\"Endianess\": \"LITTLE\",\n\t\t\t\t\t\t\"EquationListStr\": \"fdsa\",\n\t\t\t\t\t\t\"FunctionCode\": 2,\n\t\t\t\t\t\t\"Interval\": \"fdsa\",\n\t\t\t\t\t\t\"Quantity\": \"fdsa\",\n\t\t\t\t\t\t\"StartingAddress\": \"fds\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"SlaveID\": \"wqewq\"\n\t\t\t}\n\t\t}\n\t]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthingspanel%2Fmodbus-protocol-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthingspanel%2Fmodbus-protocol-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthingspanel%2Fmodbus-protocol-plugin/lists"}