Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95445

New Setup: Sonoff switch not toggling on

$
0
0

@SA_guy wrote:

I am rebuilding my HA setup, running Home Assistant on Docker and the Mosquito Docker container as well.

My configuration.yaml file currently looks like this:

mqtt:
  broker: 192.168.87.190
  port: 1883
  username: !secret mqtt_username
  password: !secret mqtt_password

switch:
  platform: mqtt
  name: "Sonoff Passage 1"
  command_topic: "cmnd/sonoff_t1_passage/POWER1"
  state_topic: "stat/sonoff_t1_passage/POWER1"

Then on my T1 Sonoff Switch that has been flashed with Tasmota I have setup the MQTT as such:

On the console within my Tasmota device it doesn’t look like there are any issues:

Going back to Home Assistant I can see the Switch on my Overview page:

When I click to toggle it moves, and a second later moves back - without have changed the state of the light at all. Switching the light on in the Tasmota GUI of the switch works, but doesn’t update the state on the HA page.

What am I missing, or what other information can I provide to help?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>