UNIT SHARING IN A SMART DWELLING AUTOMATION SYSTEM