Relay opens on reset

That’s the first thing I’d try. I’d also ensure that I wasn’t using a pin that oscillates at startup…

I’d then move on to using virtual pins in my app and adjust the code accordingly.

Pete.