# Can't get MQTT Broker app to run

**URL:** <https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985>\
**Category:** Questions & Help\
**Tags:** app\
**Created:** [March 2, 2019, 11:07pm UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985 "2019-03-02T23:07:44Z")\
**Posts on this page:** 11\
**Page:** 2

<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:** [May 28, 2019, 6:29pm UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/21 "2019-05-28T18:29:20Z")

</div>

Make sure that the module configuration in the Tasmota firmware matches the driver that you’re using to add the device to Homey.

---

<div class="post-metadata">

**Author:** ![Abduljalil\_Abbasi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/abduljalil_abbasi/32/9657_2.png) [@Abduljalil\_Abbasi](https://community.homey.app/u/Abduljalil_Abbasi)\
**Post date:** [May 30, 2019, 1:33pm UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/22 "2019-05-30T13:33:39Z")

</div>

i checked the module. it is basic (1) and the driver selected is tasmota basic. Uploading: 20190530\_172603 (1).jpg…

 ![Screenshot_20190527-182658_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/9f2fbd79025eff2df472353c36ffa5b91bde967b.jpeg) ![Picture21](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/0/0c961afa9012435c46dc316591a4ffc85a5ffec1.png)  
still not finding the device. console after restart:  
00:00:05 MQT: Connected  
00:00:05 MQT: sonoffflood/LWT = Online (retained)  
00:00:05 MQT: sonoffflood/cmnd/POWER =  
00:00:06 MQT: sonoffflood/INFO1 = {“Module”:“Sonoff Basic”,“Version”:“6.5.0(release-sonoff)”,“FallbackTopic”:“cmnd/DVES\_000000000000000000000000000\_fb/”,“GroupTopic”:“sonoffs”}  
00:00:06 MQT: sonoffflood/INFO2 = {“WebServerMode”:“Admin”,“Hostname”:“flood”,“IPAddress”:“192.168.1.172”}  
00:00:06 MQT: sonoffflood/INFO3 = {“RestartReason”:“Software/System restart”}  
00:00:06 MQT: sonoffflood/RESULT = {“POWER”:“ON”}  
00:00:06 MQT: sonoffflood/POWER = ON  
14:22:36 MQT: sonoffflood/STATE = {“Time”:“2019-05-30T14:22:36”,“Uptime”:“0T00:00:14”,“Vcc”:4.094,“SleepMode”:“Dynamic”,“Sleep”:50,“LoadAvg”:22,“POWER”:“ON”,“Wifi”:{“AP”:1,“SSId”:“Workshop”,“BSSId”:“B0:39:56:7E:3F:A5”,“Channel”:11,“RSSI”:92,“LinkCount”:1,“Downtime”:“0T00:00:04”}}

---

<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:** [May 30, 2019, 2:16pm UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/23 "2019-05-30T14:16:16Z")

</div>

It looks like you’re using a non-standard MQTT topic setting. The “full topic” setting should be the default value: `%prefix%/%topic%/`

The “topic” setting can be chosen to your liking. For example, I have this configuration for my Sonoff RF Bridge:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2e3f00c16cc361be0b76c52a94844af1f90a1ffd.png)

---

<div class="post-metadata">

