A heredoc (<<<) closes stdin at once, so websocat dropped the WebSocket before the device's reply arrived. Add --no-close to the node_console usage examples and the returned command field so the connection stays open while output is read.