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

Mqtt Sonoff bridge

$
0
0

@nirlag wrote:

Hi.
i’m trying to config my sonoff bridge with mqtt,

-flashed bridge with tasmota.
seems to work fine- reciving data from motion sensor.
-started mosqitto mqtt. at the logs i see that the Sonoff has connected

1573823774: New connection from 10.0.0.6 on port 1883.
[INFO] found nir on Home Assistant
1573823775: New client connected from 10.0.0.6 as RF_Bridge (p2, c1, k30, u'nir')

an config.yaml

i have:
mqtt:
Broker: 10.0.0.33
Port: 1883
discovery: true
discovery_prefix: homeassistant

binary_sensor:

    - platform: mqtt
      state_topic: 'tele/RF_Bridge/RESULT'
      name: 'window'
      value_template: '{{value_json.RfReceived.Data}}'
      payload_on: '1CE2DA'
      payload_off: '1CE2DAoff'
      device_class: motion
      optimistic: false
      qos: 1
      retain: false

but i cand make it apper on lovlace, or at the entity list.

never worked with mqtt before…
what am i doing wrong?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95414

Trending Articles



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