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
Adding network to rfxtrx [see PR] #84
Comments
I forked, tried python (and thanks for the Dockerfile) and made a start on a diff: master...barrystaes:master Current state:
|
Ok so i just added the working socket code to my repo. 😄 Current state:
Using PyCharm with breakpoints and such was of great help, only had to add Docker and configure that as interpreter. |
Ok i think the feature is ready, going to make a PR now. Usage minimal example: RFXtrx.Core(('192.168.0.123', 10001), transport_protocol=RFXtrx.PyNetworkTransport) Todo:
|
Network support is now in v0.24.0 If there are questions or suggestions for me regarding network feature, mention me with @ please so it gets my attention. |
I never use Python but would like to give this a try..
Is adding network support to pyRFXtrx feasible, if i implement a Network alternative for the
PySerialTransport
class? Looks like the code already accounts for swapping this, or am i misinterpreting what a transporter does here.Source:
pyRFXtrx/RFXtrx/__init__.py
Lines 613 to 685 in df50186
My original topic on HA forum, where i recursed source to this repository:
https://community.home-assistant.io/t/adding-network-to-rfxtrx-component/125615/2
The text was updated successfully, but these errors were encountered: