cancel
Showing results for 
Search instead for 
Did you mean: 

Zigbee on off cleint SED with NVM and buttons never enters sleep mode

Eldar_Duss
Associate

Hello everyone!

I’ve been struggling to create a working application on the P-NUCLEO-WB55. My goal is to implement a Zigbee On/Off Client Sleepy End Device (SED) with NVM support, using buttons for control.

I was able to successfully reproduce the On/Off Client SED with NVM and low power consumption (around 3 µA), measured using the ST-Link Power Monitor. However, in that example project, a timer is used to trigger the On/Off commands.

I created a new application that uses buttons instead of the timer, but now the device never enters sleep mode and behaves quite strangely. Based on the current consumption spikes, I can see that the device is transmitting data. In Wireshark, I can see that packets are being sent, but Home Assistant does not react to the commands at all.

I have attached my app_zigbee.c file. Could someone please help me understand what I am doing wrong?

Perhaps someone could share a working example of a Zigbee On/Off Client SED with NVM support and button control. Such an example is really missing from the official ST examples.

Thank you in advance!

power consuptionpower consuptionzigbee confzigbee conf

2 REPLIES 2
Ouadi
ST Employee

Hello @Eldar_Duss,

I have tested the file you shared with the config enabling both button + NVM and seems to work properly in my side. 

Device goes to LPM mode after the join, we can see peaks after each push and then it reenter to stop mode as expected. 

Could you please test the application using another Nucleo board, I suspect a HW issue with the board you are using since this is working on my side.

Regards,

Ouadi

Imen.D
ST Employee

Hi @Eldar_Duss ,

We would appreciate it if you could provide an update on the issue and confirm whether it has been resolved.

This information helps clarify the current situation for other Community users who have the same question.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen