SuplaDevice wersja 24.09

lukasz06
Posts: 2543
Joined: Sun Jul 17, 2022 6:53 pm
Has thanked: 45 times
Been thanked: 21 times

Post

U mnie jeszcze nie ma możliwości aktualizacji.
User avatar
lukfud
Posts: 2480
Joined: Thu Nov 23, 2017 11:33 pm
Location: Warszawa
Has thanked: 13 times
Been thanked: 11 times

Post

lukasz06 wrote: Sun Sep 08, 2024 11:56 am U mnie jeszcze nie ma możliwości aktualizacji.
Zawsze można pobrać bezpośrednio z github'a ;)
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

lukasz06 wrote: Sun Sep 08, 2024 11:56 am U mnie jeszcze nie ma możliwości aktualizacji.
Poprawiłem ponownie ;)
W ciągu kilku godzin powinno się pojawić.
Najlepsze suple dla Twojego domu :mrgreen:
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

zzrr wrote: Sat Sep 07, 2024 9:03 am
klew wrote: Sat Sep 07, 2024 7:48 am Kiedyś ten temat już się przewijał. Jak będę pamiętał to sprawdzę skąd to Pio bierze.
Ale jeśli ktoś wie albo chciałby sprawdzić co i gdzie trzeba zrobić, to też śmiało
@klew jeśli będziesz miał czas żeby ten temat podjąć a przychodzi Ci do głowy co z poziomu samego Pio można by wyciągnąć co mogło by się w temacie przydać to mów.
Może to coś pomoże. https://registry.platformio.org/
https://docs.platformio.org/en/latest/l ... index.html
No więc...
Nawet sobie pio zainstalowałem. Utworzyłem sobie konto za pośrednictwem github.
I nie mam pojęcia jak się w cli zalogować :P
robię: pio account login
podaję login, a on mnie pyta o hasło... tylko nie ustawiałem żadnego hasła, bo utworzyłem konto przez github. Ktoś wie jak tam się zalogować w takiej sytuacji?
Najlepsze suple dla Twojego domu :mrgreen:
[email protected]
Posts: 1585
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

klew wrote: Mon Sep 09, 2024 9:11 am
zzrr wrote: Sat Sep 07, 2024 9:03 am
klew wrote: Sat Sep 07, 2024 7:48 am Kiedyś ten temat już się przewijał. Jak będę pamiętał to sprawdzę skąd to Pio bierze.
Ale jeśli ktoś wie albo chciałby sprawdzić co i gdzie trzeba zrobić, to też śmiało
@klew jeśli będziesz miał czas żeby ten temat podjąć a przychodzi Ci do głowy co z poziomu samego Pio można by wyciągnąć co mogło by się w temacie przydać to mów.
Może to coś pomoże. https://registry.platformio.org/
https://docs.platformio.org/en/latest/l ... index.html
No więc...
Nawet sobie pio zainstalowałem. Utworzyłem sobie konto za pośrednictwem github.
I nie mam pojęcia jak się w cli zalogować :P
robię: pio account login
podaję login, a on mnie pyta o hasło... tylko nie ustawiałem żadnego hasła, bo utworzyłem konto przez github. Ktoś wie jak tam się zalogować w takiej sytuacji?
https://community.platformio.org/t/oaut ... n/16313/13

zobacz tu
User avatar
Robert Błaszczak
Posts: 5222
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra
Has thanked: 37 times
Been thanked: 27 times

Post

klew wrote: Mon Sep 09, 2024 7:18 am
lukasz06 wrote: Sun Sep 08, 2024 11:56 am U mnie jeszcze nie ma możliwości aktualizacji.
Poprawiłem ponownie ;)
W ciągu kilku godzin powinno się pojawić.
Po długim oczekiwaniu ;) pojawiła się wersja 24.9
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
User avatar
Robert Błaszczak
Posts: 5222
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra
Has thanked: 37 times
Been thanked: 27 times

Post

lukfud wrote: Sun Sep 08, 2024 1:51 pm Zawsze można pobrać bezpośrednio z github'a ;)
Można, jak najbardziej. Ale ktoś nowy instalujący środowisko Arduino IDE oraz Supla Device ma prawo przypuszczać, że biblioteka pobrana przez wbudowane w AIDE narzędzie jest aktualna :mrgreen:
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Na najnowszej bibliotece przestał się kompilować LAN

Code: Select all

Building in release mode
Compiling .pio\build\GUI_Generic_ESP32\src\GUI-Generic.ino.cpp.o
Compiling .pio\build\GUI_Generic_ESP32\src\GUIGenericCommon.cpp.o
Compiling .pio\build\GUI_Generic_ESP32\src\Markup.cpp.o
Compiling .pio\build\GUI_Generic_ESP32\src\SuplaConditions.cpp.o
Compiling .pio\build\GUI_Generic_ESP32\src\SuplaConfigESP.cpp.o
Compiling .pio\build\GUI_Generic_ESP32\src\SuplaConfigManager.cpp.o
Compiling .pio\build\GUI_Generic_ESP32\src\SuplaDeviceGUI.cpp.o
Compiling .pio\build\GUI_Generic_ESP32\src\SuplaTemplateBoard.cpp.o
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaDeviceGUI.cpp:16:
lib/SuplaDevice/src/supla/network/esp32eth.h: In member function 'virtual void Supla::ESPETH::setup()':
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: error: '::Network' has not been declared
     ::Network.onEvent(Supla::ESPETH::networkEventHandler);
       ^~~~~~~
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: note: suggested alternative:
In file included from lib/SuplaDevice/src/SuplaDevice.h:21,
                 from src/SuplaDeviceGUI.h:24,
                 from src/SuplaDeviceGUI.cpp:16:
lib/SuplaDevice/src/supla/network/network.h:36:7: note:   'Supla::Network'
 class Network {
       ^~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaDeviceGUI.cpp:16:
lib/SuplaDevice/src/supla/network/esp32eth.h:52:23: error: invalid conversion from 'int' to 'eth_phy_type_t' [-fpermissive]
 #define ETH_POWER_PIN -1
                       ^~
lib/SuplaDevice/src/supla/network/esp32eth.h:135:15: note: in expansion of macro 'ETH_POWER_PIN'
               ETH_POWER_PIN,
               ^~~~~~~~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:26,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaDeviceGUI.cpp:16:
C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src/ETH.h:77:135: note:   initializing argument 5 of 'bool ETHClass::begin(uint8_t, int, int, int, eth_phy_type_t, eth_clock_mode_t, bool)'      
         bool begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO, eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE, bool use_mac_from_efuse=false);   
                                                                                                                  
                     ^
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaTemplateBoard.cpp:18:
lib/SuplaDevice/src/supla/network/esp32eth.h: In member function 'virtual void Supla::ESPETH::setup()':
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: error: '::Network' has not been declared
     ::Network.onEvent(Supla::ESPETH::networkEventHandler);
       ^~~~~~~
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: note: suggested alternative:
In file included from lib/SuplaDevice/src/SuplaDevice.h:21,
                 from src/SuplaDeviceGUI.h:24,
                 from src/SuplaTemplateBoard.cpp:18:
lib/SuplaDevice/src/supla/network/network.h:36:7: note:   'Supla::Network'
 class Network {
       ^~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaTemplateBoard.cpp:18:
lib/SuplaDevice/src/supla/network/esp32eth.h:52:23: error: invalid conversion from 'int' to 'eth_phy_type_t' [-fpermissive]
 #define ETH_POWER_PIN -1
                       ^~
lib/SuplaDevice/src/supla/network/esp32eth.h:135:15: note: in expansion of macro 'ETH_POWER_PIN'
               ETH_POWER_PIN,
               ^~~~~~~~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:26,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaTemplateBoard.cpp:18:
C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src/ETH.h:77:135: note:   initializing argument 5 of 'bool ETHClass::begin(uint8_t, int, int, int, eth_phy_type_t, eth_clock_mode_t, bool)'      
         bool begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO, eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE, bool use_mac_from_efuse=false);   
                                                                                                                  
                     ^
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/Markup.h:20,
                 from src/Markup.cpp:17:
lib/SuplaDevice/src/supla/network/esp32eth.h: In member function 'virtual void Supla::ESPETH::setup()':
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: error: '::Network' has not been declared
     ::Network.onEvent(Supla::ESPETH::networkEventHandler);
       ^~~~~~~
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: note: suggested alternative:
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaConditions.h:19,
                 from src/SuplaConditions.cpp:17:
lib/SuplaDevice/src/supla/network/esp32eth.h: In member function 'virtual void Supla::ESPETH::setup()':
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: error: '::Network' has not been declared
     ::Network.onEvent(Supla::ESPETH::networkEventHandler);
       ^~~~~~~
In file included from lib/SuplaDevice/src/SuplaDevice.h:21,
                 from src/SuplaDeviceGUI.h:24,
                 from src/Markup.h:20,
                 from src/Markup.cpp:17:
lib/SuplaDevice/src/supla/network/network.h:36:7: note:   'Supla::Network'
 class Network {
       ^~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/Markup.h:20,
                 from src/Markup.cpp:17:
lib/SuplaDevice/src/supla/network/esp32eth.h:52:23: error: invalid conversion from 'int' to 'eth_phy_type_t' [-fpermissive]
 #define ETH_POWER_PIN -1
                       ^~
lib/SuplaDevice/src/supla/network/esp32eth.h:135:15: note: in expansion of macro 'ETH_POWER_PIN'
               ETH_POWER_PIN,
               ^~~~~~~~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:26,
                 from src/SuplaDeviceGUI.h:205,
                 from src/Markup.h:20,
                 from src/Markup.cpp:17:
C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src/ETH.h:77:135: note:   initializing argument 5 of 'bool ETHClass::begin(uint8_t, int, int, int, eth_phy_type_t, eth_clock_mode_t, bool)'      
         bool begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO, eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE, bool use_mac_from_efuse=false);   
                                                                                                                  
                     ^
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: note: suggested alternative:
In file included from lib/SuplaDevice/src/SuplaDevice.h:21,
                 from src/SuplaDeviceGUI.h:24,
                 from src/SuplaConditions.h:19,
                 from src/SuplaConditions.cpp:17:
lib/SuplaDevice/src/supla/network/network.h:36:7: note:   'Supla::Network'
 class Network {
       ^~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaConditions.h:19,
                 from src/SuplaConditions.cpp:17:
lib/SuplaDevice/src/supla/network/esp32eth.h:52:23: error: invalid conversion from 'int' to 'eth_phy_type_t' [-fpermissive]
 #define ETH_POWER_PIN -1
                       ^~
lib/SuplaDevice/src/supla/network/esp32eth.h:135:15: note: in expansion of macro 'ETH_POWER_PIN'
               ETH_POWER_PIN,
               ^~~~~~~~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:26,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaConditions.h:19,
                 from src/SuplaConditions.cpp:17:
C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src/ETH.h:77:135: note:   initializing argument 5 of 'bool ETHClass::begin(uint8_t, int, int, int, eth_phy_type_t, eth_clock_mode_t, bool)'      
         bool begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO, eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE, bool use_mac_from_efuse=false);   
                                                                                                                  
                     ^
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/GUIGenericCommon.cpp:18:
lib/SuplaDevice/src/supla/network/esp32eth.h: In member function 'virtual void Supla::ESPETH::setup()':
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: error: '::Network' has not been declared
     ::Network.onEvent(Supla::ESPETH::networkEventHandler);
       ^~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaConfigESP.cpp:17:
lib/SuplaDevice/src/supla/network/esp32eth.h: In member function 'virtual void Supla::ESPETH::setup()':
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: error: '::Network' has not been declared
     ::Network.onEvent(Supla::ESPETH::networkEventHandler);
       ^~~~~~~
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: note: suggested alternative:
*** [.pio\build\GUI_Generic_ESP32\src\SuplaDeviceGUI.cpp.o] Error 1
In file included from lib/SuplaDevice/src/SuplaDevice.h:21,
                 from src/SuplaDeviceGUI.h:24,
                 from src/SuplaConfigESP.cpp:17:
lib/SuplaDevice/src/supla/network/network.h:36:7: note:   'Supla::Network'
 class Network {
       ^~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaConfigESP.cpp:17:
lib/SuplaDevice/src/supla/network/esp32eth.h:52:23: error: invalid conversion from 'int' to 'eth_phy_type_t' [-fpermissive]
 #define ETH_POWER_PIN -1
                       ^~
lib/SuplaDevice/src/supla/network/esp32eth.h:135:15: note: in expansion of macro 'ETH_POWER_PIN'
               ETH_POWER_PIN,
               ^~~~~~~~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:26,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaConfigESP.cpp:17:
C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src/ETH.h:77:135: note:   initializing argument 5 of 'bool ETHClass::begin(uint8_t, int, int, int, eth_phy_type_t, eth_clock_mode_t, bool)'      
         bool begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO, eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE, bool use_mac_from_efuse=false);   
                                                                                                                  
                     ^
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: note: suggested alternative:
In file included from lib/SuplaDevice/src/SuplaDevice.h:21,
                 from src/SuplaDeviceGUI.h:24,
                 from src/GUIGenericCommon.cpp:18:
lib/SuplaDevice/src/supla/network/network.h:36:7: note:   'Supla::Network'
 class Network {
       ^~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/GUIGenericCommon.cpp:18:
lib/SuplaDevice/src/supla/network/esp32eth.h:52:23: error: invalid conversion from 'int' to 'eth_phy_type_t' [-fpermissive]
 #define ETH_POWER_PIN -1
                       ^~
lib/SuplaDevice/src/supla/network/esp32eth.h:135:15: note: in expansion of macro 'ETH_POWER_PIN'
               ETH_POWER_PIN,
               ^~~~~~~~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:26,
                 from src/SuplaDeviceGUI.h:205,
                 from src/GUIGenericCommon.cpp:18:
C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src/ETH.h:77:135: note:   initializing argument 5 of 'bool ETHClass::begin(uint8_t, int, int, int, eth_phy_type_t, eth_clock_mode_t, bool)'      
         bool begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO, eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE, bool use_mac_from_efuse=false);   
                                                                                                                  
                     ^
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from C:/Users/user/Documents/GitHub/GUI-Generic/src/GUI-Generic.ino:16:
lib/SuplaDevice/src/supla/network/esp32eth.h: In member function 'virtual void Supla::ESPETH::setup()':
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: error: '::Network' has not been declared
     ::Network.onEvent(Supla::ESPETH::networkEventHandler);
       ^~~~~~~
*** [.pio\build\GUI_Generic_ESP32\src\SuplaConditions.cpp.o] Error 1
*** [.pio\build\GUI_Generic_ESP32\src\Markup.cpp.o] Error 1
*** [.pio\build\GUI_Generic_ESP32\src\SuplaTemplateBoard.cpp.o] Error 1
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: note: suggested alternative:
In file included from lib/SuplaDevice/src/SuplaDevice.h:21,
                 from src/SuplaDeviceGUI.h:24,
                 from C:/Users/user/Documents/GitHub/GUI-Generic/src/GUI-Generic.ino:16:
lib/SuplaDevice/src/supla/network/network.h:36:7: note:   'Supla::Network'
 class Network {
       ^~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from C:/Users/user/Documents/GitHub/GUI-Generic/src/GUI-Generic.ino:16:
lib/SuplaDevice/src/supla/network/esp32eth.h:52:23: error: invalid conversion from 'int' to 'eth_phy_type_t' [-fpermissive]
 #define ETH_POWER_PIN -1
                       ^~
lib/SuplaDevice/src/supla/network/esp32eth.h:135:15: note: in expansion of macro 'ETH_POWER_PIN'
               ETH_POWER_PIN,
               ^~~~~~~~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:26,
                 from src/SuplaDeviceGUI.h:205,
                 from C:/Users/user/Documents/GitHub/GUI-Generic/src/GUI-Generic.ino:16:
C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src/ETH.h:77:135: note:   initializing argument 5 of 'bool ETHClass::begin(uint8_t, int, int, int, eth_phy_type_t, eth_clock_mode_t, bool)'      
         bool begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO, eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE, bool use_mac_from_efuse=false);   
                                                                                                                  
                     ^
In file included from C:/Users/user/Documents/GitHub/GUI-Generic/src/GUI-Generic.ino:22:
lib/SuplaDevice/src/supla/sensor/PzemV3.h: In constructor 'Supla::Sensor::PZEMv3::PZEMv3(HardwareSerial*, uint8_t, uint8_t, uint8_t)':
lib/SuplaDevice/src/supla/sensor/PzemV3.h:53:59: warning: 'PZEM004Tv30::PZEM004Tv30(HardwareSerial*, uint8_t, uint8_t, uint8_t)' is deprecated: Replaced by PZEM004Tv30(HardwareSerial& port, uint8_t receivePin, uint8_t transmitPin, uint8_t addr). Please pass a reference instead of a pointer: PZEM004Tv30(&SerialX)=>PZEM004Tv30(SerialX) [-Wdeprecated-declarations]
       : pzem{PZEM004Tv30(serial, pinRx1, pinTx1, pzem_addr)} {
                                                           ^
In file included from lib/SuplaDevice/src/supla/sensor/PzemV3.h:25,
                 from C:/Users/user/Documents/GitHub/GUI-Generic/src/GUI-Generic.ino:22:
lib/PZEM-004T-v30/src/PZEM004Tv30.h:86:5: note: declared here
     PZEM004Tv30(HardwareSerial* port, uint8_t receivePin, uint8_t transmitPin, uint8_t addr=PZEM_DEFAULT_ADDR) : PZEM004Tv30(*port, receivePin, transmitPin, addr) {};
     ^~~~~~~~~~~
*** [.pio\build\GUI_Generic_ESP32\src\GUIGenericCommon.cpp.o] Error 1
*** [.pio\build\GUI_Generic_ESP32\src\SuplaConfigESP.cpp.o] Error 1
*** [.pio\build\GUI_Generic_ESP32\src\GUI-Generic.ino.cpp.o] Error 1
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaConfigManager.cpp:25:
lib/SuplaDevice/src/supla/network/esp32eth.h: In member function 'virtual void Supla::ESPETH::setup()':
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: error: '::Network' has not been declared
     ::Network.onEvent(Supla::ESPETH::networkEventHandler);
       ^~~~~~~
lib/SuplaDevice/src/supla/network/esp32eth.h:128:7: note: suggested alternative:
In file included from lib/SuplaDevice/src/SuplaDevice.h:21,
                 from src/SuplaDeviceGUI.h:24,
                 from src/SuplaConfigManager.cpp:25:
lib/SuplaDevice/src/supla/network/network.h:36:7: note:   'Supla::Network'
 class Network {
       ^~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:30,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaConfigManager.cpp:25:
lib/SuplaDevice/src/supla/network/esp32eth.h:52:23: error: invalid conversion from 'int' to 'eth_phy_type_t' [-fpermissive]
 #define ETH_POWER_PIN -1
                       ^~
lib/SuplaDevice/src/supla/network/esp32eth.h:135:15: note: in expansion of macro 'ETH_POWER_PIN'
               ETH_POWER_PIN,
               ^~~~~~~~~~~~~
In file included from src/src/network/SuplaGuiEth01.h:26,
                 from src/SuplaDeviceGUI.h:205,
                 from src/SuplaConfigManager.cpp:25:
C:/Users/user/.platformio/packages/framework-arduinoespressif32/libraries/Ethernet/src/ETH.h:77:135: note:   initializing argument 5 of 'bool ETHClass::begin(uint8_t, int, int, int, eth_phy_type_t, eth_clock_mode_t, bool)'      
         bool begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO, eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE, bool use_mac_from_efuse=false);   
                                                                                                                  
                     ^
*** [.pio\build\GUI_Generic_ESP32\src\SuplaConfigManager.cpp.o] Error 1
https://gui-generic-builder.supla.io/
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

krycha88 wrote: Mon Sep 09, 2024 12:04 pm Na najnowszej bibliotece przestał się kompilować LAN
Masz dobre boardy dla ESP32 ustawione? Albo może boardy się w ostatnich dniach zmieniały?
Najlepsze suple dla Twojego domu :mrgreen:
User avatar
lukfud
Posts: 2480
Joined: Thu Nov 23, 2017 11:33 pm
Location: Warszawa
Has thanked: 13 times
Been thanked: 11 times

Post

Nie, kompiluje się poprawnie.
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl

Return to “supla-dev”