Continuous, real-time monitoring of assisted livings through wireless body sensor networks