This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SCENE functionality in Z-Stack_Linux_Gateway-1.0.1 and Z-Stack Home 1.2.1 SampleLight application

Other Parts Discussed in Thread: Z-STACK, CC2530, CC2531

Hello everyone,

I am a beginner here.

I have Z-Stack_Linux_Gateway-1.0.1 subsystem application running on Beagle Bone and CC2531.

There is a SCENE facility or option provided with the present subsystem application.

I have read and tried to follow the steps given in Z-Stack Linux Gateway User's Guide to use the SCENE functionality.

But when I was recalling the SCENE with all the addressing modes (unicast, groupcast and broadcast), I did not find any change on the end devices (CC2530) which were having the SampleLight application (with 2 endpoints and configured as Router).

The ZCL_ID_GEN_GROUPS and ZCL_ID_GEN_SCENES clusters were included in the input cluster list of the SampleLight application.

But neither a single command nor an attribute has defined for these two clusters.

Are the commands and attributes for these two clusters (ZCL_ID_GEN_GROUPS, ZCL_ID_GEN_SCENES) are essential for working with the SCENE functionality?

Will I have to write the commands and attributes for these?

Can anyone help me regarding this?

  • you should read ZigBee Cluster Library specification to learn what SCENE means
  • A scene corresponds to a set of stored values of specified attributes for one or more clusters on the same end point as the scenes cluster.
  • Sir, Can you please elaborate something on how to use the SCENE functionality given in Z-Stack Linux Gateway Sample application?

    I did the following steps given in Z-Stack Linux Gateway User's Guide (Page 12) to use SCENE functionality:

    6.3.3.6 Scenes
    - I have added a number of devices to a group(nwk address 65C0 and ep 09, nwk address 0187 and ep 08, GROUP_0).


    - then I adjusted the settings of each device to a desired value (for Light devices, OFF/ON).
    - I have used the shortcut key "E" to store the scene.

    - After that I changed the settings of the device individually or as a group.

    - While recalling the scene using “C”
    either as a group (if in Groupcast transmission mode) or individually (if in Unicast transmission
    mode), I am not able to see any indication.

    Where am I making mistake?

  • I have same problem.

    I using Z-Stack Linux Gateway on BBB and CC2531. I connected with other zigbee devices (ZR-Light, ZED-Light). I flashed CC2531-GW-ZNP_38724.hex to CC2531 and Zigbee Home Automation 1.2.1 (ZR-light, ZED-light) to CC2530.

    Now, how I can use BBB-CC2531 control (on/off) light on CC2530?

    Can anyone give and take me or tell me what document i need?

    thanks
  • Hi H-Son,
    You should start with reading Z-Stack Linux Gateway User's Guide.
  • H-Son,
    Consult section 3 of "Z-Stack Linux Gateway BeagleBone QuickStart Guide.pdf" and start Z-Stack Gateway Servers and sample application. After that, consult section 6.3.3 of "Z-Stack Linux Gateway User Guide.pdf" on how to join and control light.

    Saurabh
  • Thank Edge Goldberg anh Saurabh Narang.
  • Hello Sir,
    Thanks for the reply.
    I went through the above ZigBee cluster library specification pdf.
    I was looking through SampleLight application. The ZCL_ID_GEN_GROUPS and ZCL_ID_GEN_SCENES clusters were included in the input cluster list of the SampleLight application. But neither a single command nor an attribute has defined for these two clusters and still the GROUP action works.
    Then why is it not working for SCENE action?