Proszę aby wrzucać tutaj błędy, które zauważycie podczas korzystania z Buildera.
Mam nadzieję, że będzie łatwiej reagować na nie jak będą w jednym wyznaczonym miejscu.
GUI Generic Builder - mam problem (errors/błędy)
-
kowal00071
- Posts: 109
- Joined: Fri Jan 03, 2020 6:10 pm
ESP-32
You do not have the required permissions to view the files attached to this post.
-
kowal00071
- Posts: 109
- Joined: Fri Jan 03, 2020 6:10 pm
Code: Select all
Błąd generowania
/var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399.ino: In function 'void setup()':
/var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399.ino:271:87: error: no matching function for call to 'Supla::Sensor::ThreePhasePZEMv3::ThreePhasePZEMv3(int8_t&, int8_t&, int8_t&, int8_t&, int8_t&, int8_t&)'
new Supla::Sensor::ThreePhasePZEMv3(pinRX1, pinTX1, pinRX2, pinTX2, pinRX3, pinTX3);
^
In file included from /var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399.ino:20:0:
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:49:3: note: candidate: Supla::Sensor::ThreePhasePZEMv3::ThreePhasePZEMv3(HardwareSerial*, int8_t, int8_t, HardwareSerial*, int8_t, int8_t, HardwareSerial*, int8_t, int8_t)
ThreePhasePZEMv3(HardwareSerial *serial1,
^
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:49:3: note: candidate expects 9 arguments, 6 provided
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:33:7: note: candidate: constexpr Supla::Sensor::ThreePhasePZEMv3::ThreePhasePZEMv3(const Supla::Sensor::ThreePhasePZEMv3&)
class ThreePhasePZEMv3 : public ElectricityMeter {
^
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:33:7: note: candidate expects 1 argument, 6 provided
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:33:7: note: candidate: constexpr Supla::Sensor::ThreePhasePZEMv3::ThreePhasePZEMv3(Supla::Sensor::ThreePhasePZEMv3&&)
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:33:7: note: candidate expects 1 argument, 6 provided
/var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399.ino:274:87: error: no matching function for call to 'Supla::Sensor::ThreePhasePZEMv3::ThreePhasePZEMv3(int8_t&, int8_t&, int8_t&, int8_t&, int8_t&, int8_t&)'
new Supla::Sensor::ThreePhasePZEMv3(pinRX1, pinTX1, pinRX1, pinTX2, pinRX1, pinTX3);
^
In file included from /var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399.ino:20:0:
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:49:3: note: candidate: Supla::Sensor::ThreePhasePZEMv3::ThreePhasePZEMv3(HardwareSerial*, int8_t, int8_t, HardwareSerial*, int8_t, int8_t, HardwareSerial*, int8_t, int8_t)
ThreePhasePZEMv3(HardwareSerial *serial1,
^
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:49:3: note: candidate expects 9 arguments, 6 provided
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:33:7: note: candidate: constexpr Supla::Sensor::ThreePhasePZEMv3::ThreePhasePZEMv3(const Supla::Sensor::ThreePhasePZEMv3&)
class ThreePhasePZEMv3 : public ElectricityMeter {
^
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:33:7: note: candidate expects 1 argument, 6 provided
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:33:7: note: candidate: constexpr Supla::Sensor::ThreePhasePZEMv3::ThreePhasePZEMv3(Supla::Sensor::ThreePhasePZEMv3&&)
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/three_phase_PzemV3.h:33:7: note: candidate expects 1 argument, 6 provided
/var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399.ino:277:45: error: no matching function for call to 'Supla::Sensor::PZEMv3::PZEMv3(int8_t&, int8_t&)'
new Supla::Sensor::PZEMv3(pinRX1, pinTX1);
^
In file included from /var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399/GUI-Generic_bv4.2_gv4.2.15_pl_1dd72f7d1fa9c7f63d44815c78c85399.ino:19:0:
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/PzemV3.h:42:3: note: candidate: Supla::Sensor::PZEMv3::PZEMv3(HardwareSerial*, int8_t, int8_t)
PZEMv3(HardwareSerial *serial, int8_t pinRx, int8_t pinTx) : pzem(serial, pinRx, pinTx) {
^
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/PzemV3.h:42:3: note: candidate expects 3 arguments, 2 provided
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/PzemV3.h:34:7: note: candidate: constexpr Supla::Sensor::PZEMv3::PZEMv3(const Supla::Sensor::PZEMv3&)
class PZEMv3 : public OnePhaseElectricityMeter {
^
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/PzemV3.h:34:7: note: candidate expects 1 argument, 2 provided
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/PzemV3.h:34:7: note: candidate: constexpr Supla::Sensor::PZEMv3::PZEMv3(Supla::Sensor::PZEMv3&&)
/var/www/html/code/lib/SuplaDevice/src/supla/sensor/PzemV3.h:34:7: note: candidate expects 1 argument, 2 provided
Error during build: exit status 1Podstawowe:
Konfiguracja (LED, Config)
Aktualizacja przez WWW
Dostępne GUI podczas pracy modułu
Protokół mDNS
Sterowanie:
Przekaźniki
Warunkowanie przekaźnika
Przyciski
Krańcówki
Pushover
1Wire
Sensor DS18B20
Sensor DHT22
I2C
Wyświetlacz OLED
Analogowe
Pomiar analogowy (ADC Pin)
Inne
RGBW, RGB, Dimmer
Licznik energii PZEM V3
Re: Esp32 błąd
Wysłano: wt lis 02, 2021 10:26 pm
autor: kowal00071
Podstawowe:
Konfiguracja (LED, Config)
Aktualizacja przez WWW
Dostępne GUI podczas pracy modułu
Protokół mDNS
Sterowanie:
Przekaźniki
Warunkowanie przekaźnika
Przyciski
Krańcówki
Pushover
1Wire
Sensor DS18B20
Sensor DHT22
I2C
Wyświetlacz OLED
Analogowe
Pomiar analogowy (ADC Pin)
Inne
RGBW, RGB, Dimmer
Licznik energii PZEM V3
-
Lucas_Alfa
- Posts: 10
- Joined: Sat Nov 06, 2021 10:46 pm
Witam.
Mam problem przy generowaniu skryptu dla RGBW, RGB, Dimmer.
Próbuję wygenerować plik od przynajmniej 3 tygodni i nie udało się ani razu. Zwykle pojawia się poniższy błąd już przy 0%. Czasem wskaźnik postępu dochodzi do 100% i tak się kręci i kręci w nieskończoność nie wysyłając gotowego pliku.
Konfiguracja: podstawowe przyciski konfiguracyjne aktywne, do tego przełącznik RGBW, RGB, Dimmer i z automatu przełącznik Przyciski.
Na wersji testowej generatora postęp dochodzi do kilkudziesięciu procent i wyrzuca taki błąd:
Mam problem przy generowaniu skryptu dla RGBW, RGB, Dimmer.
Próbuję wygenerować plik od przynajmniej 3 tygodni i nie udało się ani razu. Zwykle pojawia się poniższy błąd już przy 0%. Czasem wskaźnik postępu dochodzi do 100% i tak się kręci i kręci w nieskończoność nie wysyłając gotowego pliku.
Konfiguracja: podstawowe przyciski konfiguracyjne aktywne, do tego przełącznik RGBW, RGB, Dimmer i z automatu przełącznik Przyciski.
Code: Select all
/var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_adbbfdf7674de76753716f89d7f2801e/SuplaDeviceGUI.cpp: In function 'void Supla::GUI::addButton(uint8_t)':
/var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_adbbfdf7674de76753716f89d7f2801e/SuplaDeviceGUI.cpp:139:57: error: 'relay' was not declared in this scope; did you mean 'delay'?
139 | button->addAction(ConfigESP->getAction(pinButton), *relay[nr - 1], ConfigESP->getEvent(pinButton));
| ^~~~~
| delay
Error during build: exit status 1Code: Select all
/var/www/html/code/GUI-Generic_test_bv4.2_gv4.3.1_pl_adbbfdf7674de76753716f89d7f2801e/SuplaDeviceGUI.cpp: In function 'void Supla::GUI::addButton(uint8_t)':
/var/www/html/code/GUI-Generic_test_bv4.2_gv4.3.1_pl_adbbfdf7674de76753716f89d7f2801e/SuplaDeviceGUI.cpp:153:21: error: 'relay' is not a member of 'Supla::GUI'
153 | if (Supla::GUI::relay.size() >= nr && Supla::GUI::relay[nr] != NULL) {
| ^~~~~
/var/www/html/code/GUI-Generic_test_bv4.2_gv4.3.1_pl_adbbfdf7674de76753716f89d7f2801e/SuplaDeviceGUI.cpp:153:55: error: 'relay' is not a member of 'Supla::GUI'
153 | if (Supla::GUI::relay.size() >= nr && Supla::GUI::relay[nr] != NULL) {
| ^~~~~
/var/www/html/code/GUI-Generic_test_bv4.2_gv4.3.1_pl_adbbfdf7674de76753716f89d7f2801e/SuplaDeviceGUI.cpp:155:59: error: 'relay' was not declared in this scope; did you mean 'delay'?
155 | button->addAction(ConfigESP->getAction(pinButton), *relay[nr], Supla::ON_CLICK_1);
| ^~~~~
| delay
Error during build: exit status 1-
Goral64
- Posts: 3258
- Joined: Fri Dec 27, 2019 6:22 pm
- Location: Żerniki Wrocławskie
- Has thanked: 2 times
- Been thanked: 1 time
Kopiując błędy zwróćcie uwagę, aby wkleić także to co jest na końcu. Pozwoli to odtworzyć opcje, które mogły przyczynić się do wystąpienia błędu.
You do not have the required permissions to view the files attached to this post.
Widzimy się na Supla Offline Party Season 2026

-
Lucas_Alfa
- Posts: 10
- Joined: Sat Nov 06, 2021 10:46 pm
Wygenerowało siękrycha88 wrote: Sun Nov 07, 2021 7:17 pm To uparty jesteś 3 tyg to trochę czasupoprawie a teraz dodaj do kompilacji przekaźnik
Dzięki.
Nic więcej ponad to, co wkleiłem nie pojawiało się w komunikacie o błędzie. Nie wyglądało to tak, jak na twoim zrzucie.Goral64 wrote: Sun Nov 07, 2021 8:43 pm Kopiując błędy zwróćcie uwagę, aby wkleić także to co jest na końcu. Pozwoli to odtworzyć opcje, które mogły przyczynić się do wystąpienia błędu.
-
Goral64
- Posts: 3258
- Joined: Fri Dec 27, 2019 6:22 pm
- Location: Żerniki Wrocławskie
- Has thanked: 2 times
- Been thanked: 1 time
Zgadza się, bo ja tę sekcję dodałem dopiero godzinę temu i od tego momentu będzie się dołączała do komunikatu o błędzieLucas_Alfa wrote: Sun Nov 07, 2021 9:11 pm Nic więcej ponad to, co wkleiłem nie pojawiało się w komunikacie o błędzie. Nie wyglądało to tak, jak na twoim zrzucie.
Widzimy się na Supla Offline Party Season 2026

-
Goral64
- Posts: 3258
- Joined: Fri Dec 27, 2019 6:22 pm
- Location: Żerniki Wrocławskie
- Has thanked: 2 times
- Been thanked: 1 time
Code: Select all
/var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_9bf22669ea23e677e9503f938302268c/SuplaDeviceGUI.cpp: In function 'void Supla::GUI::addButton(uint8_t)':
/var/www/html/code/GUI-Generic_bv4.2_gv4.2.15_pl_9bf22669ea23e677e9503f938302268c/SuplaDeviceGUI.cpp:139:57: error: 'relay' was not declared in this scope; did you mean 'delay'?
139 | button->addAction(ConfigESP->getAction(pinButton), *relay[nr - 1], ConfigESP->getEvent(pinButton));
| ^~~~~
| delay
Error during build: exit status 1
xxxxxxxxxxxxxxxxxx
BOARD esp8266:esp8266:generic:eesz=1M64,xtal=160
TEMPLATE_BOARD
OPTIONS -DATOMIC_FS_UPDATE -DBEARSSL_SSL_BASIC -DSUPLA_BUTTON -DSUPLA_CONFIG -DSUPLA_DS18B20 -DSUPLA_ENABLE_GUI -DSUPLA_OTA -DSUPLA_RGBW
Widzimy się na Supla Offline Party Season 2026

