put back in console logging for websocket messages and set onhardware to true