Post

I did it. JavaScript vacuum is alive Wrote the code to control it in the browser via Web Serial API, or on the server with serialport

Wes Bos@wesbos.com

Should… I put JavaScript on my vacuum?

14 reposts271 likes

Web serial is wicked. If I were doing this, I’d create a Serial2 communication from some pins of the ESP32 so you can still use the existing serial, strap that to the roomba and then host a custom web server on the ESP to receive HTTP api commands on the network. My eBay search will be Roombas now…