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

Turn switches on/off on button press/release

$
0
0

Hello!

My blinds are raised and lowered via 2 relays that are controlled by an PLC. I can also specify a value to which the blinds should move. So far I have controlled the blinds via this % value.

I would now like to have two buttons, something like the standard button card with an arrow up and an arrow down. One button should raise the blinds as long as it is pressed and the other button should lower the blinds as long as it is pressed.
I have not yet found a way to implement this. The two relays on the PLC are integrated as switches via MQTT.

Does anyone have any idea how I could do this?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106221

Trending Articles



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