Dimmable light status

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dimmable light status

551 Views
fehnrirx
Contributor I

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

0 Kudos
1 Reply

415 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi  Wiiliem,

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

http://www.nxp.com/documents/user_manual/JN-UG-3076.pdf 

Hope it helps.

Mario

0 Kudos