I ned help please.
I have (two air blowing and return machine ) control by a button to run or stop both machines,
and two ports controlled by a relay type switch that will excite the electromagnetic suction cups
I need a script that will check whether the two ports closed or not.
If one of the two unlocked ports and I click the button to run two machines, the machine does not work.
if both ports close and I click on the button.
these machines work.
is that possible with homeassistant or not

If you need something that can press button you can use fingerbot. It can be integrated in home assistant.
I dont know about this relay but you can maybe use smart plug with electricity meter to check if machine are on or off.

1 Like