LukiSpajder pisze: ↑ndz sty 29, 2023 4:23 pm
Przy generowaniu softa na SP111 v1 mam taki blad
GUI-Generic_bv4.22_gv5.9.0_pl_136379e6794850a91abaec9b0b55bbd4/SuplaDeviceGUI.cpp: In function 'void Supla::GUI::addHLW8012(int8_t, int8_t, int8_t)':
GUI-Generic_bv4.22_gv5.9.0_pl_136379e6794850a91abaec9b0b55bbd4/SuplaDeviceGUI.cpp:667:17: error: 'Supla::GUI::Conditions' has not been declared
667 | Supla::GUI::Conditions::addConditionsSensor(SENSOR_HLW8012, counterHLW8012);
| ^~~~~~~~~~
GUI-Generic_bv4.22_gv5.9.0_pl_136379e6794850a91abaec9b0b55bbd4/SuplaDeviceGUI.cpp:667:49: error: 'SENSOR_HLW8012' was not declared in this scope
667 | Supla::GUI::Conditions::addConditionsSensor(SENSOR_HLW8012, counterHLW8012);
| ^~~~~~~~~~~~~~
Multiple libraries were found for "SoftwareSerial.h"
Used: .arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/SoftwareSerial
Not used: /var/www/html/github/GUI-Generic/lib/espsoftwareserial
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
-DSUPLA_ACTION_TRIGGER -DSUPLA_BUTTON -DSUPLA_CONFIG -DSUPLA_DIRECT_LINKS -DSUPLA_ENABLE_GUI -DSUPLA_HLW8012 -DSUPLA_LED -DSUPLA_OTA -DSUPLA_PUSHOVER
-DSUPLA_RELAY -DTEMPLATE_BOARD_JSON
Po automatycznej aktualizacji przerzuca do GUI-Generic Updater