Skip to content

Commit d8848c3

Browse files
authored
Update README.md to look similar to other radio libaries for zigpy (#8)
Update README.md with a modified copy of README.md from zigpy-cc https://github.com/zigpy/zigpy-cc/blob/master/README.md
1 parent 3224f0e commit d8848c3

File tree

1 file changed

+75
-3
lines changed

1 file changed

+75
-3
lines changed

README.md

Lines changed: 75 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,80 @@
33
[![Build Status](https://travis-ci.com/zha-ng/zigpy-znp.svg?branch=dev)](https://travis-ci.com/zha-ng/zigpy-znp)
44
[![Coverage Status](https://coveralls.io/repos/github/zha-ng/zigpy-znp/badge.svg?branch=dev)](https://coveralls.io/github/zha-ng/zigpy-znp?branch=dev)
55

6-
[zigpy-znp](https://github.com/zha-ng/zigpy-zhp/) adds support for common [Texas Instruments Zigbee Network Processors](http://dev.ti.com/tirex/content/simplelink_zigbee_sdk_plugin_2_20_00_06/docs/zigbee_user_guide/html/zigbee/developing_zigbee_applications/znp_interface/znp_interface.html) to the [Zigpy](https://github.com/zigpy/) project, implementing a Zigbee stack.
6+
[zigpy-znp](https://github.com/zha-ng/zigpy-zhp/) is a Python library implemention which adds support for common [Texas Instruments ZNP (Zigbee Network Processors)](http://dev.ti.com/tirex/content/simplelink_zigbee_sdk_plugin_2_20_00_06/docs/zigbee_user_guide/html/zigbee/developing_zigbee_applications/znp_interface/znp_interface.html) based [Zigbee](https://www.zigbee.org) radio module chips hardware to [Zigpy](https://github.com/zigpy/), a Python Zigbee stack project.
77

8-
## Compatible hardware
8+
The goal of this project is to add native support for Texas Instruments Z-Stack 3 based USB sticks in Home Assistant's built-in ZHA (Zigbee Home Automation) integration component (via the [zigpy](https://github.com/zigpy/) library), allowing Home Assistant with such hardware to nativly support direct control of compatible Zigbee devices such as Philips HUE, GE, Osram Lightify, Xiaomi/Aqara, IKEA Tradfri, Samsung SmartThings, and many more.
99

10-
Hardware capable of running the TI Z-Stack versions 3 and above should all be supported (i.e. CC13x2 and CC26x2) but testing is done with the [TI LAUNCHXL-CC26X2R1](https://www.ti.com/tool/LAUNCHXL-CC26X2R1) (CC2652) running [Z-Stack 3.30.00.03 with @Koenkk's config tweaks](https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin).
10+
- https://www.home-assistant.io/integrations/zha/
11+
12+
zigpy-znp allows Zigpy to interact with Texas Instruments ZNP (Zigbee Network Processor) coordinator firmware via TI Z-Stack Monitor and Test(MT) APIs using an UART/serial interface. Radio module hardware compatible include but is possibly not limited to Texas Instruments CC13x2 and CC26x2R chips flashed with Z-Stack 3.x coordinator firmware.
13+
14+
## WARNING! - Work in progress
15+
Disclaimer: This software library is provided "AS IS", without warranty of any kind. The zigpy-znp project is still under early development as WIP (work in progress), as such it is not fully working yet. Testing of this library is currently onky recommended to developers and advanced testers of bleeding edge software looking to assist with early alpha-testing in on non-production systems, just for test purposes.
16+
17+
# Hardware requirement
18+
USB-adapters and GPIO-modules based hardware capable of running the TI Z-Stack versions 3.0 and above (i.e. CC13x2 and CC26x2) should in theory all be supported by the zigpy-znp library but testing by the developers is currently only done with the [LAUNCHXL-CC26X2R1](https://www.ti.com/tool/LAUNCHXL-CC26X2R1) (Texas Instruments official CC2652 chip based development board) running [Z-Stack 3.30.00.03 with @Koenkk's config tweaks](https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin) as as reference hardware for the project.
19+
20+
CC253x based hardware is not recommended as they might not be powerful enough to the TI Z-Stack 3 coordinator firmware.
21+
22+
Note that you also have to flash the chip a custom Z-Stack 3.x coordinator firmware before you can use the hardware, read the firmware requirement section below.
23+
24+
## Hardware being tested by zigpy-znp developers
25+
- [CC2531 USB stick hardware flashed with Z-Stack 3 coordinator firmware from the Zigbee2mqtt project](https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/)
26+
- [CC2652R dev board hardware flashed with Z-Stack 3 coordinator firmware from the Zigbee2mqtt project](https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/)
27+
28+
## Hardware not yet tested by zigpy-znp developers
29+
- [CC1352P-2 dev board hardware flashed with Z-Stack 3 coordinator firmware from the Zigbee2mqtt project](https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/)
30+
31+
## Hardware not recommended by zigpy-znp developers
32+
- [CC2531 USB stick hardware flashed with Z-Stack 3 coordinator firmware from the Zigbee2mqtt project](https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/)
33+
- [CC2530 + CC2591 USB stick hardware flashed with Z-Stack 3 coordinator firmware from the Zigbee2mqtt project](https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/)
34+
- [CC2530 + CC2592 dev board hardware flashed with Z-Stack 3 coordinator firmware from the Zigbee2mqtt project](https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/)
35+
- [CC2538 + CC2592 dev board hardware flashed with Z-Stack 3 coordinator firmware from the Zigbee2mqtt project](https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/)
36+
37+
## Firmware requirement
38+
Z-Stack 3 firmware requirement is that they support Texas Instruments Z-Stack Monitor and Test(MT) APIs using an UART interface (serial communcation protocol), which they should do if they are flashed with Z-Stack 3.x "coordinator" firmware with config tweaks by @Koenkk (originally made for the Zigbee2mqtt project).
39+
40+
- https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator
41+
42+
Texas Instruments CC13x2 and CC26x2 based adapters/boards already come with a bootloader so can be flashed over USB using the official "Flash Programmer v2" from Texas Instruments.
43+
44+
- http://www.ti.com/tool/FLASH-PROGRAMMER
45+
46+
Again, using Texas Instruments CC253x based adapters/boards as a Z-Stack 3 coordinator is not recommended though they could potentially still be used for development porposes, (however note that Z-Stack 3 coordinator firmware should in theory perform better on CC2538 based adapters than on CC2530 or CC2531 based adapters). CC253x based adapters/boards does howwever not come with a bootloader so you will normally need special hardware equipment for flashing firmware them with using the ["Flash Programmer v1" (not v2) from Texas Instruments](http://www.ti.com/tool/FLASH-PROGRAMMER) and that device preparation process is best described by the [Zigbee2mqtt](https://www.zigbee2mqtt.io/) project whos community develops the Z-Stack coordinator firmware that this zigpy-znp libary requires. The Zigbee2mqtt project also has intructions for several alternative metods on how to initially flash their special Z-Stack 3 coordinator firmware on a new CC253x as well as other Texas Instruments CC based USB adapters and development boards that does not have a bootloader. They also have a FAQ and knowledgebase that can be useful for working with these supported hardware adapters/equipment as well as with Zigbee devices.
47+
48+
- https://www.zigbee2mqtt.io/information/supported_adapters.html
49+
- https://www.zigbee2mqtt.io/getting_started/what_do_i_need.html
50+
- https://www.zigbee2mqtt.io/getting_started/flashing_the_cc2531.html
51+
- https://www.zigbee2mqtt.io/information/alternative_flashing_methods.html
52+
53+
## Port configuration
54+
55+
- To configure __usb__ port path for your TI CC serial device, just specify the TTY (serial com) port, example : `/dev/ttyACM0`
56+
57+
Developers hould note that that Texas Instruments recommends different baud rates for UART interface of different TI CC chips.
58+
- CC13x2 and CC26x2 supports flexible UART baud rate generation up to a maximum of 1.5 Mbps.
59+
- CC2538 also supports flexible UART baud rate generation but only up to a maximum of 460800 baud.
60+
- CC2530 and CC2531 default recommended UART baud rate is 115200 baud.
61+
62+
# Releases via PyPI
63+
64+
Tagged versions will also be released via PyPI
65+
66+
- TO-DO
67+
68+
# External documentation and reference
69+
70+
- http://www.ti.com/tool/LAUNCHXL-CC26X2R1
71+
- http://www.ti.com/tool/LAUNCHXL-CC1352P
72+
73+
# How to contribute
74+
75+
If you are looking to make a code or documentation contribution to this project we suggest that you follow the steps in these guides:
76+
- https://github.com/firstcontributions/first-contributions/blob/master/README.md
77+
- https://github.com/firstcontributions/first-contributions/blob/master/github-desktop-tutorial.md
78+
79+
# Related projects
80+
81+
### Zigpy
82+
[zigpy](https://github.com/zigpy/zigpy)** is **[Zigbee protocol stack](https://en.wikipedia.org/wiki/Zigbee)** integration project to implement the **[Zigbee Home Automation](https://www.zigbee.org/)** standard as a Python 3 library. Zigbee Home Automation integration with zigpy allows you to connect one of many off-the-shelf Zigbee adapters using one of the available Zigbee radio library modules compatible with zigpy to control Zigbee based devices. There is currently support for controlling Zigbee device types such as binary sensors (e.g., motion and door sensors), sensors (e.g., temperature sensors), lightbulbs, switches, and fans. A working implementation of zigbe exist in **[Home Assistant](https://www.home-assistant.io)** (Python based open source home automation software) as part of its **[ZHA component](https://www.home-assistant.io/components/zha/)**

0 commit comments

Comments
 (0)