INTEGRATION OF LEGACY APPLIANCES INTO THE SMART HOME