Working zigbee generic, connected to network and HA

This commit is contained in:
Sam
2025-05-14 12:18:50 +10:00
parent 40691d1884
commit 5d3a5422c4
1585 changed files with 271860 additions and 3 deletions

View File

View File

View File

View File

@@ -0,0 +1,33 @@
fatal: detected dubious ownership in repository at 'C:/Espressif/frameworks/esp-idf-v5.4.1'
'C:/Espressif/frameworks/esp-idf-v5.4.1' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-3272215487-1909472184-224273078-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Espressif/frameworks/esp-idf-v5.4.1
fatal: detected dubious ownership in repository at 'C:/Espressif/frameworks/esp-idf-v5.4.1'
'C:/Espressif/frameworks/esp-idf-v5.4.1' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-3272215487-1909472184-224273078-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Espressif/frameworks/esp-idf-v5.4.1
fatal: detected dubious ownership in repository at 'C:/Espressif/frameworks/esp-idf-v5.4.1/components/openthread/openthread'
'C:/Espressif/frameworks/esp-idf-v5.4.1/components/openthread/openthread/.git' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-3272215487-1909472184-224273078-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Espressif/frameworks/esp-idf-v5.4.1/components/openthread/openthread
fatal: detected dubious ownership in repository at 'C:/Espressif/frameworks/esp-idf-v5.4.1'
'C:/Espressif/frameworks/esp-idf-v5.4.1' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-3272215487-1909472184-224273078-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Espressif/frameworks/esp-idf-v5.4.1
-40691d1-1.6.4-2025-05-14 01:55:37 UTC

View File

@@ -0,0 +1,33 @@
fatal: detected dubious ownership in repository at 'C:/Espressif/frameworks/esp-idf-v5.4.1'
'C:/Espressif/frameworks/esp-idf-v5.4.1' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-3272215487-1909472184-224273078-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Espressif/frameworks/esp-idf-v5.4.1
fatal: detected dubious ownership in repository at 'C:/Espressif/frameworks/esp-idf-v5.4.1'
'C:/Espressif/frameworks/esp-idf-v5.4.1' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-3272215487-1909472184-224273078-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Espressif/frameworks/esp-idf-v5.4.1
fatal: detected dubious ownership in repository at 'C:/Espressif/frameworks/esp-idf-v5.4.1/components/openthread/openthread'
'C:/Espressif/frameworks/esp-idf-v5.4.1/components/openthread/openthread/.git' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-3272215487-1909472184-224273078-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Espressif/frameworks/esp-idf-v5.4.1/components/openthread/openthread
fatal: detected dubious ownership in repository at 'C:/Espressif/frameworks/esp-idf-v5.4.1'
'C:/Espressif/frameworks/esp-idf-v5.4.1' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-3272215487-1909472184-224273078-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Espressif/frameworks/esp-idf-v5.4.1
-40691d1-1.6.4-2025-05-14 02:14:42 UTC

View File

View File

@@ -0,0 +1,7 @@
CMake Error at run_serial_tool.cmake:67 (message):
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
failed.

View File

View File

View File

@@ -0,0 +1,17 @@
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 2.6s
Hard resetting via RTS pin...

View File

@@ -0,0 +1,60 @@
[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 0x7c590 bytes. Smallest app partition is 0xe1000 bytes. 0x64a70 bytes (45%) 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 0x0008cfff...
Flash will be erased from 0x00008000 to 0x00008fff...
SHA digest in image updated
Compressed 21696 bytes to 13432...
Writing at 0x00000000... (100 %)
Wrote 21696 bytes (13432 compressed) at 0x00000000 in 0.3 seconds (effective 528.2 kbit/s)...
Hash of data verified.
Compressed 509328 bytes to 292542...
Writing at 0x00010000... (5 %)
Writing at 0x0001c901... (11 %)
Writing at 0x00023a4f... (16 %)
Writing at 0x0002b04a... (22 %)
Writing at 0x00031a45... (27 %)
Writing at 0x000376bf... (33 %)
Writing at 0x0003d54d... (38 %)
Writing at 0x00043254... (44 %)
Writing at 0x000492e5... (50 %)
Writing at 0x0004f424... (55 %)
Writing at 0x000566ed... (61 %)
Writing at 0x0005c6d9... (66 %)
Writing at 0x00062a01... (72 %)
Writing at 0x00069b45... (77 %)
Writing at 0x0006fce0... (83 %)
Writing at 0x00078080... (88 %)
Writing at 0x0007f159... (94 %)
Writing at 0x00085b14... (100 %)
Wrote 509328 bytes (292542 compressed) at 0x00010000 in 3.2 seconds (effective 1282.5 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 521.4 kbit/s)...

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,20 @@
[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 0x7c590 bytes. Smallest app partition is 0xe1000 bytes. 0x64a70 bytes (45%) 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 25 -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 25
A fatal error occurred: Could not open 25, the port is busy or doesn't exist.
(could not open port '25': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2))
Hint: Check if the port is correct and ESP connected

View File