How to make a Sonoff Mini R2 act as smart relay?

Sounds like “detached mode” :point_down:

You find the GPIO used on the right side here :point_down: