I can not connect in MQTT Explorer with mij Rasberry ip adres where MQTT is installed.
Also i can not connect with localhost port 1883
It gives also problems in zwave-js-ui
2023-03-22 10:13:15.177 INFO MQTT: MQTT client reconnecting
2023-03-22 10:13:15.181 ERROR MQTT: Mqtt client error connect ECONNREFUSED 127.0.0.1:1883
Error: connect ECONNREFUSED 127.0.0.1:1883
at TCPConnectWrap.afterConnect [as oncomplete] (node:net16)
2023-03-22 10:13:15.183 INFO MQTT: MQTT client closed
In domoticz i have also Node-red with MQTT and thats ok. It works fine.
For node-red i setup in Domoticz MQTT with lan interface localhost en port 1883.
Dont understand why i can not connect in MQTT Explorer
MQTT cant connect in MQTT Explorer
Moderator: leecollings
-
- Posts: 575
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: MQTT cant connect in MQTT Explorer
Perhaps use the IP-address of the Raspberry instead of 127.0.0.1
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: MQTT cant connect in MQTT Explorer
Is not working.
-
- Posts: 575
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: MQTT cant connect in MQTT Explorer
What is in the logging of mosquitto?
If you put "log_type debug" in the mosquitto configuration, you will be able to find the cause.
If you put "log_type debug" in the mosquitto configuration, you will be able to find the cause.
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: MQTT cant connect in MQTT Explorer
The problem has been solved.
-
- Posts: 575
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: MQTT cant connect in MQTT Explorer
So what was the solution?
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: MQTT cant connect in MQTT Explorer
From Mosquitto 2 and higher its only possible to login with localhost on that device.
For another device you have to change some settings in mosquitto.conf. you can login than with raspberry ip
For another device you have to change some settings in mosquitto.conf. you can login than with raspberry ip
- waltervl
- Posts: 5846
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT cant connect in MQTT Explorer
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 136
- Joined: Thursday 19 July 2018 14:36
- Target OS: -
- Domoticz version: 2023.1
- Contact:
Re: MQTT cant connect in MQTT Explorer
Ai. Yes i See it now.
Who is online
Users browsing this forum: No registered users and 1 guest