unable to connect to MQTT

Posted on
Thu Jul 28, 2022 10:11 am
anupchavda offline
Posts: 23
Joined: Jul 27, 2019

unable to connect to MQTT

Hi...I;ve followed the instructions and have set up in Home Assistant the Mosquitto MQTT services.

My Homeassistant is running on a MacMini (with Scripted for cameras) on 192.168.1.231 with default port
I've set up mosquitto to run on the same MacMini with a port of 1883. I've used the generated user and password as credentials for the HassBridge plugin.

My Indigo instance is running on a separate MacMini on 192.168.1.201.

This is my config screen:
hassbridge.png
hassbridge.png (112.95 KiB) Viewed 835 times


I keep getting this error in the plugin:

HassBridge Connecting to the MQTT Server...
HassBridge Error Exception trapped:[Errno 54] Connection reset by peer
HassBridge Error Error in plugin execution UiClosed1:

Traceback (most recent call last):
File "plugin.py", line 157, in closedPrefsConfigUi
File "plugin.py", line 136, in _update_perfs
File "plugin.py", line 236, in _connect_to_mqtt_broker
File "/Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/HassBridge.indigoPlugin/Contents/Server Plugin/libs/paho/mqtt/client.py", line 937, in connect
File "/Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/HassBridge.indigoPlugin/Contents/Server Plugin/libs/paho/mqtt/client.py", line 1100, in reconnect
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 828, in do_handshake
error: [Errno 54] Connection reset by peer

Any ideas what I'm doing wrong?

Posted on
Mon Oct 10, 2022 12:18 pm
Venicenerd offline
Posts: 52
Joined: Jul 03, 2018

Re: unable to connect to MQTT

Have you ever figured this out? Would love to see the solution :)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests