Paulus Schoutsen
Paulus Schoutsen
This is what `esptool` can detect https://github.com/espressif/esptool/blob/master/esptool.py#L381-L383
And this is how they detect esp8285 https://github.com/espressif/esptool/blob/master/esptool.py#L1313 We should be able to add that to https://github.com/NabuCasa/esp-web-flasher/
Why would you need to detect it in runtime? You can just feed it a different build and have the chip family be embedded in the build.
btw looks like ESP Web Flasher had support for ESP8285 but commented out … https://github.com/NabuCasa/esp-web-flasher/blob/main/src/esp_loader.ts#L121-L125. I've ordered some ESP8285 to test.
Can't you do the same as ESP Tool does and read the fuses?
Can you both please include the OS/Browser and exact device you're trying this with? That error is shown when Improv is unable to open the connection to the serial port,...
How do you run Google Chrome, inside a Snap or directly?
Can you reproduce this with a different OS/Browser/Device. I am not seeing it on my end.
The reason I haven't made it configurable yet until now is because switching the baud rate on a serial port that has been used before on the old baud rate...
115200. It's currently defined in [3 different places](https://github.com/esphome/esp-web-tools/search?q=115200)