# MQTT-eclipse installation issue

**URL:** <https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875>\
**Category:** eWeLink CUBE\
**Tags:** ihost\
**Created:** [May 19, 2024, 10:28pm UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875 "2024-05-19T22:28:56Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseluisfernandes](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@joseluisfernandes](https://forum.ewelink.cc/u/joseluisfernandes)\
**Post date:** [May 19, 2024, 10:28pm UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/1 "2024-05-19T22:28:56Z")

</div>

Hi Everyone,

I try to install Mosquitto-eclipse.  
Firstly, I installed filebrowser:  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/3/3f846e0fce3e623e610e2f064a6b7131ac3359bd.png)  
I installed eclipse-mosquitto:  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/4/46a39b236ab4b473005cdce85bd542743dd2e923.png)

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/c/c766298aa25c1c1147d427a995018ea947f812db.png)  
In home Assistant, I try to install MQTT:  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/9/911712b15f89a93b34406aa5b4aeaf7e849fe11c.png)  
but the answer is:  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/8/8151ff1ded35cc40cf1a6261751a190fd57efca0.png)

What is wrong? Could anybody help me?

Thank you,  
Best regards,

Jose

---

<div class="post-metadata">

**Author:** ![eerke](https://avatars.discourse-cdn.com/v4/letter/e/eb9ed0/32.png) [@eerke](https://forum.ewelink.cc/u/eerke)\
**Post date:** [May 20, 2024, 1:29am UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/2 "2024-05-20T01:29:44Z")

</div>

I take it that is the IP of your iHost and it is static.  
Also nothing else you’ve installed uses the port 1889?

---

<div class="post-metadata">

**Author:** ![port4u](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/port4u/32/5117_2.png) [@port4u](https://forum.ewelink.cc/u/port4u)\
**Post date:** [May 20, 2024, 1:39am UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/3 "2024-05-20T01:39:17Z")

</div>

Where’s the host of your HA?

If that’s also on your iHost, maybe you should try localhost or internal IP allocated by Docker

---

<div class="post-metadata">

**Author:** ![joseluisfernandes](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@joseluisfernandes](https://forum.ewelink.cc/u/joseluisfernandes)\
**Post date:** [May 20, 2024, 6:53pm UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/4 "2024-05-20T18:53:04Z")

</div>

Yes, nothing else uses the port 1889.

---

<div class="post-metadata">

**Author:** ![joseluisfernandes](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@joseluisfernandes](https://forum.ewelink.cc/u/joseluisfernandes)\
**Post date:** [May 20, 2024, 6:53pm UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/5 "2024-05-20T18:53:42Z")

</div>

I also tried with localhost and internal IP but nothing works.

---

<div class="post-metadata">

**Author:** ![john.e.dixon](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/john.e.dixon/32/1626_2.png) [@john.e.dixon](https://forum.ewelink.cc/u/john.e.dixon)\
**Post date:** [May 20, 2024, 7:37pm UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/6 "2024-05-20T19:37:17Z")

</div>

I don’t use HA so no idea there, but my Mosquitto runs with Node-red and Tasmota following this guide, using the config file.

> [@【Add-on Guide】MQTT2CUBE-Tasmota: sync your Tasmota devices to CUBE](https://forum.ewelink.cc/t/add-on-guide-mqtt2cube-tasmota-sync-your-tasmota-devices-to-cube/19413):
>
> MQTT2CUBE-Tasmota add-on allows you to sync your Tasmota devices to iHost (CUBE) for control. Make sure you’ve updated your iHost (CUBE) to V1.8 If you have a working MQTT broker and you want to keep using it, skip to step 6 If you want to run a MQTT broker in iHost and connect your Tasmota device, follow the step 1-6 Step 1 Create a volume, name it like mosquittoConfig Step 2 Run the Filebrowser add-on, select the volume created in step1 Step 3 Open the page of fileb…

Maybe you’ve already done this, but just in case.  
Unfortunately my Smartthings MQTT driver can’t subscribe to a port which is not 1883, but for running MQTT from iHost it performs OK.

---

<div class="post-metadata">

**Author:** ![parizolli](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@parizolli](https://forum.ewelink.cc/u/parizolli)\
**Post date:** [May 20, 2024, 8:01pm UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/7 "2024-05-20T20:01:22Z")

</div>

Did you modify the mosquito.conf file to add the 2 lines :  
listener 1883  
allow\_anonymous true  
?

---

<div class="post-metadata">

**Author:** ![eerke](https://avatars.discourse-cdn.com/v4/letter/e/eb9ed0/32.png) [@eerke](https://forum.ewelink.cc/u/eerke)\
**Post date:** [May 20, 2024, 8:02pm UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/8 "2024-05-20T20:02:24Z")

</div>

I’ve deleted the Mosquito Broker docker on my iHost now but did check it worked. Can’t check now but from memory that was the port. I have a broker on my RP4/Home-Assistant: you just need to create a local only user for MQTT clients to log in but I can confirm current HA Operating system and current iHost work with Mosquito Broker Add On in Home Assistant as that is my current setup. In theory I think you can create a log in for each MQTT client but I got bored doing that. I don’t know why your iHost broker doesn’t work: it did for me with a very similar setup. Maybe something to do with an iHost firmware update. It was quite a while ago I tested it.

---

<div class="post-metadata">

**Author:** ![joseluisfernandes](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@joseluisfernandes](https://forum.ewelink.cc/u/joseluisfernandes)\
**Post date:** [May 20, 2024, 8:36pm UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/9 "2024-05-20T20:36:00Z")

</div>

yes, I created moquitto.conf with the 2 lines.

---

<div class="post-metadata">

**Author:** ![joseluisfernandes](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@joseluisfernandes](https://forum.ewelink.cc/u/joseluisfernandes)\
**Post date:** [May 20, 2024, 8:40pm UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/10 "2024-05-20T20:40:56Z")

</div>

Finally, I found the mistake:  
It works with the folder below:

/mosquitto/data

/mosquitto/log

mosquittoConfig:/mosquitto/config

thanks all for your help.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/6e8b86e61f442be5e018dc23b7f5019a98bfad64.png) [@system](https://forum.ewelink.cc/u/system)\
**Post date:** [May 21, 2024, 8:41am UTC](https://forum.ewelink.cc/t/mqtt-eclipse-installation-issue/33875/11 "2024-05-21T08:41:22Z")

</div>

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