I use Dimmable Light code from JN-AN-1189 for my project, but i need to know the status of the light. what must i do to make every change of sLight.sOnOffServerCluster.bOnOff (on/off state) is being reported to my coordinator? thanks
Could you please check the 5.4 Light Sensor Functionality.
You have 2 board functionality,
-Normal The Light Sensor sleeps and wakes up every HA_SYSTEM_MAX_REPORT_INTERVAL, when it obtains a new light reading, updates the u16MeasureValue attribute with the new reading and sends a periodic report.
-Keep alive mode.The Light Sensor is permanently active and obtains a new light reading every second. If the light level changes since the last reading by at least LIGHT_SENSOR_MINIMUM_REPORTABLE_CHANGE then the u16MeasuredValue attribute is updated and the Light Sensor sends out an attribute report after HA_SYSTEM_MIN_REPORT_INTERVAL (default 1 second).
Also, you can check ZigBee Home Automation User Guide for a better reference. 2.4.1 On/Off Light
Hope it helps.
Retrieving data ...