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.

Z-Stack HA architecture

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

Hello. Iam trying to develop Home Automation system for light/HVAC control using browser with following hardware: cc2530 modules, cc2531 as a gateway + any SBC(RPi2 etc). After reading some documentation in Z-Stack solution package I am kind of lost.

What are the software architecture choises for this in general? One way is to use BBB and Z-STACK-LINUX-GATEWAY, but I have only RPi2 and Allwinner A20 boards and signing SLA for sources is not my way.

I compiled and flashed to cc2530 the last lighting samples from HA package. Accordingly to Ubiqua the network is working OK. Now what firmware for cc2531 usb and what software should I use to be able to interface with this network, send commands, read sensor data etc?

If I undestand correctly one way is to use 6lowPAN gateway as described here sunmaysky.blogspot.com/.../setup-6lbr-to-run-6lowpan-with-cc2531.html  but again, what firmware examples for cc2530 should I look into in this case. Can I still use ZCL?

Thanks.

  • 1. Z-Stack Linux Home Gateway should be able to run on Raspberry Pi 2 without rebuilding full source code. You can try it.
    2. Contiki is 6LowPAN mesh network which is different from Zigbee and it doesn't use ZCL.
  • 1. Thanks. Its realy working. Now what firmware should I use with cc2530 modules to connect to this gateway? I tried "Sample Light - Zlight - Router" with setting up PAN_ID=0xB99C (panid shown in gateway software) and disabling HOLD_AUTO_START but its not connecting.
    Also I tried hex from ZllLight-ZLIGHT-1.0.2-kit.zip its not connecting either.

     

    UPD Hex from ZllLight-ZLIGHT-1.0.2-kit.zip is connecting after activating permit join.

    Sample Light HA  works as well. 

    2. Allright. Will look into that architecture later.

  • You are welcome and it's good to know it works now.