{"id":20988063,"url":"https://github.com/walkline80/micropython-smartconfig-cmodule","last_synced_at":"2025-05-14T18:31:14.394Z","repository":{"id":236508938,"uuid":"792753074","full_name":"Walkline80/MicroPython-SmartConfig-CModule","owner":"Walkline80","description":"为 MicroPython 提供 SmartConfig 相关功能","archived":false,"fork":false,"pushed_at":"2024-09-17T06:38:31.000Z","size":8007,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-17T09:13:29.209Z","etag":null,"topics":["airkiss","cmodule","esptouch","micropython","smartconfig"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Walkline80.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}},"created_at":"2024-04-27T13:33:02.000Z","updated_at":"2024-09-17T06:38:35.000Z","dependencies_parsed_at":"2024-09-17T09:04:22.647Z","dependency_job_id":"b6ea9a43-675c-4e0f-91cc-45dab4390757","html_url":"https://github.com/Walkline80/MicroPython-SmartConfig-CModule","commit_stats":null,"previous_names":["walkline80/micropython-smartconfig-cmodule"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walkline80%2FMicroPython-SmartConfig-CModule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walkline80%2FMicroPython-SmartConfig-CModule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walkline80%2FMicroPython-SmartConfig-CModule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Walkline80%2FMicroPython-SmartConfig-CModule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Walkline80","download_url":"https://codeload.github.com/Walkline80/MicroPython-SmartConfig-CModule/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225303975,"owners_count":17453056,"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":["airkiss","cmodule","esptouch","micropython","smartconfig"],"created_at":"2024-11-19T06:19:05.337Z","updated_at":"2024-11-19T06:19:05.866Z","avatar_url":"https://github.com/Walkline80.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eMicroPython SmartConfig CModule\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://img.shields.io/badge/Licence-MIT-green.svg?style=for-the-badge\" /\u003e\u003c/p\u003e\n\n## 项目介绍\n\n为`MicroPython`提供`SmartConfig`相关功能，该模块已[提交 PR](https://github.com/micropython/micropython/pull/13658)，欢迎前往测试并留言支持。\n\n相较于 [之前的版本](https://gitee.com/walkline/micropython-smartconfig-cmodule/tree/adapts_to_idf_443/)，这次更新了以下内容：\n\n* `ESP-IDF`更新至`v5.0.4`\n* 去掉了`.py`文件中的辅助函数，改为使用`ESP-IDF`原生`API`实现\n* 增加了对`EspTouch V2`协议支持\n\n## 如何添加模块\n\n* 在`MicroPython`项目同级目录克隆或粘贴本项目文件夹，并将文件夹重命名为`smartconfig`\n\n\t```bash\n\tgit clone https://gitee.com/walkline/micropython-smartconfig-cmodule.git smartconfig\n\t```\n\n* 根据`MicroPython`项目固件编译说明做好前期准备\n\n* 使用如下命令编译固件：\n\n\t```bash\n\tcd micropython/ports/esp32\n\tmake USER_C_MODULES=../../../../smartconfig/cmodules/micropython.cmake\n\t```\n\n## 模块使用说明\n\n参考项目目录下`main.py`文件中的代码，同时还可以 [前往B站](https://www.bilibili.com/video/BV1N34y1971S/) 观看配网演示视频。\n\n查看 [模块方法列表](./DOCS.md)\n\n## 手机操作说明\n\n* 手机连接`2.4G`无线网络（**重要**）\n* 任意选择一个`微信公众号`或`App`：\n\t* 关注`安信可科技`微信公众号，点击`应用开发→微信配网`\n\t* 关注`乐鑫信息科技`微信公众号，点击`商铺→Airkiss 设备`\n\t* 安装`EspTouch App`点击`EspTouch`\n\t* 安装`腾讯连连 App`，任意添加一个设备\n\n* 输入`WiFi 密码`后点击`连接`按钮\n\n## 获取 EspTouch App\n\n* [Esptouch For Android](https://github.com/EspressifApp/EsptouchForAndroid/releases)\n\n* [App Store 上的“Espressif Esptouch”](https://apps.apple.com/cn/app/espressif-esptouch/id1071176700)\n\n## 已知问题\n\n* `2.4G`和`5G`混合网络下使用`AirKiss`协议无法获取相关信息\n* 某些（我的）`WiFi6`路由器使用`AirKiss`协议无法获取相关信息\n\n## 参考资料\n\n* [smartconfig Example](https://github.com/espressif/esp-idf/tree/master/examples/wifi/smart_config)\n\n* [App | 乐鑫科技](https://www.espressif.com.cn/zh-hans/support/download/apps?keys=\u0026field_technology_tid%5B%5D=20\n)\n\n## 合作交流\n\n* 联系邮箱：\u003cwalkline@163.com\u003e\n* QQ 交流群：\n\t* 走线物联：[163271910](https://jq.qq.com/?_wv=1027\u0026k=xtPoHgwL)\n\t* 扇贝物联：[31324057](https://jq.qq.com/?_wv=1027\u0026k=yp4FrpWh)\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://gitee.com/walkline/WeatherStation/raw/docs/images/qrcode_walkline.png\" width=\"300px\" alt=\"走线物联\"\u003e\u003cimg src=\"https://gitee.com/walkline/WeatherStation/raw/docs/images/qrcode_bigiot.png\" width=\"300px\" alt=\"扇贝物联\"\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalkline80%2Fmicropython-smartconfig-cmodule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalkline80%2Fmicropython-smartconfig-cmodule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalkline80%2Fmicropython-smartconfig-cmodule/lists"}