I have a new build HA on a RBP3.
Home Assistant 0.102.3
Installed Mosquitto broker on the same RPB using the add-on store.
My /config/configuration.yaml.
mqtt:
broker: ‘192.168.178.108’
Example configuration.yaml entry
sensor:
- platform: mqtt
name: ‘switch1’
state_topic: “/BB_ESP_Easy_01/switch 02/Switch”
state_open: “1”
state_closed: “0”
Config of Mosquitto broker:
{
“logins”: [],
“anonymous”: true,
“customize”: {
“active”: false,
“folder”: “mosquitto”
},
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”,
“require_certificate”: false
}
On the espeasy:
in log of Mosquitto broker:
1575832451: New connection from 192.168.178.48 on port 1883.
1575832451: Socket error on client , disconnecting.
in log of espeasy:
Failed to connect to broker
Please advise what to do.
Thanks