Yup that's deffinately it!
Right this is the way I think it works, I reckon that the shiny bit in the middle is the rain sensor, that works by projecting a beam of light into the windscreen so that it reflects off the front surface of the glass. This relection is measured. When it rains the water droplets on the screen refract the light and scatter the beam, so the amount of light reflected changes, and the wipers operate.
I also reckon that the 8 "pads" around the outside of the device are Light Dependent Resistors which measure the level of ambient light. When it goes dark the resistance change triggers a switch which turns the lights on.
If my technical [s]guess[/s] explanation as to the operation of there sensors is bolox, I look forward to being corrected, however......
I've just been in the garage with the lights off

. Started the car so that the headlights came on then shone an inspection lamp right at the sensor, moved it away, moved it back again etc..... (lights go off, lights go on, lights go off, lights go on, lights go off...........wooohooo

very Homer Simpson-esque

).
So the sensor for the automatic headlights can be found at the top of the windscreen in the same place as the sensor for the automatic wipers.......
Stupidity huh????
