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

Discover device after adding it by mqtt

$
0
0

@fjnieto wrote:

After adding the device correctly to assign it to a person that device must first be previously discovered. How can I make the device appear?

mqtt:
  broker: 192.168.0.160
  port: 1883
  username: manny
  password: 4567
  discovery: true
  discovery_prefix: homeassistant

switch:
- platform: mqtt
  name: "Sonoff Switch 01"
  command_topic: "cmnd/sonoff1/power"
  state_topic: "stat/sonoff1/POWER"
  qos: 1
  payload_on: "ON"
  payload_off: "OFF"
  retain: true
  device:
   identifiers: 1
   name: Switch1

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95365

Trending Articles



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