{"id":20458497,"url":"https://github.com/zmops/zeus-modbus","last_synced_at":"2025-08-21T05:33:19.449Z","repository":{"id":79682748,"uuid":"452132782","full_name":"zmops/zeus-modbus","owner":"zmops","description":"基于python的FastApi+pymodbus+APScheduler开发的采集平台,包括支持http接口修改寄存器数据,定时发送采集数据给zabbix服务端.","archived":false,"fork":false,"pushed_at":"2022-07-14T02:55:25.000Z","size":223,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-13T05:45:39.331Z","etag":null,"topics":["fastapi","modbus","pymodbus","python","zabbix","zeus-iot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zmops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-01-26T03:51:13.000Z","updated_at":"2024-08-30T09:50:33.000Z","dependencies_parsed_at":"2023-05-14T15:45:38.881Z","dependency_job_id":null,"html_url":"https://github.com/zmops/zeus-modbus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zmops/zeus-modbus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmops%2Fzeus-modbus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmops%2Fzeus-modbus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmops%2Fzeus-modbus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmops%2Fzeus-modbus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmops","download_url":"https://codeload.github.com/zmops/zeus-modbus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmops%2Fzeus-modbus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271430827,"owners_count":24758384,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fastapi","modbus","pymodbus","python","zabbix","zeus-iot"],"created_at":"2024-11-15T12:12:46.894Z","updated_at":"2025-08-21T05:33:19.444Z","avatar_url":"https://github.com/zmops.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# modbus采集服务\n## 框架介绍\n**FastApi+pymodbus多进程采集服务**\n* Python3.8+\n\n## 功能介绍\n**模块**\n* api: 定义业务接口\n    \u003e 定位对外暴露的接口 默认接口文档: http://127.0.0.1:8029/docs/\n\n* core: 核心功能\n    \u003e 定义核心组件\n\n    ###### 组件\n    1. device: 设备读取和采集方法\n    2. enums: 枚举类\n    3. errors: 异常\n    4. events: 事件（定时任务开启）\n    5. modbus: modbus核心方法\n    6. task: 任务 定时采集发送\n\n* files: 文件\n    \u003e 管理普通文件\n\n* logs: 日志\n    \u003e 保存日志\n\n* utils\n    \u003e 工具库\n\n**文件**\n* config.py\n    \u003e 配置项目参数\n  \n    ###### zabbix参数\n    1. ip: zabbix服务端IP\n    2. port: zabbix采集接受端口\n    3. interval: 定时采集频率 单位秒\n  \n* device.py\n    \u003e 采集的设备信息\n\n    ###### 设备参数\n    1. id: 设备ID zabbix中资源名称 host字段\n    2. model: 设备型号 采集服务中已内置的型号方法名称 不匹配则不支持采集\n    3. ipaddress: 采集设备上报的modbus服务对应IP\n    4. port: 采集设备上报的modbus服务对应端口\n    5. slave: 采集设备从地址\n    6. sub: 切割子设备\n\n* main.py\n    \u003e 主函数 可用来debug\n\n* run_app.py\n    \u003e 运行文件 可修改服务端口","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmops%2Fzeus-modbus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmops%2Fzeus-modbus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmops%2Fzeus-modbus/lists"}