Skip to content

Commit b1689e2

Browse files
committed
Merge branch 'master' of github.com:OpenEVSE/ESP32_WiFi_V3.x into mongoose_port
2 parents 008cc55 + ab6d291 commit b1689e2

File tree

3 files changed

+20
-36
lines changed

3 files changed

+20
-36
lines changed

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ data_dir = src/data
3030
default_envs = openevse_esp-wrover-kit
3131

3232
[common]
33-
version = -DBUILD_TAG=2.8.1
33+
version = -DBUILD_TAG=3.0.0
3434
monitor_speed = 115200
3535
lib_deps =
3636

readme.md

Lines changed: 18 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -284,32 +284,37 @@ Admin HTTP Authentication (highly recommended) can be enabled by saving admin co
284284
**HTTP authentication is required for all HTTP requests including input API**
285285

286286

287+
### Hardware reset
288+
289+
A Hardware reset can be made (all wifi and services config lost) by pressing and holding GPIO0 hardware button (on the Huzzah WiFi module) for 10s.
290+
291+
*Note: Holding the GPIO0 button for 5s will but the WiFi unit into AP (access point) mode to allow the WiFi network to be changed without loosing all the service config*
292+
287293
### Firmware update
288294

289-
Pre-compiled .bin's can be uploaded via the web interface, see [OpenEVSE Wifi releases](https://github.com/OpenEVSE/ESP8266_WiFi_v2.x/releases) for latest updates.
295+
See [OpenEVSE Wifi releases](https://github.com/OpenEVSE/ESP32_WiFi_v3.x/releases) for latest stable pre-compiled update releases.
290296

291-
### Hardware reset
297+
## Via Web Interface
292298

293-
A Hardware reset can be made (all wifi and services config lost) by pressing and holding GPIO0 hardware button (on the Huzzah WiFi module) for 10s.
299+
This is the easiest way to update, pre-compiled firmware files `.bin` can be uploaded via the web interface: System > Update.
294300

295-
Note: Holding the GPIO0 button for 5s will but the WiFi unit into AP (access point) mode to allow the WiFi network to be changed without loosing all the service config
301+
If for whatever reason the web-interface won't load it's possibel to updated the firmware via CURL:
296302

297-
***
303+
`curl -F '[email protected]' http://<IP-ADDRESS>/update && echo`
298304

299-
## Upload pre-compiled firmware
305+
## Via Network OTA
300306

301-
- Download pre-compiled FW from the [OpenEVSE Wifi releases](https://github.com/OpenEVSE/ESP8266_WiFi_v2.x/releases) page
302-
- Flash using esptool:
307+
The firmware can also be updated via OTA over a local WiFi network usiong Arduino or Platformio
303308

304-
`esptool.py write_flash 0x000000 firmware.bin`
309+
`platformio run -t upload --upload-port <IP-ADDRESS>`
305310

306-
Or use esptool GUI (Pyflasher) avilable on windows/mac https://github.com/marcelstoer/nodemcu-pyflasher
311+
## Via USB Serial Programmer
307312

308-
## Firmware Compile & Upload
313+
`esptool.py write_flash 0x000000 firmware.bin`
309314

310-
**The ESP should be shipped with latest firmware pre-installed, firmware can be updated via the HTTP web interface.**
315+
Or use esptool GUI (Pyflasher) avilable on windows/mac https://github.com/marcelstoer/nodemcu-pyflasher
311316

312-
**Updating from V1: it's possible to update from V1 to V2 firmware using the HTTP web interface uploader, just upload the latest .bin pre-compiled firmware release.***
317+
### Firmware Compile & Upload
313318

314319
If required firmware can also be uploaded via serial using USB to UART cable.
315320

@@ -376,27 +381,6 @@ For more details see the [GUI documentation](https://github.com/OpenEVSE/openevs
376381

377382
***
378383

379-
### Compile & Upload Using Arduino IDE
380-
381-
#### 1. Install ESP for Arduino with Boards Manager
382-
383-
From: https://github.com/esp8266/Arduino
384-
385-
Starting with 1.6.4, Arduino allows installation of third-party platform packages using Boards Manager. ESP Arduino packages are available for Windows, Mac OS, and Linux (32 and 64 bit).
386-
387-
- Install Arduino 1.6.8 from the Arduino website.
388-
- Start Arduino and open Preferences window.
389-
- Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.
390-
- Open Boards Manager from Tools > Board menu and install esp8266 platform (and don't forget to select your ESP8266 board from Tools > Board menu after installation).
391-
392-
393-
#### 2. Compile and Upload
394-
395-
- Open `src.ino` in the Arduino IDE.
396-
- Compile and Upload as normal
397-
398-
***
399-
400384
### Troubleshooting
401385

402386

src/web_static/web_server.lib.js.h

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)