Newbie Question

rkrausse you have to get more experience. your project is possible but never never and NEVER play with the 220/110V of your house
please start from the beginning (google: tutorial arduino or similar) and after a few months come back here for advice on your project