friends,
I have several doubts in the scheme that I put here.
scheme serves as the car enters a tunnel or is night, the cell operates, but I forget and turn the lights what consequences?
The layout is good, there is no loose connection, the entire circuit is safe?
For this same scheme, I wonder if there are any auto relay, I could adapt this scheme, which slows up the start of the relay 1 for 30 seconds ...
This is because, if I'm in a closed park, or if it is night, so I turn the key the lights come immediately sobcarregando starting the car, in this case the battery ...
Dear friend these are my doubts.
super thank you

PS - here's your image, but I haven't reconsidered my answer based on it. Maybe later...

friend I respect your ideas ...
I also want to say that I am speaking through a translator with you because I can not speak English ...
that's why there were some things in their responses that I did not quite understand ...
relays 2 and 3 have the same function. Why not use a relay?
I've done it with one relay and what happens when I unplug this circuit and turn on the car lights illuminate me just the minimum and average, even just having connected the minimum ...
I use one relay to protect the sensor ..
did not realize this comment:
In practice I'd assume relays already exist for the lights etc. Which in case you would simply have the sensor trigger Them, but isolating diodes need to be added if They are controlled 12V +.
(If the relays are controlled 0V, would go to 0V COM / GND and you'd Merely connect its output to the exiting NO relay (s) switched GNDS (85).
Usually I find it better when people write in their own language and let me translate. Maybe try that next time?
Does your vehicle (car?) use relays for its headlamps? Or the lights you want to turn on?
And I presume it is the "Sensor" you want to make or buy, or do you already have it?