Triac and optocoupler do the job.