The invention relates to a 
polishing machine with an automatic cleaning function based on 
Internet of Things. The 
polishing machine comprises an armrest, a main body, a driving shaft, a spatula 
assembly, a protective cover, a cleaning mechanism, a detection mechanism, a central control mechanism and two movement mechanisms, wherein the cleaning mechanism comprises a first driving 
assembly, an outer casing, a water inlet, a water outlet, a third transmission rod, a 
piston, a first 
water pipe, a second 
water pipe, two check assemblies and at least two spray nozzles; the detection mechanism comprises a fixed rod, a second driving 
assembly, a fixed framework, a support rod, a swing rod, a slide block, an 
ultrasonic sensor, a connecting rod, an opening groove and a first limiting block. The 
polishing machine with the automatic cleaning function based on 
Internet of Things has the advantages that the spatula assembly is cleaned by the cleaning mechanism, so that the service life of the spatula assembly is prolonged; the depression and crack of the concrete ground are detected by the detection mechanism, so that a worker can repair the concrete ground, and the paving quality of the concrete ground is improved.