I have a string of LED lights (think Xmas tree lights) powered by a wall wart (3.2V 1A)
and turned on and off with a simple inline rocker switch
I had troubles with the lights flickering and randomly turning themselves off..I thought the switch was bad so I replaced it with a cheap switch from hardware store. However, this did not fix the issue..the lights sometimes flicker and dim, or altogether turn off (actually become very dim, but not completely off). I do believe the problem is with the switch as compressing the body of the switch (not even the rocker part) ameliorates the light, but that never lasts long. I've double checked a the connections, and the strain relief on the cables, and things look good.
I realized that the switch is rated 230V AC, so I'm thinking maybe the contacts are reliable only at this kind of mains voltage and we're not designed for low DC currents? Are there such in line switch specifically for DC circuits?