Working zigbee generic, connected to network and HA

This commit is contained in:
Sam
2025-05-16 15:18:20 +10:00
parent 5585dc0222
commit 78ced50673
42 changed files with 2547 additions and 1552 deletions

File diff suppressed because one or more lines are too long

View File

@@ -30,4 +30,4 @@ but the current user is:
To add an exception for this directory, call:
git config --global --add safe.directory C:/Espressif/frameworks/esp-idf-v5.4.1
-5d3a542-1.6.4-2025-05-14 04:37:51 UTC
-5585dc0-1.6.4-2025-05-15 06:26:25 UTC

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +0,0 @@
esptool.py v4.8.1
Serial port COM25
Connecting...
Chip is ESP32-H2 (revision v0.1)
Features: BLE, IEEE802.15.4
Crystal is 32MHz
MAC: 48:31:b7:ff:fe:c2:a5:fc
BASE MAC: 48:31:b7:c2:a5:fc
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Erasing flash (this may take a while)...
Chip erase completed successfully in 1.3s
Hard resetting via RTS pin...

View File

@@ -1,17 +0,0 @@
esptool.py v4.8.1
Serial port COM25
Connecting....
Chip is ESP32-H2 (revision v0.1)
Features: BLE, IEEE802.15.4
Crystal is 32MHz
MAC: 48:31:b7:ff:fe:c2:a5:fc
BASE MAC: 48:31:b7:c2:a5:fc
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Erasing flash (this may take a while)...
Chip erase completed successfully in 1.4s
Hard resetting via RTS pin...

View File

