I have just recently hacked my robot vacuum cleaner with an ESP8622 on it’s serial interface to be able to controll it remotely (and automated).
I used this project on the ESP: https://github.com/sstadlberger/botvac-wifi
I can call the url and send/receive commands on it’s console:
Next step is to send commands from pimatic, but my knowledge about websockets ends at this point. I know that the ESP is listening for a websocket connection on port 81, but I don’t know how to send a request via shell or how to read the answer. Can anyone help me with some tips?