So background: I have a novelty light up Disney Fantasia Sorcerer’s hat that I would like to use a a Christmas tree topper. The hat has an LED circuit built in with pulsating lights in various colors that is powered by 3 AAA batteries (4.5V DC). At the base of the hat is a normally open momentary switch button, one of those “Press Here” things. When you press the button the little LED show turns on with a couple colored LEDs pulsating on and off and a couple multicolor LEDs cycling colors and it lasts a little more than 30 seconds with just a single press of the button.
Since it is at the top of the tree I would like to be able to swap the battery pack for an AC adapter that I can plug into the end of the light string on the tree on a timer, so whenever the lights are on, the hat lights up. The problem I’m having is bypassing the little “Press Here” button to trick it into staying lit up whenever there is power. I tried cutting the switch off and twisting the wires together to provide a constant closed circuit but when I switch the battery pack on, nothing happens. When I take the two wires from the switch and briefly tap them together, the hat lights up. If I sit here and periodically tap the wires together, simulating the press of the button, I can get the hat to stay on indefinitely. But if I leave the wires in constant contact, the lights stay on for their 30 second show then turn off.
In the picture, I’m holding the two white wires from the little circuit board twisted together as well as the switch I cut off. The black and red wire from the top left of the board going out of the picture is the 4.5VDC from the battery pack.