{"id":19986743,"url":"https://github.com/openiothub/openiothub_plugin","last_synced_at":"2025-09-09T01:37:34.856Z","repository":{"id":114855934,"uuid":"327019709","full_name":"OpenIoTHub/openiothub_plugin","owner":"OpenIoTHub","description":"OpenIoTHub UI plugin","archived":false,"fork":false,"pushed_at":"2025-05-01T07:10:57.000Z","size":1492,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-01T08:23:10.139Z","etag":null,"topics":["iot"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenIoTHub.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-01-05T14:15:01.000Z","updated_at":"2025-05-01T07:10:51.000Z","dependencies_parsed_at":"2023-03-13T13:04:49.901Z","dependency_job_id":"e06d0004-def7-4a56-8495-01462105d6b8","html_url":"https://github.com/OpenIoTHub/openiothub_plugin","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIoTHub%2Fopeniothub_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIoTHub%2Fopeniothub_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIoTHub%2Fopeniothub_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIoTHub%2Fopeniothub_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenIoTHub","download_url":"https://codeload.github.com/OpenIoTHub/openiothub_plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252304848,"owners_count":21726612,"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":["iot"],"created_at":"2024-11-13T04:30:14.775Z","updated_at":"2025-05-04T07:31:38.056Z","avatar_url":"https://github.com/OpenIoTHub.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openiothub_plugin\n\n#### 云易连APP的UI部分插件，通过添加UI插件以支持更多的\n\n[物联网设备](./lib/plugins/mdnsService/devices)和[私有云服务](./lib/plugins/mdnsService/mDNSService)\n\n#### 开发云易连插件需要包含三步：\n\n* 在[设备模型目录](./lib/plugins/mdnsService/devices)或者\n  [私有云服务目录](./lib/plugins/mdnsService/mDNSService)创建对应的界面模型\n* 将上述创建的页面引入到[components.dart](./lib/plugins/mdnsService/components.dart)\n* 将创建的页面在[modelsMap.dart](./lib/plugins/mdnsService/modelsMap.dart)中的map里面注册(map的key是设备或者模型的名称，值是页面)\n\n#### 例如：\n\n创建一个[oneKeySwitch.dart](lib/plugins/mdnsService/devices/local/oneKeySwitch.dart)页面  \n然后在[components.dart](./lib/plugins/mdnsService/components.dart#L5)引入  \n然后在[modelsMap.dart](./lib/plugins/mdnsService/modelsMap.dart#L9)中注册\n\n#### 插件规范：\n\n目前插件规范是引入一个PortService模型，页面根据PortService中保存的信息进行操作  \n页面一个设一个名叫modelName的静态常亮，这是该模型的唯一ID  \n具体参考目前的插件页面例子\n\n## Getting Started\n\nThis project is a starting point for a Dart\n[package](https://flutter.dev/developing-packages/), a library module containing code that can be\nshared easily across multiple Flutter or Dart projects.\n\nFor help getting started with Flutter, view our\n[online documentation](https://flutter.dev/docs), which offers tutorials, samples, guidance on\nmobile development, and a full API reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopeniothub%2Fopeniothub_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopeniothub%2Fopeniothub_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopeniothub%2Fopeniothub_plugin/lists"}