Home assistant MQTT (Mosquitto) connection error with Sonoff

  • Platform information:
    • Hardware: RAspberry PI (3)
    • OS: Home Assistant
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version:
  • Issue of the topic:
    Hi,

I have been trying to get my Sonoff set up with Home assistant using Tasmota.
I have managed to get my Sonoff switch flashed with Tasmota and set up my Raspberry Pi with Home Assistant / HassIO. Both seem to work fine. However, I can’t seem to get the MQTT to connect the sonoff device without getting this message;

1570126574: New connection from 192.168.1.92 on port 1883.
1570126574: Socket error on client , disconnecting.

MQTT on the sonoff is setup as follows;

image.png

and the MQTT is the HA Configurator is;

Broker: 192.168.1.91
Port: 1883
Username: test
Password: password

What am I missing?
Thanks in advance for any help. If you need anymore information just let me know

Erm… you realize this is the OpenHAB community and not the Home Assitant community? It’s not very likely you will get information about Home Assistant here.

1 Like