don't invert the ssr pin
how to make the transistor switch and wire in the button