So I’ve been making this project where a micro:bit sends soil moisture and temperature data to a raspberry pi, and I would like the pi to open and close a 3-wire normally closed ball valve based on certain moisture and temperature thresholds. I am receiving data from the micro:bit, but I’m really struggling to figure out how to open and close the valve. Maybe my wiring is wrong? I am using a single channel relay with connected wires to these pi pins: GPIO 17, GND, and 5V. I am using a 3-wire normally closed U.S. Solid ball valve. I have the yellow wire connected to the negative pole of a 12V AC/DC power adapter, the red wire connected to the normally open port of the relay, and the blue wire connected to the normally closed port of the relay. I have a separate wire connecting the positive pole of the power source to the common connection port of the relay. Please let me know if this wiring is correct! After I have the wiring set up correctly, any assistance with setting up code to allow the pi to send a signal to the relay to open and close the valve would be greatly appreciated.