MQTT Discovery

Then discovery wont work.

@DavidFW1960 what version of Tasmota are you using?

I found this post today and tried following it. https://github.com/home-assistant/hassio-addons/issues/451
The only thing different in the post is the Mosquito MQTT Config in that video. They dont have login/password set in the video. I didnt change anything in Mosquitto config. Maybe that is causing an issue.

did you chech authentication username and massword on Tasmota MQTT settings? - did you make a new user in HA or are you using local auth?

6.3 released last weekend

what authentication did you use for the integration? do you have a username/password set in the add-on options?

HA auth.

And yes user and password are set correctly.

I’m having trouble with 6.3 on sonoff basics. They stop connecting to wifi.

so in the addon settings you removed the creds and just set them in the integration?

Weird. My S22’s are configured as basics and haven’t missed a beat with any version inc 6.3

Yes I have a username/password set in the add-on. I used the same username/password setting up the integration just like I had in my configuration.yaml

Yep.

6.3 is working fine in my POW R2’s. It’s just the sonoff basics that stop responding.

Just removed the credentials from Mosquito MQTT and deleted the integration, rebooting and will try it again.

So then it’s similar to my minimal config 1 way up above. There should not be any change and it should just work…

So if you do that then create a home assistant user with the same username and password and then plug that into the integration and leave the MQTT addon settings as default.

Don’t have a homeassistant or addons user!!

If this does not work, I’ll try adding all the binary_sensors back to the yaml file and see if they show up again.

Sorry, I am not fully understanding I guess. The MQTT discovery integration has to be a different user than me? I didnt see an option for setting up a different user.

I don’t get it, I uncommented all of my Smartthings MQTT sensors in the binary_sensor.yaml file and everything is back and working. Essentually All I did was remove the username/password from Mosquito Config and all MQTT settings from Confuration.yaml

actually I think you can use the main user. In config>users you can add a user (orange cross bottom right)

I never tried using the existing user as to avoid having to reconfigure my sonoffs, I just used the username and password I was already using for them as the new user.

ah so what username and password did you use in the integration? same as you used for smartthings I guess.

Yes, That was the way I had it all connected before.

so was the user/pass in MQTT options the same as you used in the integration/smartthings? Maybe they were conflicting with each other.