Control Christmas Tree lighting with Arduino Starter Kit

thanks for replying robtillaart,

i want the lights start playing when the door opens, is there a better way than using the potmeter?

if i use the relay, i'm afraid i have to strip my cable? is there another way without breaking my lights-cable?

and i don't really understand the second code.
There are 2 analogReads, wich mean I have to use 2 potmeters?

PS: ik heb opgemerkt dat je van Nederland bent, als het gemakkelijker is, mag je zeker in Nederlands antwoorden.