The invention relates to a
solar water heater with a protection function for
home automation. The
solar water heater comprises a base, a processor, a support post, a flat plate, a support plate, a water tank, a protection plate, a cleaning mechanism, a rotating mechanism and a plurality of vacuum tubes. The cleaning mechanism comprises a translation
assembly, a translation block and a cleaning
assembly, wherein the cleaning
assembly comprises an
electromagnet, a spring, a cleaning plate and four directional units. The rotating mechanism comprises a vertical plate, a transverse plate, a rotating box, a rotating assembly and a pull wire, wherein the rotating assembly comprises a first motor, a rotating shaft, a sleeve
pipe and a wire coil. According to the
solar water heater with the protection function for
home automation, the rotating mechanism drives the protection plate to rotate, so that at night dust-proof protection can be realized, and in snowy days the situation that the vacuumtubes can not absorb
sunlight because of being accumulated with
snow so as to fail to heat water can be avoided; and in addition, through the cleaning mechanism, dust and sundries on the vacuum tubescan be cleaned out, which is convenient for the vacuum tubes to fully absorb
sunlight, in this way, the
water heating efficiency is improved, and the
usability of the device is further increased.