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)
Widzimy się na Supla Offline Party Season 2
-
- Posty: 94
- Rejestracja: pt sty 03, 2020 6:10 pm
ESP-32
- Załączniki
-
- IMG_20211102_213930.jpg (5.72 MiB) Przejrzano 1118 razy
Teraz to pojechałeś...
A jakby tak skopiować treść i wkleić do posta w </> ?
I jeszcze jakby podać jakie opcje się wybrało?
Widzimy się na Supla Offline Party Season 2
-
- Posty: 94
- Rejestracja: pt sty 03, 2020 6:10 pm
Kod: Zaznacz cały
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 1
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
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
-
- Posty: 10
- Rejestracja: sob lis 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.
Kod: Zaznacz cały
/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 1
Kod: Zaznacz cały
/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
To uparty jesteś 3 tyg to trochę czasu poprawie a teraz dodaj do kompilacji przekaźnik
https://gui-generic-builder.supla.io/
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.
Widzimy się na Supla Offline Party Season 2
-
- Posty: 10
- Rejestracja: sob lis 06, 2021 10:46 pm
Wygenerowało się Rozumiem, że problem polegał na tym, że przy wyborze RGBW, RGB, Dimmer automatycznie uaktywniała się funkcja przycisku, bo używany jest do konfiguracji urządzenia a ta funkcja wymagała współpracy z przekaźnikiem, którego w tym przypadku nie potrzeba w tym projekcie ale pozwala to ominąć problem z generowaniem skryptu?
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.
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 pisze: ↑ndz lis 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 2
Kod: Zaznacz cały
/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 2