GUI Generic - Błąd generowania

Mmof
Posts: 1220
Joined: Sun Jan 26, 2020 5:49 pm
Has thanked: 34 times
Been thanked: 4 times

Post

krycha88 wrote: Tue Oct 24, 2023 7:06 pm
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.
Dzięki już sprawdzam.
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
Mmof
Posts: 1220
Joined: Sun Jan 26, 2020 5:49 pm
Has thanked: 34 times
Been thanked: 4 times

Post

@krycha88 dalej błąd, coś takiego.

Błąd generowania
In file included from GUI-Generic_bv5.2_gv7.5.16_pl_85d54313ab3969e152ed42255e39f9d7/src/sensor/DirectLinks.h:24,
from GUI-Generic_bv5.2_gv7.5.16_pl_85d54313ab3969e152ed42255e39f9d7/GUI-Generic_bv5.2_gv7.5.16_pl_85d54313ab3969e152ed42255e39f9d7.ino:38:
GUI-Generic_bv5.2_gv7.5.16_pl_85d54313ab3969e152ed42255e39f9d7/src/sensor/pressure.h:24: warning: "PRESSURE_NOT_AVAILABLE" redefined
24 | #define PRESSURE_NOT_AVAILABLE -1
|
In file included from lib/SuplaDevice/src/supla/sensor/BME280.h:25,
from GUI-Generic_bv5.2_gv7.5.16_pl_85d54313ab3969e152ed42255e39f9d7/SuplaDeviceGUI.h:88,
from GUI-Generic_bv5.2_gv7.5.16_pl_85d54313ab3969e152ed42255e39f9d7/GUI-Generic_bv5.2_gv7.5.16_pl_85d54313ab3969e152ed42255e39f9d7.ino:16:
lib/SuplaDevice/src/supla/sensor/therm_hygro_press_meter.h:24: note: this is the location of the previous definition
24 | #define PRESSURE_NOT_AVAILABLE -1.0
|
GUI-Generic_bv5.2_gv7.5.16_pl_85d54313ab3969e152ed42255e39f9d7/src/display/SuplaOled.cpp: In function 'void displayThermostat(OLEDDisplay*, OLEDDisplayUiState*, int16_t, int16_t)':
GUI-Generic_bv5.2_gv7.5.16_pl_85d54313ab3969e152ed42255e39f9d7/src/display/SuplaOled.cpp:382:48: error: 'relay' is not a member of 'Supla::GUI'
382 | if (getCountActiveThermostat() < Supla::GUI::relay.size()) {
| ^~~~~
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=4M1M,xtal=160
BOARD_NAME
TEMPLATE_JSON
JSON_DEFINITION
OPTIONS -DATOMIC_FS_UPDATE -DMIMETYPE_MINIMAL -DSUPLA_ACTION_TRIGGER -DSUPLA_BME280 -DSUPLA_BUTTON -DSUPLA_CONFIG -DSUPLA_DIRECT_LINKS_MULTI_SENSOR
-DSUPLA_DS18B20 -DSUPLA_ENABLE_GUI -DSUPLA_LCD_HD44780 -DSUPLA_OLED -DSUPLA_OTA
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
endrju_88
Posts: 448
Joined: Tue Apr 25, 2023 1:02 pm
Has thanked: 3 times
Been thanked: 4 times

Post

Potwierdzam to co Mmof napisał.
Nadal pojawia się błąd generowania.
Mmof
Posts: 1220
Joined: Sun Jan 26, 2020 5:49 pm
Has thanked: 34 times
Been thanked: 4 times

Post

Przed chwilą poszło wygląda że już jest 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
endrju_88
Posts: 448
Joined: Tue Apr 25, 2023 1:02 pm
Has thanked: 3 times
Been thanked: 4 times

Post

No raczej do końca nie jest ok. Nadal błędy generowania. Zmieniłem płytkę na ESP32 Dev Module i jest to samo.

Zauważyłem ,że jak jest zaznaczona funkcja Warunkowanie to wyrzucają błędy generowania , czy to dla ESP8266 czy dla ESP32. Jak nie zaznaczę funkcji Warunkowania to plik generuje się prawidłowo. Sprawdzałem wielokrotnie.
lukasz06
Posts: 2543
Joined: Sun Jul 17, 2022 6:53 pm
Has thanked: 45 times
Been thanked: 21 times

Post

Była wersja 7.4.26, a teraz 7.5.17, ta sama co testowa?
bokk
Posts: 730
Joined: Fri Mar 01, 2019 4:26 am
Has thanked: 7 times
Been thanked: 25 times

Post

Jeszcze jest błąd generowania dla Gosund SP111 v1.1
robertklepacki94
Posts: 1931
Joined: Thu Sep 02, 2021 1:06 pm
Has thanked: 5 times
Been thanked: 14 times

Post

bokk wrote: Wed Oct 25, 2023 3:15 am Jeszcze jest błąd generowania dla Gosund SP111 v1.1
Jak już pokazuje ci się błąd, to dobrze jest go tu wkleić, dla @krycha88 bedzie prościej.

Code: Select all

GUI-Generic_bv5.2_gv7.5.17_pl_6ea3cbe672e1d1ba1269c301f71d9261/SuplaDeviceGUI.cpp: In function 'void Supla::GUI::addHLW8012(int8_t, int8_t, int8_t)':
GUI-Generic_bv5.2_gv7.5.17_pl_6ea3cbe672e1d1ba1269c301f71d9261/SuplaDeviceGUI.cpp:769:3: error: 'eeprom' was not declared in this scope; did you mean 'Eeprom'?
  769 |   eeprom.setStateSavePeriod(TIME_SAVE_PERIOD_IMPULSE_COUNTER_SEK * 1000);
      |   ^~~~~~
      |   Eeprom
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 Gosund SP111 v1.1
TEMPLATE_JSON GOSUND_SP111_V1_1
JSON_DEFINITION NAME:Gosund SP111 v1.1 GPIO:[56 0 158 0 132 134 0 0 131 17 0 21 0]
OPTIONS -DTEMPLATE_JSON=\"{\\\"NAME\\\":\\\"Gosund SP111 v1.1\\\",\\\"GPIO\\\":[56,0,158,0,132,134,0,0,131,17,0,21,0]}\" -DATOMIC_FS_UPDATE -DMIMETYPE_MINIMAL 
-DBEARSSL_SSL_BASIC -DSUPLA_ACTION_TRIGGER -DSUPLA_BUTTON -DSUPLA_CONFIG -DSUPLA_ENABLE_GUI -DSUPLA_HLW8012 -DSUPLA_LED -DSUPLA_OTA -DSUPLA_RELAY 
-DTEMPLATE_BOARD_JSON
Wziąłem udział w Supla Offline Party 2023
endrju_88
Posts: 448
Joined: Tue Apr 25, 2023 1:02 pm
Has thanked: 3 times
Been thanked: 4 times

Post

Czy jest szansa aby funkcjonalność Warunkowania można było znowu wgrywać? Bez tego to słabo widzę kolejny projekt.


Code: Select all

GUI-Generic_bv5.2_gv7.5.17_pl_75638aee9ae8b98fe30495cf746fd9fd/GUI-Generic_bv5.2_gv7.5.17_pl_75638aee9ae8b98fe30495cf746fd9fd.ino: In function 'void setup()':
GUI-Generic_bv5.2_gv7.5.17_pl_75638aee9ae8b98fe30495cf746fd9fd/GUI-Generic_bv5.2_gv7.5.17_pl_75638aee9ae8b98fe30495cf746fd9fd.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.17_pl_75638aee9ae8b98fe30495cf746fd9fd/SuplaDeviceGUI.h:60,
                 from GUI-Generic_bv5.2_gv7.5.17_pl_75638aee9ae8b98fe30495cf746fd9fd/GUI-Generic_bv5.2_gv7.5.17_pl_75638aee9ae8b98fe30495cf746fd9fd.ino:16:
GUI-Generic_bv5.2_gv7.5.17_pl_75638aee9ae8b98fe30495cf746fd9fd/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.17_pl_75638aee9ae8b98fe30495cf746fd9fd/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.17_pl_75638aee9ae8b98fe30495cf746fd9fd/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.17_pl_75638aee9ae8b98fe30495cf746fd9fd/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_ACTION_TRIGGER -DSUPLA_BUTTON -DSUPLA_CONDITIONS -DSUPLA_CONFIG -DSUPLA_DHT11 
-DSUPLA_DHT22 -DSUPLA_DS18B20 -DSUPLA_ENABLE_GUI -DSUPLA_LIMIT_SWITCH -DSUPLA_OTA -DSUPLA_PUSHOVER -DSUPLA_RELAY
bokk
Posts: 730
Joined: Fri Mar 01, 2019 4:26 am
Has thanked: 7 times
Been thanked: 25 times

Post

jeszcze jeden błąd Wemos D1 Mini - licznik impulsów

Błąd generowania
GUI-Generic_bv5.2_gv7.5.17_pl_f4919912bcba37fb686655d2b1cd4f06/SuplaDeviceGUI.cpp: In function 'void Supla::GUI::addImpulseCounter(uint8_t)':
GUI-Generic_bv5.2_gv7.5.17_pl_f4919912bcba37fb686655d2b1cd4f06/SuplaDeviceGUI.cpp:636:3: error: 'eeprom' was not declared in this scope; did you mean 'Eeprom'?
636 | eeprom.setStateSavePeriod(TIME_SAVE_PERIOD_IMPULSE_COUNTER_SEK * 1000);
| ^~~~~~
| Eeprom
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=4M1M,xtal=160
BOARD_NAME
TEMPLATE_JSON
JSON_DEFINITION
OPTIONS -DATOMIC_FS_UPDATE -DMIMETYPE_MINIMAL -DBEARSSL_SSL_BASIC -DSUPLA_CONFIG -DSUPLA_ENABLE_GUI -DSUPLA_IMPULSE_COUNTER -DSUPLA_OTA

Return to “GUI Generic”