OK… So I have the new MQTT add-on and I have set up a user in HA for MQTT, reset the addon options to defaults and configured the integration on IP 127.0.0.1, port 1883, and the username and password for the newly created user. I also checked the box to enable MQTT discovery. Finally, as per instructions, I deleted the entire mqtt section on configuration.yaml including the mqtt: key/line.
The username and password are identical to the old user/pass I had configured already in Tasmota on my Sonoffs.
This all worked perfectly. I did delete the old integration and restarted HA before adding the new MQTT integration and configuring as per above.
Next, I deleted the MQTT switches I had configured, however when I restarted, they were not auto-configured or discovered so I added them back and all is well again.
Just restarted with no switches in yaml and as soon as I enabled the option the switches popped up. Then I just had to customize them… Did that in GUI as I think it’s ignoring customize for some reason
could be… I never changed the names in the sonoff in case I wanted to switch them around if I had a failure… maybe that bit me in the ass… just seems everywhere I turn theres somewhere else I need to change the f*@king name.
Totally understand. I have four sonoffs in the walls that aren’t going to move so I didn’t mind naming them but I have two others mounted in boxes in the middle of short extension cords. These two I started out with just “sonoff1” and 'sonoff2" in case I moved them. They have since found permanent homes so I did rename them.
I have a couple of questions and hoping you guys could help me understand,
I have RPI3B+ with HassOS 1.10, I used the AIO installer to setup it up. Currently on Home Assistant 0.81.6,
I have numerous items coming in from Smartthings MQTT Bridge. I have MQTT configured in my configuration.yaml and then have all the smartthings entities configured in sensor.yaml and binary_sensor.yaml files. To switch to the integration, I would just delete all that and go the thru the “MQTT” Integration?
Do I uninstalled the Mosquitto add-on?
Delete mqtt: completely from the configuration yaml?
You need the MQTT addon - it’s still the broker. Also are you using a username and password? I created a Home Assistant user with the same user/password. Then you’d delete the yaml files and delete all mqtt: from config yaml. I am assuming your MQTT devices support discovery? I had to set an option to enable that in Tasmota.
Just keep a copy of everything you do in case you need to wind back the changes.
Yes, currently I am using a username/password in the MQTT configuration with a client_id. I have no idea if my devices support discovery. I have 3 Konnected.IO boards for an existing wired alarm system in my house. A couple of Hue Dimmer remotes to control some zwave switches in a couple of areas in the house. I am assuming that the discovery option would have to be Smartthings related since they are all coming thru that way.
I removed MQTT from my configuration.yaml and removed all devices from binary_sensor.yaml and tried the integration and checked discover. Got a Success! response. Clicked on the MQTT inside the configuration settings page and it says, “No devices configured”