username-AL / ESP32H2-ZigbeeCCT

4 stars 0 forks source link

Not able to pair with Hubitat #2

Open mukeshbauskar opened 5 months ago

mukeshbauskar commented 5 months ago

@username-AL I did not know what is the other way to contact you, so I created issue. I am trying to pari ESP32-C6-DevKitC-1-N8 to Hubitat. But it is not pairing at all. Following is output on the monitor

I (23) boot: ESP-IDF v5.2.2-dirty 2nd stage bootloader I (24) boot: compile time Jun 26 2024 15:08:18 I (24) boot: chip revision: v0.1 I (27) boot.esp32c6: SPI Speed : 80MHz I (32) boot.esp32c6: SPI Mode : DIO I (36) boot.esp32c6: SPI Flash Size : 2MB I (41) boot: Enabling RNG early entropy source... I (47) boot: Partition Table: I (50) boot: ## Label Usage Type ST Offset Length I (57) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (72) boot: 2 factory factory app 00 00 00010000 000a2800 I (80) boot: 3 zb_storage Unknown data 01 81 000b3000 00004000 I (87) boot: 4 zb_fct Unknown data 01 81 000b7000 00000400 I (95) boot: End of partition table I (99) esp_image: segment 0: paddr=00010020 vaddr=42060020 size=102fch ( 66300) map I (121) esp_image: segment 1: paddr=00020324 vaddr=40800000 size=07cf4h ( 31988) load I (129) esp_image: segment 2: paddr=00028020 vaddr=42000020 size=5cacch (379596) map I (208) esp_image: segment 3: paddr=00084af4 vaddr=40807cf4 size=06bf8h ( 27640) load I (216) esp_image: segment 4: paddr=0008b6f4 vaddr=4080e8f0 size=01f80h ( 8064) load I (222) boot: Loaded app from partition at offset 0x10000 I (222) boot: Disabling RNG early entropy source... I (237) cpu_start: Unicore app W (246) clk: esp_perip_clk_init() has not been implemented yet I (253) cpu_start: Pro cpu start user code I (253) cpu_start: cpu freq: 160000000 Hz I (253) cpu_start: Application information: I (256) cpu_start: Project name: on_off_light_bulb I (261) cpu_start: App version: da95bf5-dirty I (267) cpu_start: Compile time: Jun 26 2024 15:07:49 I (273) cpu_start: ELF file SHA256: b0d1ebc04... I (278) cpu_start: ESP-IDF: v5.2.2-dirty I (284) cpu_start: Min chip rev: v0.0 I (288) cpu_start: Max chip rev: v0.99 I (293) cpu_start: Chip rev: v0.1 I (298) heap_init: Initializing. RAM available for dynamic allocation: I (305) heap_init: At 40814DC0 len 00067850 (414 KiB): RAM I (311) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM I (317) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM I (325) spi_flash: detected chip: generic I (328) spi_flash: flash io: dio W (332) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (346) sleep: Configure to isolate all GPIO pins in sleep state I (352) sleep: Enable automatic switching of GPIO sleep configuration I (359) coexist: coex firmware version: d96c1e51f I (365) coexist: coexist rom version 5b8dcfa I (370) main_task: Started on CPU0 I (370) main_task: Calling app_main() W (380) LOAD: Color temperature value is not found. Default color temperature value (300) used W (380) LOAD: Pwr value is not found. Default pwr value (50) used I (390) gpio: GPIO[5]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (400) gpio: GPIO[3]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (410) PWM: pwm1(100) m(0.983247), pwm2(100) m(0.983247), pwr(19) m(0.190000), d1(1530), d2(1530) I (420) phy_init: phy_version 290,81efd96,May 8 2024,10:42:13 W (420) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration I (480) phy: libbtbb version: f97b181, May 8 2024, 10:42:29 I (500) main_task: Returned from app_main() I (600) CCT: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL I (600) CCT: Zigbee stack initialized I (600) CCT: Start network steering I (2850) CCT: Network steering was not successful (status: ESP_FAIL) I (5420) SAVE: Saved color temperature value: 300 I (5420) SAVE: Saved pwr value: 100 I (6110) CCT: Network steering was not successful (status: ESP_FAIL) I (9370) CCT: Network steering was not successful (status: ESP_FAIL)

Please help me out here...

username-AL commented 2 months ago

I apologize for the long wait, I had a very very long vacation. If it is still relevant: Unfortunately, I tested this code only in HomeAssistant and I don't have Hubitat. I googled a bit about pairing and found some topics about ESP problems with Hubitat. The code from this repository is based on the official example on_off_lights from espressif/esp-idf Maybe this will help you: https://community.hubitat.com/t/zigbee-supporting-esp32-module-with-arduino/131429/86