I am trying to control a 12V door lock using this solid state relay. In my switchboard, I picked the power from the common power line to power up my SSR at 5V using an adapter, The power line is also connected to an electric fan through a dimmer. The problem here is that whenever I turn my fan switch On/Off really fast or rotate the dimmer in either direction my SSR trips and the door lock unlocks for a moment (100ms maybe) even if I have left corresponding input channel in my SSR disconnected. I am not sure the reason behind it and how to prevent it.
Also, I put my 12V adapter input through SSR to turn on adapter instead of putting it's output through SSR to save power, Would it save any power?
Any help would be appreciated. Thanks in advance.