Skip to content

Update zigbee.cpp#99

Open
fricy wants to merge 1 commit into
luar123:v1.xfrom
fricy:v1.x
Open

Update zigbee.cpp#99
fricy wants to merge 1 commit into
luar123:v1.xfrom
fricy:v1.x

Conversation

@fricy
Copy link
Copy Markdown

@fricy fricy commented Jun 1, 2026

Eliminate ESP_FAIL logspam on failure to join network, and increase retry timer to 15 s.

From:

[16:43:24][D][zigbee:064]: Updating time sync from Zigbee network...
[16:43:24][E][zigbee:093][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[16:43:24][W][zigbee:095][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL)
[16:43:28][E][zigbee:093][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[16:43:28][W][zigbee:095][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL)
[16:43:31][E][zigbee:093][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[16:43:31][W][zigbee:095][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL)
...
[16:46:51][E][zigbee:093][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[16:46:51][W][zigbee:095][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL)
[16:46:54][D][zigbee:168][Zigbee_main]: Binding table record: src_endp 2, dst_endp 1, cluster_id 0x0006, dst_addr_mode 3

to:

[17:20:46][E][zigbee:096][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[17:20:46][W][zigbee:098][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL), will retry every 15s
...
[17:21:04][D][zigbee:174][Zigbee_main]: Binding table record: src_endp 2, dst_endp 1, cluster_id 0x0006, dst_addr_mode 3

Eliminate ESP_FAIL logspam on failure to connect to network, and reduce retry frequency to 15 s.

From:
```
[16:43:24][D][zigbee:064]: Updating time sync from Zigbee network...
[16:43:24][E][zigbee:093][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[16:43:24][W][zigbee:095][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL)
[16:43:28][E][zigbee:093][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[16:43:28][W][zigbee:095][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL)
[16:43:31][E][zigbee:093][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[16:43:31][W][zigbee:095][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL)
...
[16:46:51][E][zigbee:093][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[16:46:51][W][zigbee:095][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL)
[16:46:54][D][zigbee:168][Zigbee_main]: Binding table record: src_endp 2, dst_endp 1, cluster_id 0x0006, dst_addr_mode 3
```
to:

```
[17:20:46][E][zigbee:096][Zigbee_main]: FIRST_START.  Device started up in non factory-reset mode with an error -1 (ESP_FAIL)
[17:20:46][W][zigbee:098][Zigbee_main]: Failed to initialize Zigbee stack (status: ESP_FAIL), will retry every 15s
...
[17:21:04][D][zigbee:174][Zigbee_main]: Binding table record: src_endp 2, dst_endp 1, cluster_id 0x0006, dst_addr_mode 3
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant