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

Please help create binary sensor

$
0
0

Good day.

Can anyone help me create a binary.sensor?

I have a Sonoff mini flash firmware Tasmota. For which I separated the relay from Switch1. When I connect S1 and S2, the relay does not respond but the mini sends me the status of S1 and S2 to HA

MQT: stat/garage_door/RESULT = {"Switch1":{"Action":"ON"}}

and

MQT: stat/garage_door/RESULT = {"Switch1":{"Action":"OFF"}}

I was able to use this to control the boolean helper using automation.

But now I would like to make a binary_sensor helper instead.
I’ve been dominating HA since the morning and I just can’t find an easy solution.

I want to use the Sonoff mini to control the garage door.
Use S1 and S2 as “Closed” signals and relays as drive triggers.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106280

Trending Articles