Typically the white wire is "neutral" and colored wires are power.
In a light switch, it depends on what the electrician wanted to do. Most use white for common and colored wires for travelers, but don't count on that. Switch legs often are wired a little differently, depending on the electrician.
If an electrician is being nice to you he will often put colored tape on a wire to indicate what he is doing, but it's not required.
If you have questions about the wiring, contact a qualified electrician to help with the problem.
You have a 3 way switch. Your black wire is the hot wire. Your green wire is the ground wire. Your red and white wires go to the light and other switch. You should have gotten a wiring diagram with your switch.
Red is the alternate hot leg in a 2 way switch circuit
There is not enough information to answer this question.
Connect the black wire to the incoming hot wire and the red wire to the out going load.
Remove the light sensor and place a switch between the red and black wires. The black wire is one leg of the "hot" pair and the load is connected to the red wire. This will now switch the black hot through the red wire that goes to the load.
You have a 3 way switch. Your black wire is the hot wire. Your green wire is the ground wire. Your red and white wires go to the light and other switch. You should have gotten a wiring diagram with your switch.
the thermostat has a black(line) wire to it, and a red wire going to it. the red wire then connects to the neutral wire. the black and red are like a leg switch.
Red is the alternate hot leg in a 2 way switch circuit
There is not enough information to answer this question.
Nothing.
Connect the black wire to the incoming hot wire and the red wire to the out going load.
If this is a new installation then you have a choice of picking any one you wand to make the common wire. Usually a three wire cable used for three way switching has a white, red and black wire in them. If this is an existing installation and you have misplaced which wire is the common you will have to go back to the switch to find the conductor used. Disconnect it from the switch and temporarily place it on the ground wire. Next go to the next junction box and start ringing the wires to ground. When you find which wire is grounded, this is the common conductor.
Red
Color coding is different for different pieces of equipment. More information is needed.
Remove the light sensor and place a switch between the red and black wires. The black wire is one leg of the "hot" pair and the load is connected to the red wire. This will now switch the black hot through the red wire that goes to the load.
white wire = neutral bare wire = ground black wire = line voltage red wire = returned from a switch, or the other phase of line voltage in order to supply 240VAC
Red is hot Green is ground White is neutral