A smart home environment to support safety and risk monitoring for the elderly living independently of A smart home environment to support safety and risk monitoring for the elderly living independently