MQTT & Tasmota not showing in home app

Hi On a clean Hasio installation on a raspberry PI, with only configurator, sonos, homekit & Mosquitto broker apps installed, I’m not able to get tasmota (6.4.1) flashed Sonoff switches to work. I have tried both a sonoff basic and a S20 poweroutlet.

The code im using in configuration.yaml is:

mqtt:
broker: core-mosquitto
username: mqtt-user
password: mqtt-mypw

switch:
platform: mqtt
name: “Sonoff S20-1”
command_topic: “cmnd/sonoffS20-1/power”
state_topic: “stat/sonoffS20-1/POWER”
qos: 1
payload_on: “ON”
payload_off: “OFF”

I have tried both POWER and power and every other possible combination:worried:

2019-01-26%2011_50_15-SonoffS20-1%20-%20Information%20%E2%80%93%20Google%20Chrome
This is my information when i go to the ip-adress og the switch.

I have a funny feeling that my mqtt is is not set up properly. The config ui use is:

{

“logins”: [
{
“username”: “mqtt-user”,
“password”: “mqtt-mypw”
}
],
“anonymous”: false,
“customize”: {
“active”: false,
“folder”: “mosquitto”
},
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
}

it might also be related to this error:

2019-01-26%2011_58_01-Home%20Assistant%20%E2%80%93%20Google%20Chrome

Any help is really appriciated

Yup, you can’t restart when your config is not valid. Try tot solve that issue and then restart HA.

Solved (partly)

Fix the double entry porblem in my customize file!!! (forget i fiddled a little in that file.

Force a restart for the cinfig page, not using the menu when editing the configuration.yaml.

Now i can start fiddeling with eveyrthing :slight_smile:

1 Like