Tuesday, April 2, 2019

How to build and run EmberZnet Z3Gateway on Raspberry Pi.

The following steps show you how to build and run EmberZnet 6.50.3 Z3Gateway on Raspberry Pi.

1. Install the Raspbian OS and Gateway Software according to section 2.3 in UG-129.

2. Set Up/Build the EMberZnet 6.50.3 Z3Gateway Application and MQTT Broker according to section 6.1.1 in UG-129.

3. Run "sudo service siliconlabsgateway stop" on Raspberry Pi console to stop siliconlabsgateway.

4. Rename built Z3GatewayHost (under sdks/gecko_sdk_suite/v2.2/app/builder/Z3GatewayHost/build/exe directory) to siliconlabsgateway and copy it to /opt/siliconlabs/zigbeegateway/bin to overwrite siliconlabsgateway under /opt/siliconlabs/zigbeegateway/bin

5. Copy the ncp.py to replace the original one under /opt/siliconlabs/zigbeegateway/tools/ncp-updater

6. Download NCP image (under C:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.5\protocol\zigbee\ncp-images\efr32mg12p432f1024gl125-brd4161a) to BRD4001+BRD4161A and connect it to Raspberry which will simulate ttyACM0 for Z3Gateway to communicate with.

7. Run "sudo service siliconlabsgateway start" on Raspberry Pi console to start siliconlabsgateway.

8. Open any browser and access to Raspberry Pi IP to test web UI of Z3Gateway


1 comment:

  1. Is the following command essential? Can we skip it, as it converts the Rpi into hotspot. who's ssid is unknown. I would like it to be on on my WiFi Lan.
    sudo apt-get install silabs-networking

    ReplyDelete