Lemon2311 / IoTFleet

Library to control multiple micropython microcontroller devices from master pc running python or javascript
4 stars 1 forks source link

Websockets? #11

Open Lemon2311 opened 11 months ago

Lemon2311 commented 11 months ago

Right now the client-side communicates to the esp32 async rest api via http. I am considering using websockets as they usually have lower latency because the conection is continuous and doesn`t need to be reestablished for every request, but websockets can be more resource intensive because the connection is always maintained, and also require a stable internet connection. ESPAsyncWebServer offers functionality for async websockets.