ayushsharma82 / WebSerial

A remote terminal library for wireless microcontrollers to log, monitor or debug your firmware/product
https://webserial.pro
GNU Affero General Public License v3.0
507 stars 113 forks source link

Trying to get Webserial and ElegantOTA working together #68

Closed buccaneer-jak closed 1 year ago

buccaneer-jak commented 1 year ago

Is there a way to get WebSerial and ElegantOTA together? I'm using a ESP32-S3

This part of programming is kinda out of my league. I did briefly one time get both to work at their respective IP address's but by calling AsyncElegantOTA.begin(&server);

WebSerial.begin(&server);

but I can also see this is not the correct way.

Any help would be appreciated.

UPDATE: Of course now it seems to be working although I can here the USB connecting and disconnecting every few seconds. When the ESP32 is just on battery power it appears to be all working although I'm still not convinced I am calling the function correctly.

buccaneer-jak commented 1 year ago

It seems the above method I use works pretty good .