I am struggling to figure out how to send audio data to Assist using websockets. The documentation on Assist Pipelines | Home Assistant Developer Docs (home-assistant.io) doesn’t seem to provide much information either. I tried to just send the starting JSON followed by raw audio, but that results in an error in Home Assistant: " Received binary message for non-existing handler 5".
I also trawled through the Websocket and Esphome code on Github but I couldn’t figure out how they managed to do it. Does anyone know more about how to do this?