Zigbee Project Flow Sensor #25727
Replies: 3 comments
-
Hi everyone, i'm a student and i'm working on a zigbee project. I want to communicate data of flow sensor with zigbee protocol on HA and especially using ZigbeeMQTT. But i have a problem with an assertion error and i cant find anything on this forum to help me. I just drop my code and my configuration (.yaml) on Zigbee2Mqtt. The log are looking like that : I (27) boot: ESP-IDF v5.3.2-dirty 2nd stage bootloader abort() was called at PC 0x42023ec9 on core 0 Core 0 register dump: TP : 0x408155a0 T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130 MHARTID : 0x00000000 Stack memory: 40815460: 0x408154a4 0x4080d1b8 0x408154a0 0x726f6261 0x20292874 0x20736177 0x6c6c6163 0x61206465 408154a0: 0xa5a50030 0x32303234 0x39636533 0x00000000 0x0000002f 0x00000264 0x420a897d 0x42023ecc 408154c0: 0x0000ffff 0x00000000 0x0000000a 0x4204e89e 0x00000000 0x00000000 0x00000000 0x4081553c |
Beta Was this translation helpful? Give feedback.
-
I don't know if my code have been uploaded because the size of the .zip is too big, but i can just paste my main .c here : #include <stdio.h> // Configuration des GPIO #if !defined ZB_ED_ROLE static const char *TAG = "ESP_ZB_FLOW_SENSOR"; // Variables globales // Fonction ISR pour compter les impulsions
#define DEFINE_PSTRING(var, str) void reportAttribute(uint8_t endpoint, uint16_t clusterID, uint16_t attributeID, void *value, uint8_t value_length) void debitmetre_task(void *pvParameters)
} static void bdb_start_top_level_commissioning_cb(uint8_t mode_mask) static esp_err_t zb_attribute_handler(const esp_zb_zcl_set_attr_value_message_t *message) static esp_err_t zb_action_handler(esp_zb_core_action_callback_id_t callback_id, const void *message) void esp_zb_app_signal_handler(esp_zb_app_signal_t *signal_struct) static void esp_zb_task(void *pvParameters)
// ------------------------------ Cluster FLOW ------------------------------ // ------------------------------ Create cluster list ------------------------------ // ------------------------------ Create endpoint list ------------------------------
} void app_main(void) esp_zb_platform_config_t config = {
} |
Beta Was this translation helpful? Give feedback.
-
I have the same problem. The key is the "ZDO signal: ZDO Config Ready" message. This indicates the "zb_fct" doesn't contain valid basic zigbee configuration data. I came across this issue whilst searching for a fix. I think there's some kind of python utility for writing this partition data (from the docs....as far as I can read them). If I find a fix, I'll let you know |
Beta Was this translation helpful? Give feedback.
-
Problem with assertion of zigbee stack
Beta Was this translation helpful? Give feedback.
All reactions