Hello everyone, I think I’m really close to having my tasmota s31 plug finally connect to the MQTT and running on my Home Assistant.
right now it won’t connect and I get Error -5 which I think has to do with the password.
The Mosquito install instructions said the user was admin and the password was password. Is that what I type into the tasmota MQTT settings page for user and password?
Sorry, like I said I’m way out of my league here.
I did add the below to the mosquitto config file.
allow_anonymous true
listener 1883
From the website " Defaults to false , unless no listeners are defined in the configuration file, in which case it set to true , but connections are only allowed from the local machine."
Doesn’t this mean that the s31 can’t connect since it’s not on the nas itself (local machine)?
# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.gz
persistence true
persistence_location /var/lib/mosquitto/
password_file /etc/mosquitto/passwd
listener 1883
and I do have a file passwd in the same directory.