Enviar por SMS: Development of a self-diagnostic system integrated into a cyber-physical system