The library itself builds without PlatformIO extra_scripts. Some examples use extra_scripts for helper tasks (e.g. WebUI embed or local library refresh). If you are developing the WebUI, see webui/README.md.
If you see something like UnicodeEncodeError: 'charmap' codec can't encode character ..., your terminal encoding is not UTF-8.
Workarounds (PowerShell):
[Console]::OutputEncoding = [System.Text.UTF8Encoding]::new()
$env:PYTHONUTF8 = '1'
$env:PYTHONIOENCODING = 'utf-8'Clean the build and rebuild:
pio run -e usb -t clean
pio run -e usbIf you are using lib_deps = file://../.. and a build still behaves like it is using an older library snapshot, clean the example build and rebuild:
pio run -t clean
pio runErase flash and re-upload.
pio run -e usb -t erase
pio run -e usb -t uploadWARNING: erase deletes all flash data on the device.
curl.exe -sS http://<deine-ip>/runtime_meta.json
curl.exe -sS http://192.168.2.126/runtime_meta.json