Control solid state relay with 3.3v

I don't do AC stuff normally, so I hope others can give you more valid advice. But I would say R20 isn't needed. And I don't think D11 works with AC. It would be fully conducting during the negative phase of the AC power. But I don't know what replaces it.