Two way control through app as well as press button

I need help to control my home appliances with two way trigger using app as well as with press button.I am using relay to control 230v.thank you need urgent help plz help.

Welcome to Cayenne!

Are you using a Pi or Arduino?

Arduino mega with Ethernet shield w5100 .I want to control appliances using IOT.If there is no internet connection I should be able to operate my appliances using hardware press button

Thank u for your quick reply.

Thank you for your response I am using audrino mega with Ethernet shield
w5100 I want to control my appliances through app as well as press button
even if net connection is not available at some moment. Thank you.