I set up MQTT in HA. If I try to send a message (in the configuration of MQTT) I receive the errormessage: “Faild to call service mqtt/publish. Error talking to MQTT: The client is currently not connected”
If I send messages with MQTT-Explorer it seems to me that everything is ok.
Actually I just want to receive messages, but it’s not working; my sensors show up like “unavailable”, thats why I was playing with the configuration and figured out the problem with the client connection, maybe its a depending problem.
My config:
mqtt:
broker: 192.178.168.36 mqtt nas54
port: 1883
certificate: auto
Hi, thx for your reply.
Yes, I installed the Mosquitto broker. When I tested it with MQTT-Explorer I can send messages and it seems that the broker is working.
“2022-01-04 10:13:14 ERROR (MainThread) [homeassistant.components.mqtt] Failed to connect to MQTT server due to exception: [Errno 104] Connection reset by peer”