The Smart home automation and security system are two different systems which works with the same technology but handle and…