* Asyncwebserver * Squashed commit of the following: commit 575ef02f593918ec6654c87407a4d11fc17071b8 Author: technyon <j.o.schuemann@gmx.de> Date: Mon Aug 12 17:56:11 2024 +0200 merge master commit 35e5adf4ecd80f9829e8801181f35dd2c1d94759 Merge: a2cc7be221adca01Author: technyon <j.o.schuemann@gmx.de> Date: Mon Aug 12 17:41:04 2024 +0200 Merge branch 'master' of github.com:technyon/nuki_hub into DM9051 commit a2cc7be2954cbd8767ab8186296c0b14134d1d0b Author: technyon <j.o.schuemann@gmx.de> Date: Mon Aug 12 10:51:50 2024 +0200 update nuki ble commit 20c809f3dca28b29b219d1ff3a183f1981316de5 Author: technyon <j.o.schuemann@gmx.de> Date: Mon Aug 12 10:44:46 2024 +0200 backup commit dd41c218efb5270f5efeb734e64dff695920db16 Merge: 153000b5e84b944aAuthor: technyon <j.o.schuemann@gmx.de> Date: Mon Aug 12 10:40:03 2024 +0200 Merge branch 'master' of github.com:technyon/nuki_hub into DM9051 commit 153000b5b1af7df1fbeb5263df94eb26f689cc0a Author: technyon <j.o.schuemann@gmx.de> Date: Mon Aug 12 10:23:07 2024 +0200 fix linker error commit a93bbfbfc4301e46ff3696a763dd13c6c89efefb Author: technyon <j.o.schuemann@gmx.de> Date: Sun Aug 11 11:27:07 2024 +0200 backup commit f611c75ce8c35f829bcad6cf7e86188f4b3ec331 Merge: f1964917063fbab6Author: technyon <j.o.schuemann@gmx.de> Date: Sun Aug 11 11:24:47 2024 +0200 merge master commit f1964917b4dade3920f1ecdb699c58630199e6da Author: technyon <j.o.schuemann@gmx.de> Date: Sat Aug 10 15:17:45 2024 +0200 update platformio.ini commit f448e5e8a7e93be38e09e2ab0b622199a3721af6 Author: technyon <j.o.schuemann@gmx.de> Date: Sat Aug 10 11:28:09 2024 +0200 add SPIClass instance for DM9051 commit 1f190e9aa08033535a2eb442a92e6e20409bbda1 Author: technyon <j.o.schuemann@gmx.de> Date: Sat Aug 10 11:22:26 2024 +0200 add definitions and constructor for DM9051 commit 726b3602ae91594ee1210ad5b6714f75cc5e42a7 Merge: 50a2eb134af90cbcAuthor: technyon <j.o.schuemann@gmx.de> Date: Sat Aug 10 10:19:34 2024 +0200 merge master commit 50a2eb136d75d90921f1c6974f18bc107bddc123 Author: technyon <j.o.schuemann@gmx.de> Date: Fri Aug 9 11:52:09 2024 +0200 add comment commit 9437e485cae169efdf8e5a7bf188a1c7e792d1e5 Author: technyon <j.o.schuemann@gmx.de> Date: Sun Aug 4 08:29:21 2024 +0200 move LAN8720 definitions to seperate file * Remove Core 2 Ethernet library * Custom Ethernet * GPIO and Preferences * H2
103 lines
3.9 KiB
Plaintext
103 lines
3.9 KiB
Plaintext
Project homepage
|
|
--
|
|
https://github.com/technyon/nuki_hub
|
|
|
|
Howto flash (Webflash)
|
|
--
|
|
|
|
-The easiest way to install is to use the web installer using a compatible browser like Chrome/Opera/Edge
|
|
-Open https://technyon.github.io/nuki_hub/
|
|
-Connect your ESP to the computer using USB
|
|
-Click on "Connect"
|
|
-Select your device from the list and click on "Connect"
|
|
-Select "INSTALL NUKIHUB"
|
|
-Optionally select "Erase device"
|
|
-Click on "Next"
|
|
-Click on "Install"
|
|
|
|
Howto flash (Espressif Flash Download Tools)
|
|
--
|
|
|
|
- Download the Espressif Flash Download Tools (https://www.espressif.com/en/support/download/other-tools)
|
|
- Unpack and start tool
|
|
- Add all four bin files with the corresponding address:
|
|
|
|
ESP32
|
|
e000 boot_app0.bin
|
|
1000 bootloader.bin
|
|
8000 nuki_hub.partitions.bin
|
|
10000 nuki_hub_esp32.bin
|
|
280000 nuki_hub_updater_esp32.bin
|
|
|
|
ESP32-S3
|
|
e000 boot_app0.bin
|
|
0 bootloader.bin
|
|
8000 nuki_hub.partitions.bin
|
|
10000 nuki_hub_esp32s3.bin
|
|
280000 nuki_hub_updater_esp32s3.bin
|
|
|
|
ESP32-C3
|
|
e000 boot_app0.bin
|
|
0 bootloader.bin
|
|
8000 nuki_hub.partitions.bin
|
|
10000 nuki_hub_esp32c3.bin
|
|
280000 nuki_hub_updater_esp32c3.bin
|
|
|
|
ESP32-C6
|
|
e000 boot_app0.bin
|
|
0 bootloader.bin
|
|
8000 nuki_hub.partitions.bin
|
|
10000 nuki_hub_esp32c6.bin
|
|
280000 nuki_hub_updater_esp32c6.bin
|
|
|
|
ESP32-H2
|
|
e000 boot_app0.bin
|
|
0 bootloader.bin
|
|
8000 nuki_hub.partitions.bin
|
|
10000 nuki_hub_esp32h2.bin
|
|
280000 nuki_hub_updater_esp32h2.bin
|
|
|
|
ESP32-SOLO1
|
|
e000 boot_app0.bin
|
|
1000 bootloader.bin
|
|
8000 nuki_hub.partitions.bin
|
|
10000 nuki_hub_esp32-solo1.bin
|
|
280000 nuki_hub_updater_esp32-solo1.bin
|
|
|
|
Make sure the checkmarks for all files are enabled.
|
|
|
|
- Select the COM-Port the ESP device is connected to
|
|
- Click "START"
|
|
- The flash process should start. If it doesn't you eventually have to press a button (labeled BOOT or similar) or short the corresponding PIN on the ESP device
|
|
|
|
|
|
Howto flash (esptool)
|
|
--
|
|
|
|
As an alternative to the Download Tools, you can also use the esptool from the Espressif SDK. The command line to flash looks like this:
|
|
|
|
## ESP32
|
|
|
|
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq keep --flash_size detect 0xe000 boot_app0.bin 0x1000 bootloader.bin 0x10000 nuki_hub_esp32.bin 0x280000 nuki_hub_updater_esp32.bin 0x8000 nuki_hub.partitions.bin
|
|
|
|
## ESP32-S3
|
|
|
|
esptool.py --chip esp32s3 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq keep --flash_size detect 0xe000 boot_app0.bin 0x0 bootloader.bin 0x10000 nuki_hub_esp32s3.bin 0x280000 nuki_hub_updater_esp32s3.bin 0x8000 nuki_hub.partitions.bin
|
|
|
|
## ESP32-C3
|
|
|
|
esptool.py --chip esp32c3 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq keep --flash_size detect 0xe000 boot_app0.bin 0x0 bootloader.bin 0x10000 nuki_hub_esp32c3.bin 0x280000 nuki_hub_updater_esp32c3.bin 0x8000 nuki_hub.partitions.bin
|
|
|
|
## ESP32-C6
|
|
|
|
esptool.py --chip esp32c6 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq keep --flash_size detect 0xe000 boot_app0.bin 0x0 bootloader.bin 0x10000 nuki_hub_esp32c6.bin 0x280000 nuki_hub_updater_esp32c6.bin 0x8000 nuki_hub.partitions.bin
|
|
|
|
## ESP32-H2
|
|
|
|
esptool.py --chip esp32c6 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq keep --flash_size detect 0xe000 boot_app0.bin 0x0 bootloader.bin 0x10000 nuki_hub_esp32h2.bin 0x280000 nuki_hub_updater_esp32h2.bin 0x8000 nuki_hub.partitions.bin
|
|
|
|
## ESP32-SOLO1
|
|
|
|
esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq keep --flash_size detect 0xe000 boot_app0.bin 0x1000 bootloader.bin 0x10000 nuki_hub_esp32-solo1.bin 0x280000 nuki_hub_updater_esp32-solo1.bin 0x8000 nuki_hub.partitions.bin
|
|
|
|
Adjust the serial device and path to the binaries if necessary. |