So, I know there are loads and loads of discussions about this, I believe I’ve read them all, tried every solution that seemed to work to everybody else but not for me… I’m losing the will to live!
I’m fairly new to HA and bought some Sonoff basics and TH16, and thought the flashing would be the hardest part by watching all the DrZzs’s and Bruh’s youtube videos.
Flashing went like a brease and everything responds through the web interface of Tasmota, now came my nightmare material.
Atm runing an updated version of hassio and tried both the embedded mqtt broker and the Mosquitto addon.
While using the embedded broker, I can get the switch to show up in the GUI, but when I activate it nothing happens on the phisical switch and the GUI one deactivates shortly after.
But at least it shows!
While using Mosquitto I can tell the switch gets connected to the mqtt server by checking de Addon Log but nothing is discovered and nothing shows on the GUI!
I’ve tried all sorts of configuration codes.
While using the embedded Im using:
mqtt:
username: home
password: mypass
discovery: true
- platform: mqtt
name: “Sonoff1”
command_topic: “cmd/sonoff1/power”
state_topic: “stat/sonoff1/POWER”
qos: 1
payload_on: “ON”
payload_off: “OFF”
payload_available: “online”
payload_not_available: “offline”
retain: true
When I try the Mosquitto addon I set:
mqtt:
broker: 192.168.1.1
discovery: true
and on the addon Config
{
“logins”: [
{
“username”: “home”,
“password”: “mypass”
}
],
“anonymous”: false,
“customize”: {
“active”: false,
“folder”: “mosquitto”
},
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
}
I’m going crazy, can’t figure whats wrong nor whats happening!
Also I’m fairly noob on diagnosing and command line stuff.
Anyone has any idea?