Taking the current wiring on the stairs light and connecting a Shelly 1 to make it controllable via smartphone.
Current Wiring
New Wiring
Wiring, patio and stairs switch
Stairs switch wired with a Shelly1