Comments (21)
Support for Z-Stack Home 1.2 network formation is now in the main dev
branch, making zigpy-znp compatible with all TI radios and firmware versions.
from zigpy-znp.
I've implemented the serial bootloader protocol (f67e8a4) used by the Windows utility mentioned in Koenkk/zigbee2mqtt#320 and flashed my Itead stick without any external tools.
Due to a lack of unit tests, for now I've committed only Both zigpy_znp.tools.flash_read
flash_read
and flash_write
are now supported:
$ python -m zigpy_znp.tools.flash_read /dev/cu.usbmodem14201 -o flash.bin
...
I'm going to keep this issue open for now but I don't plan on supporting Z-Stack versions older than 3.0 for the time being.
Note: for whatever reason I need to now push a button after plugging in the stick (or wait 60 seconds) to get the green LED to shut off to get it to power on normally. Otherwise it seems to boot fine with Z-Stack 3.0.1. This might be because I've never formed a network with this hardware. Skipping the bootloader is automatically enabled as of 2b7666e
from zigpy-znp.
Did you order this CC2531 pre-flashed from ITead? -> https://www.itead.cc/cc2531-usb-dongle.html
IMHO would be great for new users/devs if such inexpensive worked out-of-the-box without flashing.
PS: I know that ITead has local resellers in most countries so that you don't have to pay customs fees.
from zigpy-znp.
I did, it's just taking quite a long time to ship.
from zigpy-znp.
Cool! And yes I know as recently placed an order for their new SONOFF ZBBridge (Zigbee WiFi Bridge)
from zigpy-znp.
It finally arrived...pre-flashed with Z-Stack from 20180507. Too bad there is no easy way to flash the board without using test hooks and a second microcontroller.
from zigpy-znp.
Someone else posted in Home Assistant forum also noting that it came with the same old firmware
PS: I also asked the question here:
from zigpy-znp.
I've implemented the serial bootloader protocol (f67e8a4) used by the Windows utility mentioned in Koenkk/zigbee2mqtt#320 and flashed my Itead stick without any external tools.
Due to a lack of unit tests, for now I've committed onlyBothzigpy_znp.tools.flash_read
flash_read
andflash_write
are now supported:$ python -m zigpy_znp.tools.flash_read /dev/cu.usbmodem14201 -o flash.bin ...
@puddly Are you saying that also added the ability to flash Texas Instrument coordinator firmware?
You know that I am now going to post a Feature Request asking for a TI firmware upgrade feature ;)
Update: Posted that a separate request here now => #24
from zigpy-znp.
Some interesting progress: the internal NVRAM state of the CC2531 running 3.0.2 and the newer hardware running 3.30 and 4.40 seems to contain the same information, though in very incompatible formats. This might make it possible to switch between coordinator hardware without having to recreate your network.
I'm going to try and "restore" my network to the CC2531 from the ZZH's NVRAM backup.
from zigpy-znp.
I've successfully formed a network, joined a device, and received attribute reports with a CC2531. The latest release of zigpy-znp
in theory fully supports the CC2531 (after flashing Z-Stack 3.0.1, see the README) but I have not had a chance to setup a more complex network with it yet.
from zigpy-znp.
Do you have a hue motion sensor be any chance? To try it with znp?
from zigpy-znp.
Only Xiaomi and IKEA, unfortunately. Are you referring to zigpy/zigpy-cc#57?
from zigpy-znp.
Yep. Ordered a hue sensor, should arrive on Tue.
from zigpy-znp.
CC2531 works fine with Home Assistant, though it starts having memory issues when HA tries to bind to a bunch of clusters on multiple devices at once. Adding an application-level randomized retry loop for Status.MEM_ERROR
seems like it would help.
from zigpy-znp.
@Adminiuga have you had a chance to try out the Hue sensor with zigpy-znp? I'm reluctant to order a sensor that works without any issues.
from zigpy-znp.
I have the sensor just don't have time to try it. I'll try to carve something tonight and will let you know
from zigpy-znp.
No worries, just curious if the Z-Stack endpoint stuff was the root cause or if there is something lower level that needs to be patched.
from zigpy-znp.
I'm pretty sure it was the Z-Stack endpoint stuff.
Are you overriding the source endpoint in zigpy-znp?
I haven't figured the best way to do it, as do it properly you need to know what profile_id and potentially the cluster_id and cluster_type the request is for and with that info ApplicationController could hint the right endpoint id.
But for simplicity, we could just do one endpoint per profile_id
from zigpy-znp.
Originally I did have it choosing the endpoint based on the profile but at the moment I'm just rewriting the source endpoint of every non-ZDO request to be endpoint 1.
In what scenario would the cluster matter?
from zigpy-znp.
it would matter in very specific cases, like having multiple endpoint with the same profile id, but different set of input/output clusters, for example
endpoint_id: 1
in_clusters: [0x500]
out_cluster: []
endpoint_id: 2
in_clusters: []
out_clusters: [0x500]
In this case per specs requests sent out to the server cluster 0x500 should be originating from epid 2.
In real life, i don't think it matter much.
from zigpy-znp.
Support for Z-Stack Home 1.2 network formation is now in the main
dev
branch, making zigpy-znp compatible with all TI radios and firmware versions.
Nice! Are there any known limitations or missing functions and features in zigpy-znp in regards to Z-Stack Home 1.2?
from zigpy-znp.
Related Issues (20)
- Python3.7 HOT 2
- OTA for Texas Instruments CC1352/CC2652, Z-Stack HOT 7
- Unable to start zigpy-znp HOT 5
- (zigpy_znp.__version__) not available HOT 3
- Dubious licensing HOT 2
- Various failing tests with zigpy==0.54.0 HOT 1
- Dependencies are unclear to me - Docker /alpine/v3.16 HOT 2
- timeout error when read CC2652 Sonoff dongle HOT 1
- Unable to form network - No module named form_network HOT 2
- zigpy_znp.tools.network_backup fails with asyncio.exceptions.CancelledError on SkyConnect HOT 5
- Develco Products "ZigBee Wallplug HA SP2" unsupported frame
- test_on_af_message_callback fails with zigpy==0.59.0
- Unable to pair devices HOT 13
- Better Error Reporting HOT 5
- command "zigpy_znp.tools.nvram_read" Timeout
- `zigpy_znp.tools.network_restore` fails with `AttributeError` HOT 2
- CC2674 (CC2674P/CC2674R) and CC1354 (CC1354P) Zigbee Coordinator compatibility with with zigpy-znp? HOT 2
- MotionSensor detected but stuck at configuration within HomeAssistant (ZHA) HOT 1
- Failed OSALNVReadExt request HOT 3
- '<' not supported between instances of 'ZigbeePacket' and 'ZigbeePacket' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zigpy-znp.