GUI Generic - Błąd generowania

endrju_88
Posts: 448
Joined: Tue Apr 25, 2023 1:02 pm
Has thanked: 3 times
Been thanked: 4 times

Post

Witam wszystkich.

Czy próbował ktoś ostatnio wygenerować plik w GUI ( nie TEST)? Chciałem dołożyć kolejne ESP8266 ale cały czas wyrzuca mi żółty screen "BŁĄD GENEROWANIA" . Robię coś nie tak czy to problem z GUI? :?:


[Błąd generowania
GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8/GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8.ino: In function 'void setup()':
GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8/GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8.ino:149:90: error: no matching function for call to 'addConditionsSensor(sensorList, const char [12], Supla::Sensor::Binary*&, uint8_t&)'
149 | Supla::GUI::Conditions::addConditionsSensor(SENSOR_BINARY, S_LIMIT_SWITCH, binary, nr);
| ^
In file included from GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8/SuplaDeviceGUI.h:60,
from GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8/GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8.ino:16:
GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8/SuplaConditions.h:143:6: note: candidate: 'void Supla::GUI::Conditions::addConditionsSensor(int, const char*, Supla::ChannelElement*, uint8_t)'
143 | void addConditionsSensor(int functionSensor, const char* nameSensor, Supla::ChannelElement* sensor, uint8_t nrSensor = 0);
| ^~~~~~~~~~~~~~~~~~~
GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8/SuplaConditions.h:143:93: note: no known conversion for argument 3 from 'Supla::Sensor::Binary*' to 'Supla::ChannelElement*'
143 | void addConditionsSensor(int functionSensor, const char* nameSensor, Supla::ChannelElement* sensor, uint8_t nrSensor = 0);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8/SuplaConditions.h:144:6: note: candidate: 'void Supla::GUI::Conditions::addConditionsSensor(int, const char*, Supla::Sensor::ElectricityMeter*, uint8_t)'
144 | void addConditionsSensor(int functionSensor, const char* nameSensor, Supla::Sensor::ElectricityMeter* electricityMete, uint8_t nrSensor = 0);
| ^~~~~~~~~~~~~~~~~~~
GUI-Generic_bv5.2_gv7.5.16_pl_70b80e3901560bd3138b67ae7fa9abe8/SuplaConditions.h:144:103: note: no known conversion for argument 3 from 'Supla::Sensor::Binary*' to 'Supla::Sensor::ElectricityMeter*'
144 | void addConditionsSensor(int functionSensor, const char* nameSensor, Supla::Sensor::ElectricityMeter* electricityMete, uint8_t nrSensor = 0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Multiple libraries were found for "SoftwareSerial.h"
Used: /var/www/html/github/GUI-Generic/lib/EspSoftwareSerial
Not used: /var/www/html/github/GUI-Generic/lib/EspSoftwareSerial
Not used: .arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/SoftwareSerial
Error during build: exit status 1
xxxxxxxxxxxxxxxxxx
BOARD esp8266:esp8266:generic:eesz=1M64,xtal=160
BOARD_NAME
TEMPLATE_JSON
JSON_DEFINITION
OPTIONS -DATOMIC_FS_UPDATE -DMIMETYPE_MINIMAL -DBEARSSL_SSL_BASIC -DSUPLA_CONDITIONS -DSUPLA_CONFIG -DSUPLA_DHT22 -DSUPLA_DS18B20 -DSUPLA_ENABLE_GUI
-DSUPLA_LIMIT_SWITCH -DSUPLA_OTA -DSUPLA_PUSHOVER
]
endrju_88
Posts: 448
Joined: Tue Apr 25, 2023 1:02 pm
Has thanked: 3 times
Been thanked: 4 times

Post

Dodam jeszcze,że GUI to:

GUI-Generic Builder
GUI-Generic: v7.5.16; Builder: v5.2.1
Board ESP8266: v3.1.2; Board ESP32: v2.0.9
robertklepacki94
Posts: 1933
Joined: Thu Sep 02, 2021 1:06 pm
Has thanked: 5 times
Been thanked: 14 times

Post

@krycha88 dziś robił jakiś zmiany, podgrywał chyba wersje develop. Poczekaj chwile napewno poproawi jak zobaczy wątek. :)
Wziąłem udział w Supla Offline Party 2023
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Proszę o potwierdzenie czy ten błąd występuje na teście dla takich samych ustawień. Jeżeli nie to problem po stronie buildera ;)
https://gui-generic-builder.supla.io/
endrju_88
Posts: 448
Joined: Tue Apr 25, 2023 1:02 pm
Has thanked: 3 times
Been thanked: 4 times

Post

Błąd występuje również na GG BuilderTEST. Próbowałem na 2 laptopach i efekt ten sam ( Błąd generowania ). Ustawienia do pliku to : Krańcówki , Warunkowanie , PUSHOVER , DS18B20,DHT11 , DHT22. Płytka Generic ESP8266 Module .
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Ok, poprawie wieczorem.
https://gui-generic-builder.supla.io/
endrju_88
Posts: 448
Joined: Tue Apr 25, 2023 1:02 pm
Has thanked: 3 times
Been thanked: 4 times

Post

Ok. Dzięki.
User avatar
Lector
Posts: 2471
Joined: Fri Nov 17, 2017 2:26 pm
Location: Poznań
Has thanked: 13 times
Been thanked: 25 times

Post

U mnie na testowym Firefox wywala błędy, ale chrom generuje.

Może będzie przydatna informacja dla innych.
Niespełniony automatyk. :mrgreen:
https://3d-lamp.photos/
https://pool.lector.top/
Mmof
Posts: 1220
Joined: Sun Jan 26, 2020 5:49 pm
Has thanked: 34 times
Been thanked: 4 times

Post

Więc tak wygenerowało mi się poprawnie WemosD1+BME280+DS18B20+Linki bezpośrednie wyświetlanie kanałów, ale już jak dodałem Oleda to wywaliło błąd bez Oleda generuję się Ok.
Zapraszam na Facebook do wspólnej pomocy mniej zawansowanym użytkownikom Supla.
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplaauraton
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Mmof wrote: Tue Oct 24, 2023 5:34 pm Więc tak wygenerowało mi się poprawnie WemosD1+BME280+DS18B20+Linki bezpośrednie wyświetlanie kanałów, ale już jak dodałem Oleda to wywaliło błąd bez Oleda generuję się Ok.
Poprawiłem.
https://gui-generic-builder.supla.io/

Return to “GUI Generic”