Arduino MicroController Home automation Application

Good day, we are using this application for project study purposes.
We will used this application for the lightings of a house with the limit range of Wi-Fi (internet).
We are asking for the possibility of this application that will control outside of your home or you are in the office.

Thank you.

I know there is a lot of newer technology but I use X-10.