# OpenRPA+MQTT without OpenFlow

**URL:** <https://discourse.openiap.io/t/openrpa-mqtt-without-openflow/1790>\
**Category:** OpenRPA\
**Created:** [August 30, 2024, 10:34am UTC](https://discourse.openiap.io/t/openrpa-mqtt-without-openflow/1790 "2024-08-30T10:34:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evgenii\_Kozodaev](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/e/6f9a4e/32.png) [@Evgenii\_Kozodaev](https://discourse.openiap.io/u/Evgenii_Kozodaev)\
**Post date:** [August 30, 2024, 10:34am UTC](https://discourse.openiap.io/t/openrpa-mqtt-without-openflow/1790/1 "2024-08-30T10:34:27Z")

</div>

Hello. my friends. Tell me, please, how can I receive data from MQTT without using OpenFlow directly?

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [August 31, 2024, 5:46am UTC](https://discourse.openiap.io/t/openrpa-mqtt-without-openflow/1790/2 "2024-08-31T05:46:10Z")

</div>

there is no “easy” way to do that.  
I can think of 2 ways.

1. ~~Install a nuget package that support mqtt and dotnet 4.x like [RabbitMQ.Client](https://www.nuget.org/packages/rabbitmq.client/) then create a workflow with a state machine, that waits for messages and process them.~~ I was thinking of using invoke code to use the nuget package, but that does not support onide, so you cannot use that from a state machine, but you can still create a flow- or sequence-workflow that using invoke code to wait for an event. But i would _highly_\* recommend number 2, or use openflow
2. Create a new detector plugin for OpenRA that allows creating new mqtt consumers and trigger events on new messages

---

<div class="post-metadata">

**Author:** ![Evgenii\_Kozodaev](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/e/6f9a4e/32.png) [@Evgenii\_Kozodaev](https://discourse.openiap.io/u/Evgenii_Kozodaev)\
**Post date:** [September 4, 2024, 7:06am UTC](https://discourse.openiap.io/t/openrpa-mqtt-without-openflow/1790/3 "2024-09-04T07:06:08Z")

</div>

Hello.  
I installed the “MQTT” plugin, but I don’t understand where I can set up a password and login for it to connect to the MQTT broker Mosquito for interaction.  
I have a smart home Home Assistant installed and NodeRed is installed in it (so I can’t install OpenFlow now) and I want to set up automation so that after the event NodeRed sends a request via MQTT, then OpenPRA receives this request, does the work and as a result takes a screenshot with the result and returns this screenshot via MQTT to NodeRed and from there, the screenshot was redirected to my Telegram Bot. But I don’t understand how to link MQTT messaging to begin with. I would be very grateful if you can help with setting up the interaction.

 ![001](https://discourse.openiap.io/uploads/default/original/2X/5/56105d7ad9cdafe4052236da7a05e809c5426cf1.jpeg)

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [September 4, 2024, 8:25am UTC](https://discourse.openiap.io/t/openrpa-mqtt-without-openflow/1790/4 "2024-09-04T08:25:21Z")

</div>

As you might already know. That is simple and easy to do with nodered, openflow and openrpa.  
Therefor there is no solution made for how to do this without openflow and nodered.  
You CAN built it, but YOU need to do that. I gave you some guidelines on where to look, if you feel like creating it. If you need something that is pretty much plug’n’play, you need to use openflow and nodered.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [September 11, 2024, 8:26am UTC](https://discourse.openiap.io/t/openrpa-mqtt-without-openflow/1790/5 "2024-09-11T08:26:18Z")

</div>

Closed on September 11, 2024, 8:26am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
