{"id":16252006,"url":"https://github.com/kerwincui/kwswitch","last_synced_at":"2025-08-13T20:09:52.880Z","repository":{"id":37122062,"uuid":"266500228","full_name":"kerwincui/kwswitch","owner":"kerwincui","description":"智能开关平台，包含服务端、硬件端、安卓端和前端。关键词：物联网开关、远程开关、红外线遥控开关、WIFI继电器、MQTT协议、ESP8266、Iot smart switch、Android、Spring boot、Vue、Arduino","archived":false,"fork":false,"pushed_at":"2023-12-16T17:22:21.000Z","size":8580,"stargazers_count":150,"open_issues_count":3,"forks_count":63,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-10T03:24:05.214Z","etag":null,"topics":["arduino","esp8266","iot"],"latest_commit_sha":null,"homepage":"http://wumei.live","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/kerwincui.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":"2020-05-24T08:30:18.000Z","updated_at":"2025-07-03T06:29:23.000Z","dependencies_parsed_at":"2025-05-09T01:54:11.869Z","dependency_job_id":null,"html_url":"https://github.com/kerwincui/kwswitch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kerwincui/kwswitch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerwincui%2Fkwswitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerwincui%2Fkwswitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerwincui%2Fkwswitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerwincui%2Fkwswitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kerwincui","download_url":"https://codeload.github.com/kerwincui/kwswitch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerwincui%2Fkwswitch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270305615,"owners_count":24562087,"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-13T02:00:09.904Z","response_time":66,"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":["arduino","esp8266","iot"],"created_at":"2024-10-10T15:12:06.812Z","updated_at":"2025-08-13T20:09:52.794Z","avatar_url":"https://github.com/kerwincui.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## 平台简介 \n\n　　该智能开关平台包括服务端、硬件端、PC端和安卓端。硬件使用ESP8266模块，成本相对较低，可以发挥想象力，搭配各种传感器，实现自己的智能终端。[码云最新源码\u003e\u003e](https://gitee.com/kerwincui/kwswitch)\u003cbr /\u003e\u003cbr /\u003e\n  [演示视频看这里\u003e\u003e\u003e](https://www.bilibili.com/video/BV1Qg4y1q7nk?from=search\u0026seid=16334091011357696233)\u003cbr /\u003e\u003cbr /\u003e\n\n群号：1073236354\n\n**应用场景**：智能开关的应用场景比较广泛，一般家里通电即可使用的设备都能搭配该模块，升级为网络版，进行联网控制。常见的就是智能开关、智能插座和智能灯，搭配土壤湿度传感器可以实现智能浇灌，搭配温湿度传感器可以监控温湿度，其他传感器例如：触控开关、雨滴探测、声音传感器、光敏传感器、烟雾传感器、火焰报警、人体感应等等。\n\n![场景](https://gitee.com/kerwincui/kwswitch/raw/master/document/0.png)\n  \n**智能开关目前支持的功能**：\n- 远程控制\n- 掉电记忆\n- 触控开关\n- 红外遥控\n- 温湿度监测\n- 本地控制\n- 单双路继电器支持\n- 智能配网（长按配置按钮进入）\n- 不联网模式（双击配置按钮切换）\n- 定时执行 （待完成...）\n- 语音控制 （待完成...）\n- 云端升级 （待完成...）\n    \n\u003cbr /\u003e \n \n## 技术栈\n* 该项目前后端基于[若依权限管理系统](https://gitee.com/y_project/RuoYi-Vue)\n* 开关的硬件使用[贝壳物联](https://www.bigiot.net/)的Wifi继电器模块\n* 安卓端使用乐鑫的[EspTouch](https://github.com/EspressifApp/EsptouchForAndroid)和[讯飞](https://www.xfyun.cn/)的语音SDK   \n    \n    \n#### 平台架构图：\n![平台架构图](https://gitee.com/kerwincui/kwswitch/raw/master/document/1.png)  \n\n#### 项目结构图：\n![项目结构图](https://gitee.com/kerwincui/kwswitch/raw/master/document/01.png) \n    \n#### 后端\n* 相关技术：Spring boot、MyBatis、Spring Security、Jwt、Mysql、Redis、Mongodb、MQTT\n* 开发工具：IDEA\n    \n#### 前端\n* 相关技术：ES6、Vue、Vuex、Vue-router、Vue-cli、Axios、Element-ui\n* 开发工具：Visual Studio Code\n    \n#### 安卓\n* 相关技术：Smartconfig、GSON、OkHttp、讯飞语音\n* 开发工具：Android Studio\n    \n#### 硬件端\n* 相关技术： Arduino、ESP8266 Arduino Core、OneButton、IRromoteESP8266、PubSubClient\n* 开发工具：Arduino IDE、Visual Studio Code\n* 辅助工具：USB转TTL下载线、AC-DC降压模块（可选）、红外遥控模块（可选）、DHT11温湿度传感器（可选）、触控开关（可选）\n* 硬件图片：硬件图片来自贝壳物联官网\u003cbr /\u003e\n![硬件图片](https://gitee.com/kerwincui/kwswitch/raw/master/document/2.jpg)\n* 硬件电路图：\u003cbr /\u003e\n![硬件](https://gitee.com/kerwincui/kwswitch/raw/master/document/3.jpg)    \n* 电路接线图：（默认5V电压，如果要接220V交流电，需要搭配一个AC-DC降压模块）\u003cbr /\u003e\n![硬件](https://gitee.com/kerwincui/kwswitch/raw/master/document/4.png)\n   \n\u003cbr /\u003e\u003cbr /\u003e  \n## 演示图\n![演示](https://gitee.com/kerwincui/kwswitch/raw/master/document/5.png)\n![演示](https://gitee.com/kerwincui/kwswitch/raw/master/document/6.png)\n![演示](https://gitee.com/kerwincui/kwswitch/raw/master/document/7.png)\n![演示](https://gitee.com/kerwincui/kwswitch/raw/master/document/8.jpg)\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerwincui%2Fkwswitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkerwincui%2Fkwswitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerwincui%2Fkwswitch/lists"}