RFID-based indoor location tracking to ensure the safety of the elderly in smart home environments