the Light Sensor is not sends out an attribute report after HA_SYSTEM_MIN_REPORT_INTERVAL (default 1 second).

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

the Light Sensor is not sends out an attribute report after HA_SYSTEM_MIN_REPORT_INTERVAL (default 1 second).

2,992 次查看
yuboli
Contributor II

I use the JN-AN-1189 project to compile the Light Sensor option and download it to the development board of your official website. According to the operation of the document, when the brightness of the light changes (greater than 1), why not send the attribute report immediately?

The operation is as follows:

pastedImage_2.png

The light level change, why it is not sending a report?

0 项奖励
回复
10 回复数

2,702 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Daniel, I hope you're doing well!

 

The light sensor is not reporting periodically because it's not yet bound to the network, could you please check if the device has bound to the coordinator?

 

For further information about the binding process for this Application Note, please take a look at section 6.2.2 of the document included in the JN-AN-1189 archive (...\JN-AN-1189-ZigBee-HA-Demo\Doc\JN-AN-1189-ZigBee-HA-Demo-1v15.pdf), it shows the prerequisites and necessary steps to successfully bind the devices.

 

Please let me know if you have any further questions.

 

Best regards,

Sebastian

0 项奖励
回复

2,702 次查看
yuboli
Contributor II

Thank you for your reply.

I have bound the coordinator and it can also report regularly (time is HA_SYSTEM_MAX_REPORT_INTERVAL=60s). But what I want to achieve is that when the brightness of the light changes more than 1, I let it report immediately instead of until the reporting cycle. The document says that LIGHT_SENSOR_MINIMUM_REPORTABLE_CHANGE=1, HA_SYSTEM_MIN_REPORT_INTERVAL=1, can be reported immediately when the illumination changes (greater than 1), but I can not achieve it.

Is my configuration wrong?

0 项奖励
回复

2,702 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Daniel,

 

The macro configurations you specified mean that the device should be reporting the change in brightness every second if the brightness changes more than 1 unit, and if the brightness doesn't change more than 1 unit, then the report will be generated every 60 seconds. Maybe the brightness value is not changing enough, so it's not reporting a change until the max report time passes.

 

Could you please provide a sniffer log file so I can better examine the problem?

 

Best regards,

Sebastian

0 项奖励
回复

2,702 次查看
yuboli
Contributor II

Thanks!

But How to upload sniffer log files,I only know how to upload pictures

0 项奖励
回复

2,702 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Daniel,

 

To attach a file, you can click on the "Advanced Editor" button when creating a reply, and on the bottom of the text box you'll see a button that you can click to upload a file.

 pastedImage_1.png

 

Best regards,

Sebastian

0 项奖励
回复

2,702 次查看
yuboli
Contributor II

hello Sebastian Delrio

When I answered you, I didn't find out the "Advanced Editor" button . Where is the button?

Here is a screenshot of my reply to you

~A0K)(EM1KQ(UYQDE%[W7[0.png

Where is the "Advanced Editor" button .

Thank you

0 项奖励
回复

2,702 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Daniel,

The button for the advanced editor should be located on top of the normal editor box:

pastedImage_1.png

If it's not appearing, could you please try using a different web browser?

Please let me know if you have any further problems.

Best regards,

Sebastian

0 项奖励
回复

2,702 次查看
yuboli
Contributor II

Thanks 

  I can find the button for the advanced editor 

0 项奖励
回复

2,702 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Daniel,

 

It's good that you found the button for the advanced editor, please let me know when you can upload the log.

 

Best regards,

Sebastian

0 项奖励
回复

2,701 次查看
yuboli
Contributor II

Thanks 

 When the brightness changes (greater than 1), it does not have an immediate reporting attribute; it is only a periodic reporting attribute

Here's a snapshot log and a screenshot

]M(3Y@LPEZUSAQOT]`XS14Y.png

0 项奖励
回复