This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 custom light bulb compatible with Hue and Alexa

Hello,

I am new to Nordic and quite new to ZigBee. Just had a short evaluation with Silabs so far.

My goal is developing a custom lamp for serial production that needs to be compatible with Hue Bridge & App, as well with Alexa.

I use PCA10056 and started with an example from the SDK but I did not come very far.

On a PCA10056 Board I run zigbee_light_bulb_pca10056 with SES but the lamp will not show up in the hue app using a Hue Bridge 2.1 when searching for lights.

Using PCA10059 Dongle as a sniffer I can see that there is a "transport key" package but the debug log keeps outputting:

<info> app: Network left (leave type: 0)
<info> app: Network steering was not successful (status: -1)

I read a lot here about hue keys, touch link and comissioning but still did not get it running and feel quite lost.

Nordic does not seem to support touch link and uses normal commisioning instead - what will the difference be like for the user?

How do I get this example working with Hue?

And in general - where to start to make this development process less scientific/tryanderror and more straingtforward instead? Where to get an overview about what you need from the beginning?

Thanks in advance!

  • Hi,

    I got a response from our Zigbee team now. They've implemented some scenes functionality:

    To handle Scenes in the application, Scene cluster related callback needs to be implemented and scene table needs to be managed. The required code is based on the SDK T&Z v4.1.0 and is included in the zip package: 5811.light_bulb_with_scenes.zip

    Package contains scene handlers and light bulb example, modified to use required handlers:

    • Added include header zcl_scenes.h
    • Added call to zcl_scenes_cb()
    • Added call to zcl_scenes_init()

    At this moment, it handles scenes for clusters: On/Off, Level control, Window covering.
    It supports only one endpoint, which needs to be defined in the zcl_scenes.h as ZCL_SCENES_ENDPOINT.

    If you have any other questions regarding this or the original case, please don't hesitate to ask here. If you have a new problem unrelated to this case, please open a new case with that issue, as this will make it easier for others later if they're experiencing a similar issue as yours, either the original one in this case or your new one.

    Best regards,

    Marte

Related