Mod edit (@harrisonhjones): Split the post up. See original post here.
ScruffR thank you so much…you’re the Man!
Now, is there a way to use a BC337 bipolar transistor to replace a relay connected to the photon?
All I want is to act as a switch if it receive a HIGH.
Close a circuit on HIGH, open circuit on LOW.