@@ -26,34 +26,34 @@ Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x0008afff...
Flash will be erased from 0x00008000 to 0x00008fff...
SHA digest in image updated
Compressed 21696 bytes to 13431...
Compressed 21696 bytes to 13433...
Writing at 0x00000000... (100 %)
Wrote 21696 bytes (13431 compressed) at 0x00000000 in 0.2 seconds (effective 966.0 kbit/s)...
Wrote 21696 bytes (13433 compressed) at 0x00000000 in 0.3 seconds (effective 534.0 kbit/s)...
Hash of data verified.
Compressed 501584 bytes to 287402...
Compressed 501584 bytes to 287399...
Writing at 0x00010000... (5 %)
Writing at 0x0001c941... (11 %)
Writing at 0x00023a70... (16 %)
Writing at 0x0001c93e... (11 %)
Writing at 0x00023a71... (16 %)
Writing at 0x0002b05a... (22 %)
Writing at 0x0003191f... (27 %)
Writing at 0x0003765d... (33 %)
Writing at 0x0003d26e... (38 %)
Writing at 0x000430fd... (44 %)
Writing at 0x00049158... (50 %)
Writing at 0x0004fd53... (55 %)
Writing at 0x00056239... (61 %)
Writing at 0x0005c471... (66 %)
Writing at 0x00063358... (72 %)
Writing at 0x0006a17d... (77 %)
Writing at 0x0006fd94... (83 %)
Writing at 0x000783f5... (88 %)
Writing at 0x0007f65d... (94 %)
Writing at 0x00086329... (100 %)
Wrote 501584 bytes (287402 compressed) at 0x00010000 in 2.2 seconds (effective 1791.2 kbit/s)...
Writing at 0x00031920... (27 %)
Writing at 0x00037660... (33 %)
Writing at 0x0003d273... (38 %)
Writing at 0x00043100... (44 %)
Writing at 0x0004915a... (50 %)
Writing at 0x0004fd57... (55 %)
Writing at 0x0005623b... (61 %)
Writing at 0x0005c474... (66 %)
Writing at 0x0006335b... (72 %)
Writing at 0x0006a184... (77 %)
Writing at 0x0006fd96... (83 %)
Writing at 0x000783f7... (88 %)
Writing at 0x0007f65f... (94 %)
Writing at 0x0008632a... (100 %)
Wrote 501584 bytes (287399 compressed) at 0x00010000 in 3.1 seconds (effective 1302.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 136...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (136 compressed) at 0x00008000 in 0.0 seconds (effective 864.8 kbit/s)...
Wrote 3072 bytes (136 compressed) at 0x00008000 in 0.0 seconds (effective 558.2 kbit/s)...
Hash of data verified.
Leaving...

File diff suppressed because one or more lines are too long

View File

@@ -1,60 +0,0 @@
[1/5] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\Dell\Documents\ESP\HA_on_off_light_zigbee\build\esp-idf\esptool_py && C:\Espressif\tools\python_env\idf5.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v5.4.1/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/Users/Dell/Documents/ESP/HA_on_off_light_zigbee/build/partition_table/partition-table.bin C:/Users/Dell/Documents/ESP/HA_on_off_light_zigbee/build/on_off_light_bulb.bin"
on_off_light_bulb.bin binary size 0x7a750 bytes. Smallest app partition is 0xe1000 bytes. 0x668b0 bytes (46%) free.
[2/5] Performing build step for 'bootloader'
[1/1] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\Dell\Documents\ESP\HA_on_off_light_zigbee\build\bootloader\esp-idf\esptool_py && C:\Espressif\tools\python_env\idf5.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v5.4.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 C:/Users/Dell/Documents/ESP/HA_on_off_light_zigbee/build/bootloader/bootloader.bin"
Bootloader binary size 0x54c0 bytes. 0x2b40 bytes (34%) free.
[3/5] No install step for 'bootloader'
[4/5] Completed 'bootloader'
[4/5] C:\Windows\system32\cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v5.4.1\components\esptool_py && C:\Espressif\tools\tools\cmake\3.30.2\bin\cmake.exe -D IDF_PATH=C:/Espressif/frameworks/esp-idf-v5.4.1 -D SERIAL_TOOL=C:/Espressif/tools/python_env/idf5.4_py3.11_env/Scripts/python.exe;;C:/Espressif/frameworks/esp-idf-v5.4.1/components/esptool_py/esptool/esptool.py;--chip;esp32h2 -D SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args -D WORKING_DIRECTORY=C:/Users/Dell/Documents/ESP/HA_on_off_light_zigbee/build -P C:/Espressif/frameworks/esp-idf-v5.4.1/components/esptool_py/run_serial_tool.cmake"
esptool.py --chip esp32h2 -p COM25 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 48m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 on_off_light_bulb.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.8.1
Serial port COM25
Connecting...
Chip is ESP32-H2 (revision v0.1)
Features: BLE, IEEE802.15.4
Crystal is 32MHz
MAC: 48:31:b7:ff:fe:c2:a5:fc
BASE MAC: 48:31:b7:c2:a5:fc
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x0008afff...
Flash will be erased from 0x00008000 to 0x00008fff...
SHA digest in image updated
Compressed 21696 bytes to 13431...
Writing at 0x00000000... (100 %)
Wrote 21696 bytes (13431 compressed) at 0x00000000 in 0.2 seconds (effective 961.1 kbit/s)...
Hash of data verified.
Compressed 501584 bytes to 287402...
Writing at 0x00010000... (5 %)
Writing at 0x0001c941... (11 %)
Writing at 0x00023a70... (16 %)
Writing at 0x0002b05a... (22 %)
Writing at 0x0003191f... (27 %)
Writing at 0x0003765d... (33 %)
Writing at 0x0003d26e... (38 %)
Writing at 0x000430fd... (44 %)
Writing at 0x00049158... (50 %)
Writing at 0x0004fd53... (55 %)
Writing at 0x00056239... (61 %)
Writing at 0x0005c471... (66 %)
Writing at 0x00063358... (72 %)
Writing at 0x0006a17d... (77 %)
Writing at 0x0006fd94... (83 %)
Writing at 0x000783f5... (88 %)
Writing at 0x0007f65d... (94 %)
Writing at 0x00086329... (100 %)
Wrote 501584 bytes (287402 compressed) at 0x00010000 in 2.2 seconds (effective 1784.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 136...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (136 compressed) at 0x00008000 in 0.0 seconds (effective 874.0 kbit/s)...