Home automation is control and automation of home appliances such as washers, ovens refrigerators as well as lighting, heating, ventilation,…