Abstract: The present invention relates generally to the technical field of smart home. More particularly, it relates to a sweeping and fire extinguishing device comprising a sweeping robot, a fire extinguishing mechanism and a body frame, wherein said fire extinguishing mechanism is disposed in a space surrounded by the body frame while said sweeping robot is disposed under the fire extinguishing mechanism. Said sweeping robot comprises a body, a processer, an abutting hole and a camera, wherein an abutting terminal is disposed in said abutting hole. Said camera and the abutting terminal are both electrically connected to the processor; Said fire extinguishing mechanism comprises a supporting platform and a clamping mechanism, wherein said supporting platform comprises an abutting block on its lower end and said abutting block comprises a connecting terminal. Said supporting platform comprises a swinging mechanism for placing a fire extinguisher.