After deceiding that the Siemens S5 had to go, I bought some arduino mega’s, relay board, ethernetshield,…
After a couples of weeks of trial and error (and a lot of google searches), i could operate my lights with the wall switches and from a webpage.
I found a shop that sold a handy din rail mount for the mega, so mounting was easy.

din rail for mega
After some problems with the webpages I discoverd blynk.
Blynk is a app that makes using your arduino on your phone super easy.

But I still had to program all the commands in the arduino editor.
And since I am no programmer, my programms became very big and not structured. So I started the search for something easier.
After some searching I found denkovi .
It looked prommising, so I sayed farewell to arduino, and the long programcodes.
link to my arduino home automation code > prog
14 pages of boring code 🙂