unable to connect to MQTT

anupchavda
Posts: 23
Joined: Sat Jul 27, 2019 4:54 am

unable to connect to MQTT

Post by anupchavda »

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 1022 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?
Venicenerd
Posts: 52
Joined: Tue Jul 03, 2018 5:48 pm

Re: unable to connect to MQTT

Post by Venicenerd »

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

Return to “HassBridge”