Control lamp using relay and manual switch


I have an arduino/MCU lamp that i want to connect it to a relay and control it wireless using mobile app which is not a problem,

but i want to keep the physical switch to turn on and off the lamp,and i want to read the state of the lamp in case that it is on from the switch, how to make this connections work as i want

Thank you

I like to recommend you not connect swich to mains instead make a swich with aurdino itself so you have no need to check if lamp is off or on