Hi All,
I have just started with Home Assistant, so i am pretty new to this and i am not able to figure out how to connect sonoff with home assistant.
Here’s what i have dont till now
– Flash Sonoff basic with TAsmota 6.7.1
– Sonoff switch is visible in Home Assistant (0.101.3)
arch | x86_64 |
---|---|
dev | false |
docker | true |
hassio | false |
os_name | Linux |
python_version | 3.7.4 |
timezone | Europe/Stockholm |
version | 0.101.3 |
virtualenv | false |
Sonoff which changes state from oon to off whenever i try to turn it on, on the home assistant page. But nothing happens on the actual switch.
So i checked the settings in sonoff MQTT settings and first problem is i am not able tos et the password it always default to ****.
So how can i set the password to my home assitant GUI password, i think that what i need to do. Correct me if i am wrong.
Second i have checked the console for the logs and here what i have found
i have checked online and rc -4 si for MQTT_CONNECTION_TIMEOUT, but i dont know to resolve this.
Here is what i have in my configuration file, i am using the default mqtt broker, as i am not using hass.io.
mqtt:
switch:
- platform: mqtt
name: “Power Strip”
state_topic: “stat/sonoff1-4726/POWER”
command_topic: “cmnd/sonoff1-4726/power”
payload_on: “ON”
payload_off: “OFF”
payload_available: “Online”
payload_not_available: “Offline”
qos: 1
retain: false
Help me to get this resolved