# Read and control MQTT from your own homey app

**URL:** <https://community.homey.app/t/read-and-control-mqtt-from-your-own-homey-app/62364>\
**Category:** Questions & Help\
**Tags:** app, homey-pro\
**Created:** [April 5, 2022, 4:26pm UTC](https://community.homey.app/t/read-and-control-mqtt-from-your-own-homey-app/62364 "2022-04-05T16:26:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jens\_De\_Smet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jens_de_smet/32/33978_2.png) [@Jens\_De\_Smet](https://community.homey.app/u/Jens_De_Smet)\
**Post date:** [April 5, 2022, 4:26pm UTC](https://community.homey.app/t/read-and-control-mqtt-from-your-own-homey-app/62364/1 "2022-04-05T16:26:38Z")

</div>

Best,

I’m working on making my own app for the complete steering,

only I don’t know how to call HQTT and read it via my own homey app.

> [@Is het mogelijk om homey helemaal met code te programmeren zonder folow's](https://community.homey.app/t/is-het-mogelijk-om-homey-helemaal-met-code-te-programmeren-zonder-folows/47543):
>
> Beste, Is er een mogelijkheid dat je homey voledig zonder flows kunt programmeren, Dus enkel en aleen met code. Hierbij zat ik zelf aan homeyscript te denken maar dit script gaat aleen maar als het gestart wordt door een flow. Dus ik wil iets dat niet gestart wordt en dat de voorwaarde en de en functie en natuurlijk ook de dan functie kan in een keer. Graag zou ik een overzichtelijke tool willen gebruiken (=alles in één script). Met vriendeljke groeten, Jens De Smet

Kind regards,  
Jens De Smet

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [April 5, 2022, 4:52pm UTC](https://community.homey.app/t/read-and-control-mqtt-from-your-own-homey-app/62364/2 "2022-04-05T16:52:42Z")

</div>

**Read and control MQTT from your own homey app**

I can’t help you with your problem, but an app like this is a brilliant idea. I hope you succeed. I would be the first to install the app.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 5, 2022, 5:01pm UTC](https://community.homey.app/t/read-and-control-mqtt-from-your-own-homey-app/62364/3 "2022-04-05T17:01:25Z")

</div>

So an app that uses MQTT to connect to a broker that gets fed by the MQTT Hub app _running on the same Homey_? Sounds like a huge kludge to me. Might as well just implement what MQTT Hub does to control devices.

---

<div class="post-metadata">

**Author:** ![Jens\_De\_Smet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jens_de_smet/32/33978_2.png) [@Jens\_De\_Smet](https://community.homey.app/u/Jens_De_Smet)\
**Post date:** [April 5, 2022, 5:08pm UTC](https://community.homey.app/t/read-and-control-mqtt-from-your-own-homey-app/62364/4 "2022-04-05T17:08:21Z")

</div>

the intention is to control my entire house in its own private app via its own app, you introduced this to me yourself. But corner I connect to the MQTT devices on my homey pro.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 5, 2022, 5:10pm UTC](https://community.homey.app/t/read-and-control-mqtt-from-your-own-homey-app/62364/5 "2022-04-05T17:10:29Z")

</div>

> [@Jens\_De\_Smet](#):
>
> you introduced this to me yourself

Yes, but you never mentioned that you wanted to write a _Homey_ app. I assumed you wanted to write an app run externally that could control Homey, in which case you could leverage the MQTT Hub app. If you want to create a Homey app to control your Homey (which I would _not_ recommend, it’s going to be a PITA to manage), use the Web API.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [April 5, 2022, 5:44pm UTC](https://community.homey.app/t/read-and-control-mqtt-from-your-own-homey-app/62364/6 "2022-04-05T17:44:09Z")

</div>

Great idea, guess you just created that loop between your Homey App and MQTT that you want to program on the Community here:  
Translate this topic: #47543

> [@Is het mogelijk om homey helemaal met code te programmeren zonder folow's](https://community.homey.app/t/is-het-mogelijk-om-homey-helemaal-met-code-te-programmeren-zonder-folows/47543/1):
>
> Beste,

Goed idee, ik denk dat je zojuist die lus hier op de community hebt gemaakt tussen MQTT en jouw Homey App die je wilt programmeren:  
Vertaal dit onderwerp: #62364

> [@Read and control MQTT from your own homey app](#):
>
> Best,

But I still don’t understand why you Choose Homey as a platform if you don’t want to use Flows.  
You are still not clear in what you want to achieve functionally.
