HMI communcation refactored