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

3 state "sensor" configuration

$
0
0

@Parazeet wrote:

Hi everyone,

I have a Sonoff Dual R2 with Tasmota and MQTT on it, that will be used for a roller shutter. It’s configured in Interlock mode so both relay can’t be on simultanously.

I have setup a card with up, stop and down button.
Relays will reset after the action is done (let’s say shutter takes 25 secs to fully rise, relay will stop after 30 secs to make sure it’s fully up).

I’d like a card on Hassio telling me the state :

  • If down and stop button not used : closed
  • If down or up and stop button used : partially open
  • If up and stop button not used : open

There will be a shutter switch too, so if rise/lower action is interrupted with the switch I’d like the sate to be up to date on Hassio.

Any clue how I should proceed ?

Thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95482

Trending Articles



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