**Author:** ![Abduljalil\_Abbasi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/abduljalil_abbasi/32/9657_2.png) [@Abduljalil\_Abbasi](https://community.homey.app/u/Abduljalil_Abbasi)\
**Post date:** [May 31, 2019, 1:31pm UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/24 "2019-05-31T13:31:27Z")

</div>

its working like a charm

appreciated. it was the non-standard MQTT topic setting issue. much appreciated

regards

---

<div class="post-metadata">

**Author:** ![Jos\_ten\_Brink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jos_ten_brink/32/58179_2.png) [@Jos\_ten\_Brink](https://community.homey.app/u/Jos_ten_Brink)\
**Post date:** [January 18, 2023, 10:18am UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/25 "2023-01-18T10:18:36Z")

</div>

I am reading this topic but it doesn’t solve my problem although it looks I am running into the same kind of issue:  
When I try to install the sonoff basic(tosmota) from the equipment ( apparaat toevoegen) i get a screen asking for the MQTT broker hostname/IP  
Her i fill the homey IP in ( in my case 192.268.20.11)  
the next is MQTTbroker port (1883) pre-filled in

and the I am asked to fille in the MQTT borker username and password (optional).  
I don’t fille in these as they are optional  
pressing “next step” results in the message  
"“MQTT connectie kon niet worden gemaakt”

I have a sonoff basic flashed with tamota 12.3.1  
below the infomatio from the sonoff:

### Sonoff Basic

## Tasmota

| Program Version | 12.3.1(tasmota) |
| --- | --- |
| Build Date & Time | 2022-12-16T10:28:17 |
| Core/SDK Version | 2\_7\_4\_9/2.2.2-dev(38a443e) |
| Uptime | 0T00:03:24 |
| Flash Write Count | 22 at 0xFA000 |
| Boot Count | 8 |
| Restart Reason | Software/System restart |
| Friendly Name 1 | sonoff01 |
| | |
| AP1 SSId (RSSI) | jtb (88%, -56 dBm) 11n |
| Hostname | sonoff01-7567 |
| MAC Address | 4C:EB:D6:B7:3D:8F |
| IP Address (wifi) | 192.168.20.29 |
| Gateway | 192.168.20.254 |
| Subnet Mask | 255.255.255.0 |
| DNS Server1 | 8.8.8.8 |
| DNS Server2 | 192.168.20.254 |
| | |
| HTTP API | Enabled |
| | |
| MQTT Host | 192.168.20.11 |
| MQTT Port | 1883 |
| MQTT User | sonoff01 |
| MQTT Client | sonoff01 |
| MQTT Topic | sonoff01 |
| MQTT Group Topic 1 | cmnd/tasmotas/ |
| MQTT Full Topic | cmnd/sonoff01/ |
| MQTT Fallback Topic | cmnd/sonoff01\_fb/ |
| MQTT No Retain | Disabled |
| | |
| Emulation | None |
| | |
| ESP Chip Id | 12008847 (ESP8285N08) |
| Flash Chip Id | 0x14325E (DOUT) |
| Flash Size | 1024 KB |
| Program Flash Size | 1024 KB |
| Program Size | 629 KB |
| Free Program Space | 372 KB |
| Free Memory | 26.4 KB |

* * *

[Tasmota 12.3.1 by Theo Arends](https://bit.ly/tasmota)

Does anybody know what I am doing wrong?

---

<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:** [January 18, 2023, 10:20am UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/26 "2023-01-18T10:20:44Z")

</div>

> [@Jos\_ten\_Brink](#):
>
> I don’t fille in these as they are optional

They are optional if you configured the broker to allow unauthenticated connections. Have you?

---

<div class="post-metadata">

**Author:** ![Jos\_ten\_Brink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jos_ten_brink/32/58179_2.png) [@Jos\_ten\_Brink](https://community.homey.app/u/Jos_ten_Brink)\
**Post date:** [January 18, 2023, 10:31am UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/27 "2023-01-18T10:31:49Z")

</div>

I did not chek the line: authenticatie van gebruikers aanzetten ( Wordt niet aangeraden)

should I do that?

---

<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:** [January 18, 2023, 10:49am UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/28 "2023-01-18T10:49:12Z")

</div>

I assume you mean “uitzetten”.

Whether you should do that or not is a personal preference. But if you don’t want to disable it, you need to create a user/password combination and configure your device to use it.

---

<div class="post-metadata">

**Author:** ![Jos\_ten\_Brink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jos_ten_brink/32/58179_2.png) [@Jos\_ten\_Brink](https://community.homey.app/u/Jos_ten_Brink)\
**Post date:** [January 18, 2023, 10:49am UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/29 "2023-01-18T10:49:52Z")

</div>

OK, I just checked the checkbok in the broker.  
Now I seem to come a bit further: but I now come to a white screen with a turning Wheel  
It is asking to (soft) reboot the sonoff ,which I did. and then it says  
“no new equipment found”

---

<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:** [January 18, 2023, 10:55am UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/30 "2023-01-18T10:55:45Z")

</div>

So you’re using the [Sonoff app](https://homey.app/nl-nl/app/name.klep.sonoff/Sonoff/)? That app is deprecated (won’t be developed any further) and only works with Tasmota versions 6 and lower.

You’re going to have better luck with the [Tasmota MQTT app](https://homey.app/nl-nl/app/com.paveld.tasmota/Tasmota-MQTT/).

---

<div class="post-metadata">

**Author:** ![Jos\_ten\_Brink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jos_ten_brink/32/58179_2.png) [@Jos\_ten\_Brink](https://community.homey.app/u/Jos_ten_Brink)\
**Post date:** [January 18, 2023, 11:05am UTC](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985/31 "2023-01-18T11:05:55Z")

</div>

Ok, This is actually working.!  
Thank you so much. This took me three days of experimenting!

[Previous page](https://community.homey.app/t/cant-get-mqtt-broker-app-to-run/9985.md?page=1)
