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

Support for ModbusTCP #5

Open
eriklogtenberg opened this issue Mar 14, 2021 · 1 comment
Open

Support for ModbusTCP #5

eriklogtenberg opened this issue Mar 14, 2021 · 1 comment

Comments

@eriklogtenberg
Copy link

The modbus-serial library supports ModbusTCP as wel as MosbusRTU. Currently, modbus2mqtt only exposes the ModbusRTU connection method (start.js hard coded only uses the connectRTUBuffered() method).
It would be a nice feature if it could also support the connectTCP() medhot, to support ModbusTCP as well. I think this is probably the only required change, apart of course from the proper configuration setting for ip address and port.

@sarus3749
Copy link

Hello. I'm very interested for this feature integration too ! :)

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