The invention relates to an aluminum alloy door and window protection coating layer material used for smart homes. The material comprises melamine copolycondensation resin, fluoroether rubber, modified phenolic resin, nanometer zinc oxide, potassium titanate whisker reinforcement, nanometer magnesium hydroxide, polyethylene wax, zinc pyrithione, 10,10'-oxybisphenoxarsine, carbendazim, tetramethylthiuram disulfide, dibromomethane, titanium nitride powder, zeolite powder, sodium dihydrogen phosphate, disodium hydrogen phosphate, barium sulfate powder, lead oxide powder, barite powder, molybdenum disulfide powder, sodium carbonate, lead iodate powder, diethylene glycol butyl ether, soybean oil, amyl acetate, petroleum sulfonate, vinyl benzene, cobalt isooctoate, sulfamic acid and isopropyl titanate. The material has superior flame, acid-alkali, mildew and bacterium resistance, and improved performances.