An apparatus for the continuous detection of the presence of a vehicle in a predetermined area, said apparatus comprising a digital controller, a passive optical sensor for detecting a level of illumination, and a magnetic field sensor for detecting and quantifying a magnetic disturbance in a direction in which the Earth's magnetic field is large in accordance with the latitude of the area where said apparatus is used, said passive optical sensor and said magnetic field sensor being activated and powered from said digital controller, wherein said digital controller is configured to perform the following actions:
- in a stand-by state, remain in a low power consumption state and supply power to said passive optical sensor, without supplying any power to said magnetic field sensor;
- in said stand-by state, be awakened from the low power consumption state by said passive optical sensor when the passive optical sensor detects a level of illumination below a predefined value, and activate and power said magnetic field sensor to confirm the presence of a vehicle by detecting and quantifying a magnetic disturbance in a direction in which the Earth's magnetic field is large in accordance with the latitude of the area where said apparatus is used.