‘Smart’ devices effective in reducing adverse outcomes of heart condition