Zigbee CLI wrapper (zb_cli_wrapper) is a Python package for the nRF5 SDK for Zigbee that includes a wrapper for automating communication with the Zigbee CLI Agent example and improving the control of the Zigbee network.
It is a standalone package and can be used on both Windows and Linux machines.
The wrapper allows you to:
Zigbee CLI Wrapper automates the communication with Zigbee CLI Agent example by wrapping the following CLI commands to Python functions and by parsing command responses:
The Zigbee CLI wrapper package is available for download from the Zigbee CLI wrapper PyPI repository.
The wrapper package includes an example of how the Zigbee CLI co-processor design can be used for the implementation of a MQTT Zigbee Gateway.
The gateway is a Python application that translates the data stored in MQTT topics to Zigbee cluster-based data storage. This way, it enables access to the Zigbee network that uses the MQTT protocol.
To access or control the Zigbee network (or both), the application uses:
The example source files can be found in the example
directory in the wrapper package, which also includes the readme.md
file with information about the installation procedure.