The present invention provides an insect Eradication device that works on real time clock based switching operation. The novelty of the present machine lies in the fact that it is programmed to switch on the unit any time and thus not dependent on daylight light intensity threshold and LDR based module. The machine creates an atmosphere containing CO2 and warm resembling human parameters for luring the insects into an entrapment and then electrocuting them after suction into the chamber and passing on the grid. No Hazardous fumes which are detrimental to the human / environment are used in the machine. The use of medicated CO2 which has number of application in the pharma /medical / and FMCG industry is used as an ingredient to attract mosquitoes.