Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tcp:// protocol to talk to ZNP radio via TCP/IP (using same code as bellows?) #179

Closed
Hedda opened this issue Sep 23, 2022 · 1 comment

Comments

@Hedda
Copy link
Contributor

Hedda commented Sep 23, 2022

TCP protocol using Python's loop.create_connection() instead of pyserial been added to bellows by agners -> zigpy/bellows#489

Add tcp:// protocol to talk to EZSP radio via TCP/IP. Compared to the
existing socket:// protocol this uses Python's loop.create_connection()
instead of pyserial. In tests this makes bellows info to complete
about 50x faster (measured after reset, from 0.6s to 0.012s).

Could maybe add similar code be used to add tcp:// protocol support without pyserial to zigpy-znp (and other radio libraries) as well?

zigpy/bellows@971b4db

Thinking specifically for use "Zigbee LAN gateways" from tube0013 and mercenaruss and Gio-dot and codm as they (as well as a few other makers in the DIY home automation community) as they today primarily make Texas Instruments CC2652P based variants of Zigbee LAN gateway adapter, some like Tube also makes EFR32MG21 variants too:

PS: CC2652P variants are probably more common today because Zigbee2MQTT still only has experimental support for Silabs EZSP.

https://www.zigbee2mqtt.io/guide/adapters/#recommended

https://www.zigbee2mqtt.io/guide/adapters/#not-recommended

@puddly
Copy link
Collaborator

puddly commented Oct 3, 2022

Implemented in #171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants