Platformio problem

andras
Posts: 636
Joined: Fri Dec 30, 2016 5:51 pm
Has thanked: 2 times
Been thanked: 4 times

Post

Mam problem z kompilacją w Platformio projektu z :
https://github.com/subcarpathia/SmokeHouse_1.1
Dostaję komunikat
Library Manager: Installing ayushsharma82/AsyncElegantOTA @ ^2.2.9
UnknownPackageError: Could not find the package with 'ayushsharma82/AsyncElegantOTA @ ^2.2.6' requirements for your system 'windows_amd64'
Próbowałem na win10 i win11 , ciągle to samo .
Zrzut ekranu 2025-03-25 115837.png
You do not have the required permissions to view the files attached to this post.
User avatar
klew
Posts: 13909
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 135 times
Been thanked: 137 times

Post

Wg tego komunikatu, PIO nie może zainstalować jakieś biblioteki.
Najlepsze suple dla Twojego domu :mrgreen:
andras
Posts: 636
Joined: Fri Dec 30, 2016 5:51 pm
Has thanked: 2 times
Been thanked: 4 times

Post

I właśnie nie wiem jak rozwiązać ten problem , sterownika do wędzarni używałem 3 lata i padł ESP32
wtedy szło wgrać bez problemu
User avatar
klew
Posts: 13909
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 135 times
Been thanked: 137 times

Post

andras wrote: Tue Mar 25, 2025 11:37 am I właśnie nie wiem jak rozwiązać ten problem , sterownika do wędzarni używałem 3 lata i padł ESP32
wtedy szło wgrać bez problemu
https://github.com/ayushsharma82/AsyncE ... A/releases

wygląda że nie ma tam już dostępnej wersji 2.2.6.
Zmień w pliku na 2.2.9 i zobacz czy ruszy.
Najlepsze suple dla Twojego domu :mrgreen:
Antonio
Posts: 140
Joined: Sat Dec 18, 2021 4:15 pm

Post

andras wrote: Tue Mar 25, 2025 10:54 am Mam problem z kompilacją w Platformio projektu z :
https://github.com/subcarpathia/SmokeHouse_1.1
Dostaję komunikat
Library Manager: Installing ayushsharma82/AsyncElegantOTA @ ^2.2.6
UnknownPackageError: Could not find the package with 'ayushsharma82/AsyncElegantOTA @ ^2.2.6' requirements for your system 'windows_amd64'
Próbowałem na win10 i win11 , ciągle to samo .

Zrzut ekranu 2025-03-25 115837.png
W platformio.ini zmien 2.2.6 na 2.2.9 i zobacz czy skompiluje. 2.2.6 chyba juz nie dostepne

EDIT
Pisalismy razem z@klew :D
andras
Posts: 636
Joined: Fri Dec 30, 2016 5:51 pm
Has thanked: 2 times
Been thanked: 4 times

Post

To już próbowałem :) dalej to samo walczę z tym od 3 dni .


Zrzut ekranu 2025-03-25 125735.png
You do not have the required permissions to view the files attached to this post.
[email protected]
Posts: 1585
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

A zobacz bez podawania wersji.
Albo tak: AsyncElegantOTA=https://github.com/ayushsharma82/AsyncElegantOTA
andras
Posts: 636
Joined: Fri Dec 30, 2016 5:51 pm
Has thanked: 2 times
Been thanked: 4 times

Post

Oj teraz dużo na czerwono :



Code: Select all

Platform Manager: Installing espressif32
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Platform Manager: [email protected] has been installed!
Tool Manager: Installing espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Tool Manager: Error: Please read https://bit.ly/package-manager-ioerror
Tool Manager: Warning! Package Mirror: HTTPSConnectionPool(host='eu2.contabostorage.com', port=443): Max retries exceeded with url: /c0a5502915964bc09d2607baa2984f98:pioregmirroreu/tools/27/0f/b2b64783933fe486b269488257a1b717ec091ce3a30e63e0823f87fa1c67/toolchain-xtensa-esp32-windows_amd64-8.4.0+2021r2-patch5.tar.gz (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
Tool Manager: Looking for another mirror...
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected]+2021r2-patch5 has been installed!
Tool Manager: Installing platformio/framework-arduinoespressif32 @ ~3.20017.0
Tool Manager: Error: Please read https://bit.ly/package-manager-ioerror
Tool Manager: Warning! Package Mirror: HTTPSConnectionPool(host='eu2.contabostorage.com', port=443): Max retries exceeded with url: /c0a5502915964bc09d2607baa2984f98:pioregmirroreu/tools/7d/27/65c8307ca9af8e7f653da8375459ebf0566a70a79e8dc3fe8134897ba296/framework-arduinoespressif32-3.20017.241212+sha.dcc1105b.tar.gz (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
Tool Manager: Looking for another mirror...
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected]+sha.dcc1105b has been installed!
Tool Manager: Installing platformio/tool-esptoolpy @ ~1.40501.0
Tool Manager: Error: Please read https://bit.ly/package-manager-ioerror
Tool Manager: Warning! Package Mirror: HTTPSConnectionPool(host='eu2.contabostorage.com', port=443): Max retries exceeded with url: /c0a5502915964bc09d2607baa2984f98:pioregmirroreu/tools/7a/e7/0cf60b9c681713575c6761bebe3c7b5387dfa80bbaa1aa78eac41efa50ab/tool-esptoolpy-1.40501.0.tar.gz (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))
Tool Manager: Looking for another mirror...
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
Library Manager: Installing ayushsharma82/AsyncElegantOTA @ ^2.2.6
UnknownPackageError: Could not find the package with 'ayushsharma82/AsyncElegantOTA @ ^2.2.6' requirements for your system 'windows_amd64'

 *  Działanie procesu terminalu „C:\Users\Lenovo\.platformio\penv\Scripts\platformio.exe 'run'” zostało zakończone z kodem zakończenia: 1. 
 *  Terminal zostanie ponownie użyty przez zadania. Naciśnij dowolny klawisz, aby go zamknąć. 

 *  Wykonywanie zadania: C:\Users\Lenovo\.platformio\penv\Scripts\platformio.exe run 

Processing esp32doit-devkit-v1 (platform: espressif32; board: esp32doit-devkit-v1; framework: arduino)
------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 (6.10.0) > DOIT ESP32 DEVKIT V1
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b
 - tool-esptoolpy @ 1.40501.0 (4.5.1)
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 45 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ESPAsyncWebServer-esphome @ 2.1.0
|-- AsyncElegantOTA @ 2.2.9+sha.5f48b2e
|-- Arduino_JSON @ 0.1.0
|-- OneWire @ 2.3.8
|-- DallasTemperature @ 3.11.0
|-- PID @ 1.2.1
|-- MAX6675 library @ 1.1.2
|-- Adafruit GFX Library @ 1.12.0
|-- Adafruit SSD1306 @ 2.5.13
|-- SPIFFS @ 2.0.0
|-- Adafruit BusIO @ 1.17.0
|-- AsyncTCP-esphome @ 2.1.4
|-- WiFi @ 2.0.0
|-- Wire @ 2.0.0
Building in release mode
Compiling .pio\build\esp32doit-devkit-v1\src\main.cpp.o
Building .pio\build\esp32doit-devkit-v1\bootloader.bin
Generating partitions .pio\build\esp32doit-devkit-v1\partitions.bin
esptool.py v4.5.1
Creating esp32 image...
Merged 1 ELF section
Successfully created esp32 image.
Compiling .pio\build\esp32doit-devkit-v1\lib0ff\AsyncTCP-esphome\AsyncTCP.cpp.o
Compiling .pio\build\esp32doit-devkit-v1\lib9be\FS\FS.cpp.o
Compiling .pio\build\esp32doit-devkit-v1\lib9be\FS\vfs_api.cpp.o
In file included from src/main.cpp:22:
.pio/libdeps/esp32doit-devkit-v1/AsyncElegantOTA/src/AsyncElegantOTA.h:4:2: error: #error AsyncElegantOTA library is deprecated, Please consider migrating to newer ElegantOTA library which now comes with an async mode. Learn More: https:
 #error AsyncElegantOTA library is deprecated, Please consider migrating to newer ElegantOTA library which now comes with an async mode. Learn More: https://docs.elegantota.pro/async-mode/
  ^~~~~
*** [.pio\build\esp32doit-devkit-v1\src\main.cpp.o] Error 1
======================== [FAILED] Took 14.09 seconds ========================

 *  Działanie procesu terminalu „C:\Users\Lenovo\.platformio\penv\Scripts\platformio.exe 'run'” zostało zakończone z kodem zakończenia: 1. 
 *  Terminal zostanie ponownie użyty przez zadania. Naciśnij dowolny klawisz, aby go zamknąć. 
User avatar
klew
Posts: 13909
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 135 times
Been thanked: 137 times

Post

andras wrote: Tue Mar 25, 2025 12:38 pm Oj teraz dużo na czerwono :

Code: Select all

In file included from src/main.cpp:22:
.pio/libdeps/esp32doit-devkit-v1/AsyncElegantOTA/src/AsyncElegantOTA.h:4:2: error: #error AsyncElegantOTA library is deprecated, Please consider migrating to newer ElegantOTA library which now comes with an async mode. Learn More: https:
 #error AsyncElegantOTA library is deprecated, Please consider migrating to newer ElegantOTA library which now comes with an async mode. Learn More: https://docs.elegantota.pro/async-mode/
W kodzie tego AsyncElegantOTA dali #error, z info, aby się zmigrować na inną wersję tego ElegantOTA.

Także możesz:
1. w pliku wskazanym powyżej u siebie na kompie usunąć tą linijkę. Ale niekoniecznie to zadziała
2. zmigrować samemu ten AsyncElegantOTA w SmokeHouse na nową wersję ElegantOTA
3. zgłosić issue do https://github.com/subcarpathia/SmokeHouse_1.1 , że już się nie kompiluje, bo AsyncElegantOTA nie jest dostępne i trzeba zmigrować na nowszą wersję.
Najlepsze suple dla Twojego domu :mrgreen:
andras
Posts: 636
Joined: Fri Dec 30, 2016 5:51 pm
Has thanked: 2 times
Been thanked: 4 times

Post

Autor tego projektu od 2 lat nie dostepny :)
a samemu to raczej nie dam rady .

Return to “Pomoc”