项目简介
本项目为ESP32设备提供了一种简便的项目安装方式,无需手动安装依赖和工具,用户通过Web界面即可下载并安装项目。
项目的主要特性和功能
- 支持通过Arduino IDE进行安装。
- 无依赖项,使用便捷。
- 提供Web界面,操作直观。
- 支持从列出的仓库(Repo)进行OTA更新。
- 支持从自定义URL进行OTA更新。
- 支持本地OTA更新(从本地目录)。
安装使用步骤
准备工作
假设用户已经下载了本项目的源码文件。
安装过程
- 将项目代码复制到本地目录,可使用
下载为zip
或git clone
方法。 - 打开
espinstaller.ino
文件,修改以下两行代码为你的网络信息:const char* ssid = "YOUR_SSID"; const char* password = "YOUR_PASS";
使用方式
安装完成后,ESP32会连接到网络,通过Web浏览器访问http://esp-installer.local
,使用界面选择要安装的项目。注意,目标项目安装后,若不重新刷写ESP32,很难回到ESPInstaller。
添加项目到仓库列表
- 复刻本项目,修改
list.json
文件,在文件底部添加你的仓库信息,格式如下:{ "name": "YourProjectName", "description": "A short description", }
完成后向本项目提交拉取请求。 - 在你的项目中添加一个新文件夹,包含所有项目版本:
yourAwesomeProject |_versions |_list.json |_0.9 |_espinstall.ino.bin |_1.0.1 |_espinstall.ino.bin |_1.1 |_espinstall.ino.bin |_spiffs.bin
.bin
文件名必须为espinstall.ino.bin
,list.json
格式如下:[{ "version": 1.1, "build": 1, "current": true, "partitionScheme":"min_spiffs", "description": "Awesome improvments!", "compatibility": [1.0.1] },{ "version": 1.0.1, "build": 1, "current": false, "partitionScheme":"min_spiffs", "description": "First stable version!", "compatibility": [] },{ "version": 0.9, "build": 1, "current": false, "partitionScheme":"min_spiffs", "description": "Intial version", "compatibility": [] }]
下载地址
点击下载 【提取码: 4003】【解压密码: www.makuang.net】