{"id":15037595,"url":"https://github.com/lou-lan/smartconfig","last_synced_at":"2025-10-06T15:20:29.365Z","repository":{"id":147230023,"uuid":"75631323","full_name":"lou-lan/SmartConfig","owner":"lou-lan","description":"SmartConfig ESP8266 with Swift language（Swift 语言编写的 Smart Config UDP 广播给 ESP WiFi 芯片入网程序）","archived":false,"fork":false,"pushed_at":"2020-04-27T04:51:40.000Z","size":3977,"stargazers_count":35,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T23:29:21.496Z","etag":null,"topics":["airkiss","esp32","esp8266","esptouch","smartconfig","swift","swift3"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/lou-lan.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}},"created_at":"2016-12-05T14:15:11.000Z","updated_at":"2024-04-20T15:21:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"e37dbecf-22d2-460c-94d6-4db65eeaa097","html_url":"https://github.com/lou-lan/SmartConfig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lou-lan/SmartConfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lou-lan%2FSmartConfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lou-lan%2FSmartConfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lou-lan%2FSmartConfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lou-lan%2FSmartConfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lou-lan","download_url":"https://codeload.github.com/lou-lan/SmartConfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lou-lan%2FSmartConfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278631472,"owners_count":26018956,"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-10-06T02:00:05.630Z","response_time":65,"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":["airkiss","esp32","esp8266","esptouch","smartconfig","swift","swift3"],"created_at":"2024-09-24T20:35:04.438Z","updated_at":"2025-10-06T15:20:29.337Z","avatar_url":"https://github.com/lou-lan.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SmartConfig\nSmartConfig is an ESP board auto connect WiFi demo written in Swift.\n\n## Requirements\n- iOS 8.0+\n- Xcode 8.0+\n- Swift 3.0\n## Bridge ESPtouch lib\n1.Xcode -\u003e Create a new Xcode project -\u003e Single View App.  \n2.Download lib [https://github.com/EspressifApp/LibEsptouchForIOS](https://github.com/EspressifApp/LibEsptouchForIOS).  \n3.Move libEsptouch_v0.3.5.3.a, ESPTouchTask.h, ESPTouchResult.h, ESPTouchDelegate.h to your new project.  \n![](https://github.com/lou-lan/SmartConfig/blob/master/images/1.png) \n4.In project group finder, create a new fire, select Objecttive-C file, then select Create Bridging Header.  \n![](https://github.com/lou-lan/SmartConfig/blob/master/images/2.png) \n5.In Demo-Bridging-Header.h file, import lib.  \n![](https://github.com/lou-lan/SmartConfig/blob/master/images/3.png) \n```\n#import \"ESPTouchTask.h\"\n#import \"ESPTouchResult.h\"\n#import \"ESPTouchDelegate.h\"\n```\n## Hardware ESP8266 NodeMCU Code init.lua Test\n```lua\nprint(\"Start SmartConfig ...\")\nwifi.setmode(wifi.STATION)\nwifi.startsmart(0,\n    function(ssid, password)\n        print(string.format(\"Success. SSID:%s ; PASSWORD:%s\", ssid, password))\n        print(\"Back init.lua\")\n        dofile(\"init.lua\")\n    end\n)\n```\n\n## TODO\n[] SwiftUI  \n[] WiFi 5G\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flou-lan%2Fsmartconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flou-lan%2Fsmartconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flou-lan%2Fsmartconfig/lists"}