# MQTT messages from Arduino to Homey

**URL:** https://community.homey.app/t/mqtt-messages-from-arduino-to-homey/97502
**Category:** Apps
**Tags:** app, mqtt
**Created:** [December 11, 2023, 10:25am UTC](https://community.homey.app/t/mqtt-messages-from-arduino-to-homey/97502 "2023-12-11T10:25:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Fred\_Pols](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred_pols/32/17322_2.png) [@Fred\_Pols](https://community.homey.app/u/Fred_Pols)
#### Post date: [December 11, 2023, 10:25am UTC](https://community.homey.app/t/mqtt-messages-from-arduino-to-homey/97502/1 "2023-12-11T10:25:59Z")

</div>

Hi,  
I would like to send repetitive water flow sensor values from my ‘Arduino Uno R4 Wifi’ to Homey. Unfortunately Homeyduino does not seem to work on the ‘R4 Wifi’ so I want to try it with MQTT messages but I am not familiar with this.  
I have installed the MQTT -broker and -client on Homey and configured them according the Cornelisse YouTube videos but I don’t know how to proceed. Anybody can help?

---

<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: [December 11, 2023, 10:27am UTC](https://community.homey.app/t/mqtt-messages-from-arduino-to-homey/97502/2 "2023-12-11T10:27:14Z")

</div>

> [@Fred\_Pols](#):
>
> but I don’t know how to proceed.

You need to run software on your Arduino board that will publish the sensor values to the MQTT broker.

---

<div class="post-metadata">

### Author: ![Fred\_Pols](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred_pols/32/17322_2.png) [@Fred\_Pols](https://community.homey.app/u/Fred_Pols)
#### Post date: [December 11, 2023, 3:52pm UTC](https://community.homey.app/t/mqtt-messages-from-arduino-to-homey/97502/3 "2023-12-11T15:52:18Z")

</div>

Thanks, I already found sketch code to publish the values but how do I refer to the broker on Homey?

---

<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: [December 11, 2023, 3:53pm UTC](https://community.homey.app/t/mqtt-messages-from-arduino-to-homey/97502/4 "2023-12-11T15:53:19Z")

</div>

> [@Fred\_Pols](#):
>
> but how do I refer to the broker on Homey?

By its IP-address.
