What? He just said the vipars need a 12v feed to turn them on? (I have the vipars) I cant run 12v from the Pi as that's 5v? so Id need 2 x LM2596? heads about to explode - I have no idea what im doing.
Like I said earlier if you don't feel comfortable doing the mod on your lights you probably shouldn't.
With that said I'll try to explain exactly what needs to happen to control your lights if you do decide to mod them.
With your light fixture just the way it is the timer controls the on/off function of the lights and the brightness/intensity of both channels (blues and whites).
Each one of these channels has a driver that controls each channel independently.
Both of the drivers have 4 wires that plug into the timer/control board inside the fixture this allows you to control timer functions and intensity of your lights via the timers programing.
There is:
1 wire = ground
1 wire =pwm
1 wire = 12v (the 12 volts comes from the driver and is supplied from the power cord connected to the fixture)
1 wire = off/on (this wire when connected to the 12v wire from the driver turns the fans and LEDs on in the fixture).
(see first picture below)
To connect those wires to reef-pi for control of the fixture you need to do the following.
1. Connect the ground wires directly from the driver to the ground of reef-pi.
2. Connect the PWM wires directly from the driver to the reef-pi pwm using gpio 18 & 19 one gpio for each channel (PWM is what allows you to ramp the lights up and down)
3. Connect the relay to reef-pi using 2 gpio pins from reef-pi (I use gpio 20 & 21) this allows you to turn the relay off/on in effect turning the fixture and the lights off and on. You control the times that the relays turn your lights off/on with the timers in reef-pi.
4. You need to connect the off/on wires to the center terminal of the relay and the 12v wires to the normally opened terminal of the relay. When you turn the relay on it closes the circuit and turns your lights and fans on in the fixture. Think electronically controlled light switch.
For reference here is a picture of the inside of a Vipraspectra showing the wires coming from the driver that you need to tie into to get reef-pi working.
Here's a detailed look at the wiring going to the relay. Where it says channel on the left it should read DRIVER.
The 12 volt, on/off, PWM and ground wires come directly from the drivers. Hopefully this makes it easier to understand the concept.