You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building a sensor using ESP32H2, which will measure weight and transmit it over AnalogInput->PresentValue to the network. Following are details
Hardware platform: esp32h2 ESP-IDF version: v5.3.2 Type of device: Zigbee end device Cluster used: AnalogInput Attribute used: PresentValue Home Automation System: HomeAssistant (v 2025.1) Network: 35+ devices (mesh) Sensor -> Coordinator: This sensor is placed far from coordinator, so no direct connection, but joins network using Routers and have good signal strength.
Problem # 1 - How to configure reporting:
I am having hard time to find any documentation/reference code to configure reporting from this end device, I know there is a way but can't make it work. The solution which I am using is as follows, i.e., defining the function below and calling it as per my needs, but no way to automatic report configuration, so that I only call esp_zb_zcl_set_attribute_val and rest is done automatically.
Problem # 2 (may be not directly related to this community):
Even with the above code the HomeAssistant doesn't show values directly unless I call Read Attribute explicitly, details are already added here.
For sake of testing, if I publish the report on HumidityMeasurement cluster as below, everything starts working fine (Entities are updated on HomeAssistance as soon as reported from FW).
Can anyone help me on problem # 1 and point me to a reference code.
Is problem # 2, related to ESP-IDF or perhaps a quirk thing on HomeAssistant? I hope there is not a special way to publish report for AnalogInput cluster, and also I have not hit some bug in under laying zigbee API?
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Question: Reporting of AnalogInput Cluster -> PresentValue
Question: Reporting of AnalogInput Cluster -> PresentValue (IDFGH-14497)
Jan 23, 2025
Hi,
I am building a sensor using ESP32H2, which will measure weight and transmit it over AnalogInput->PresentValue to the network. Following are details
Hardware platform: esp32h2
ESP-IDF version: v5.3.2
Type of device: Zigbee end device
Cluster used: AnalogInput
Attribute used: PresentValue
Home Automation System: HomeAssistant (v 2025.1)
Network: 35+ devices (mesh)
Sensor -> Coordinator: This sensor is placed far from coordinator, so no direct connection, but joins network using Routers and have good signal strength.
Problem # 1 - How to configure reporting:
esp_zb_zcl_set_attribute_val
and rest is done automatically.Problem # 2 (may be not directly related to this community):
Even with the above code the HomeAssistant doesn't show values directly unless I call Read Attribute explicitly, details are already added here.
For sake of testing, if I publish the report on HumidityMeasurement cluster as below, everything starts working fine (Entities are updated on HomeAssistance as soon as reported from FW).
Questions:
The text was updated successfully, but these errors were encountered: