convert non-socket ui to use deviceSocket class