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

[HELP] Can we use MQTT as transport in Modbus Connector? #1651

Open
psxbox opened this issue Jan 15, 2025 · 1 comment
Open

[HELP] Can we use MQTT as transport in Modbus Connector? #1651

psxbox opened this issue Jan 15, 2025 · 1 comment
Assignees
Labels
can be closed Label uses when issue is fixed or feature is added and will be available in the next release. help wanted

Comments

@psxbox
Copy link

psxbox commented Jan 15, 2025

Describe the issue
More than 1000 of our Modbus RTU devices are connected to MQTT broker via RS485-MQTT gateway. This gateway subscribes to the MQTT {clientId}/down topic and sends data from this topic to the RS485 port. And the data from RS485 is sent to {clientId}/up typical. The data is transmitted through the MQTT broker without any modification (in binary form). So can we use MQTT as transport in Modbus Connector?
Thanks!

@imbeacon
Copy link
Member

Hi @psxbox,

Thank you for your interest in ThingsBoard IoT Gateway.

Unfortunately, I don’t see way on how to do this easy, I see the only one option is to use MQTT connector, to get data and process it using bytes converter, but it will be really inconvenient to configure this, because the is no ability to convert uplink data to Modbus entities, using default functionality.

Really working way is to create custom uplink converter for MQTT connector and use it to convert incoming bytes to Modbus entities and collect data from them.

@imbeacon imbeacon added the can be closed Label uses when issue is fixed or feature is added and will be available in the next release. label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can be closed Label uses when issue is fixed or feature is added and will be available in the next release. help wanted
Projects
None yet
Development

No branches or pull requests

3 participants