# Modbus TCP/IP to MQTT Gateway

**URL:** <https://forum.inductiveautomation.com/t/modbus-tcp-ip-to-mqtt-gateway/79187>\
**Category:** General Discussion\
**Created:** [September 14, 2023, 9:00pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-ip-to-mqtt-gateway/79187 "2023-09-14T21:00:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandon1](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@brandon1](https://forum.inductiveautomation.com/u/brandon1)\
**Post date:** [September 14, 2023, 9:00pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-ip-to-mqtt-gateway/79187/1 "2023-09-14T21:00:44Z")

</div>

Does anyone have recommendations for a Modbus TCP to MQTT gateway?

I'm hoping to find one \<$250 that can do basic monitoring of Modbus tags and only publish on change.

Thanks.

---

<div class="post-metadata">

**Author:** ![dcamp1](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dcamp1](https://forum.inductiveautomation.com/u/dcamp1)\
**Post date:** [September 15, 2023, 1:43am UTC](https://forum.inductiveautomation.com/t/modbus-tcp-ip-to-mqtt-gateway/79187/2 "2023-09-15T01:43:58Z")

</div>

Under $250.00 ?? - This might be the biggest issue. However, you could probably build your own, with a Raspberry Pi and Node Red.

I use a Raspberry Pi to run all kinds of Api request and then publish that data using Mqtt Sparkplug B.

I also use the Raspberry Pi to retreive data with Modbus Tcp and I'm sure I could publish that data with Mqtt, It's just I don't have a need for that application.

Might be worth looking into.

I think I have seen "AnyBus" HMS Gateway mention this protocol. But greater that $250.00.

---

<div class="post-metadata">

**Author:** ![brandon1](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@brandon1](https://forum.inductiveautomation.com/u/brandon1)\
**Post date:** [September 15, 2023, 12:22pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-ip-to-mqtt-gateway/79187/3 "2023-09-15T12:22:05Z")

</div>

Yeah. I know it could be built for less than $250. I just worry that it might not been rugged enough installed in a remote panel.

I have found gateways that say they can do that conversion, but they are $500+ and that is just too much for the number of panels the solution would be deployed to.

---

<div class="post-metadata">

**Author:** ![Nicholas\_Ferris](https://avatars.discourse-cdn.com/v4/letter/n/85e7bf/32.png) [@Nicholas\_Ferris](https://forum.inductiveautomation.com/u/Nicholas_Ferris)\
**Post date:** [October 17, 2023, 7:32pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-ip-to-mqtt-gateway/79187/4 "2023-10-17T19:32:06Z")

</div>

I'm working with the Automation Direct gateway right now, seems pretty straight forward. It was around the price point you wanted.

---

<div class="post-metadata">

**Author:** ![brandon1](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@brandon1](https://forum.inductiveautomation.com/u/brandon1)\
**Post date:** [October 17, 2023, 8:00pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-ip-to-mqtt-gateway/79187/5 "2023-10-17T20:00:35Z")

</div>

That gateway only connects to a specific cloud service right?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 17, 2023, 11:01pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-ip-to-mqtt-gateway/79187/6 "2023-10-17T23:01:06Z")

</div>

It's too bad these [OnLogic Factor 201](https://www.onlogic.com/fr201/) industrial RPi aren't a littler cheaper.

---

<div class="post-metadata">

**Author:** ![kyvislabs](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kyvislabs/32/26325_2.png) [@kyvislabs](https://forum.inductiveautomation.com/u/kyvislabs)\
**Post date:** [October 17, 2023, 11:38pm UTC](https://forum.inductiveautomation.com/t/modbus-tcp-ip-to-mqtt-gateway/79187/7 "2023-10-17T23:38:42Z")

</div>

No, it looks like they can publish to any broker. Might need to order one and test it out.
