using a photoresistor with 230VAC