cancel
Showing results for 
Search instead for 
Did you mean: 

Hi I am trying to connect an STM32WB core to an Alexa HUB. I use the STM32WB NUCLEO board and V1.13.1 SDK. The SDK's example is "Zigbee_OnOff_Server_Distrib"

trx2001
Associate II

I have followed the instructions on "Connecting STM32WB to Alexa Zigbee Hub" video tutorial.

I have updated the FUS and the Zigbee stack at the last version.

During the discover step the blue led go on but the Alexa doesn't recognize the STM32WB device.

Do you have any suggestions for me

Thanks

Adriano

3 REPLIES 3
Remy ISSALYS
ST Employee

Hello,

Can you describe more precisely your setup and the “Error log�? to be able to replicate the problem?

Without having details, it is difficult to provide an answer. Let me drop 2 “wild guess�?:

A/ Please be aware that, sometimes, it is simply a question of zigbee channel that are so heavily used (by 802.11, BLE, Bluetooth, Thread…) that the zigbee commissioning is not succeeding.

Hence, the way to proceed is to do some sanity checks on the channel used (if possible: move to a location where absolutely no RF noise is expected), and, if possible, verify that the behavior is consistent on 3 different channels.

B/ Another idea, that do happen quite often, is that, in many cases, the firewall of your company is somehow blocking the communication with a “home device�? like alexa.

 Have you identified the problem from home? 

Best Regards

PPREN.1
ST Employee

Hello Adriano,

(Did you succeed connecting WB with an alexa? With which example? )

Someone with an alexa and a WB told me that the fact that, currently, all our example are mono channel while alexa allow all channels (and it is up to alexa to find your device) is potentially a first problem.

Solution to allow a list of channels (let's say: ALL 11-12-13....-25-26) is to update the file Zigbee_OnOff_Server_Distrib\STM32_WPAN\App\app_zigbee.c with all the channels:

#define CHAN11                   11

#define CHAN12                   12

....

#define CHAN26                   26

and to let the WB select the channel that answer:

  config.channelList.count = 1;

  config.channelList.list[0].page = 0;

  config.channelList.list[0].channelMask = ((1 << CHAN11) | (1 << CHAN12) | (1 << CHAN13) ............ | (1 << CHAN25) | (1 << CHAN26)) ; /*Channel in use, saved template line */

Please don't hesitate to come back to us on this issue,

Best Regards, Pascal

Hi Pascal, The first problem that I must resolve is to use an Alexa device with the Zigbee protocol , how Echo Plus device. Unfortunately I have 2 echo dot device. They don't have the Zigbee protocol inside. Thank you for the information Best Regards Adriano Da: ST Community Inviato: giovedì 5 maggio 2022 09:28 A: Ballabio, Adriano Luigi (SI BP R&D MIL SWENG) Oggetto: PPREN.1 answered you: Hi I am trying to connect an STM32WB core to an Alexa HUB. I use the STM32WB NUCLEO board and V1.13.1 SDK. The SDK's example is "Zigbee_OnOff_Server_Distrib" Hello Adriano, (Did you succeed connecting WB with an alexa? With which example? ) Someone with an alexa and a WB told me that the fact that, currently, all our example are mono channel while alexa allow all channels (and it is up to alexa to find your device) is potentially a first problem. Solution to allow a list of channels (let's say: ALL 11-12-13....-25-26) is to update the file Zigbee_OnOff_Server_Distrib\STM32_WPAN\App\app_zigbee.c with all the channels: #define CHAN11 11 #define CHAN12 12 .... #define CHAN26 26 and to let the WB select the channel that answer: config.channelList.count = 1; config.channelList.list[0].page = 0; config.channelList.list[0].channelMask = ((1 << CHAN11) | (1 << CHAN12) | (1 << CHAN13) ............ | (1 << CHAN25) | (1 << CHAN26)) ; /*Channel in use, saved template line */ Please don't hesitate to come back to us on this issue, Best Regards, Pascal [cid:image001.png@01D86069.A90BB920]<> PPREN.1<> (ST Employee) Hello Adriano, (Did you succeed connecting WB with an alexa? With which example? ) Someone with an alexa and a WB told me that the fact that, currently, all our example are mono channel while alexa allow all channels (and it is up to alexa to find your device) is potentially a first problem. Solution to allow a list of channels (let's say: ALL 11-12-13....-25-26) is to update the file Zigbee_OnOff_Server_Distrib\STM32_WPAN\App\app_zigbee.c with all the channels: #define<> CHAN11 11 #define<> CHAN12 12 .... #define<> CHAN26 26 and to let the WB select the channel that answer: config.channelList.count = 1; config.channelList.list[0].page = 0; config.channelList.list[0].channelMask = ((1 << CHAN11) | (1 << CHAN12) | (1 << CHAN13) ............ | (1 << CHAN25) | (1 << CHAN26)) ; /*Channel in use, saved template line */ Please don't hesitate to come back to us on this issue, Best Regards, Pascal [View/Answer]<> or reply to this email Replying to [cid:image001.png@01D86069.A90BB920]<> trx2001<> (Community Member) asked a question. Monday, January 17, 2022 8:58 AM<> Hi I am trying to connect an STM32WB core to an Alexa HUB. I use the STM32WB NUCLEO board and V1.13.1 SDK. The SDK's example is "Zigbee_OnOff_Server_Distrib" I have followed the instructions on "Connecting STM32WB to Alexa Zigbee Hub" video tutorial. I have updated the FUS and the Zigbee stack at the last version. During the discover step the blue led go on but the Alexa doesn't recognize the STM32WB device. Do you have any suggestions for me Thanks Adriano [cid:image003.png@01D86069.A90BB920]<>