hey @4ch i ran a simple experiment to test this.
1- Created two variables; "Button" and "Relay"
2- Created two events to control the relay with the button:
3- Created a switch widget to control the "Button" variable, and an Indicator widget to display the status of the "Relay" variable, and it works!
When the button is == 1, the relay is set to "1" by the events engine.
The same for "0":
Perhaps you can try the same to see if the problem is in the connection of your relay or in your account?