I'm trying to test and build a few plugins that are available at the ESPEasyPluginPlayground repository (CCS811 and BME680). And I couldn't get them to work (build).
I'm able to build and upload unless I try to include the plug-ins.
What I'm doing:
- Opening the last mega via GitHub app on to atom.
- Copy the desired plugin from ESPEasyPluginPlayground to the /src. (_P118_CCS811.ino and _P119_BME680.ino)
- Copy the required libraries for the BME680.ino into /src (Adafruit_BME680.h and bme680.h)
- Uncommented or added at the start
Code: Select all
#ifdef PLUGIN_BUILD_DEV
Code: Select all
#endif
- Run Build for my board (PIO Build (dev_ESP8266_4096))
Error:
Code: Select all
/Users/user_name/Documents/GitHub/ESPEasy/src/WebServer.ino:2787:6: note: void addFormNumericBox(const String&, const String&, int, int, int)
void addFormNumericBox(const String& label, const String& id, int value, int min, int max)
^
/Users/user_name/Documents/GitHub/ESPEasy/src/WebServer.ino:2787:6: note: candidate expects 5 arguments, 4 provided
/Users/user_name/Documents/GitHub/ESPEasy/src/WebServer.ino:2793:6: note: void addFormNumericBox(const String&, const String&, int)
void addFormNumericBox(const String& label, const String& id, int value)
^
/Users/user_name/Documents/GitHub/ESPEasy/src/WebServer.ino:2793:6: note: candidate expects 3 arguments, 4 provided
/Users/user_name/Documents/GitHub/ESPEasy/src/_P119_BME680.ino:101:31: error: too many arguments to function 'void addUnit(const String&)'
addUnit(string, F("m"));
^
/Users/user_name/Documents/GitHub/ESPEasy/src/WebServer.ino:2643:6: note: declared here
void addUnit(const String& unit)
^
/Users/user_name/Documents/GitHub/ESPEasy/src/_P118_CCS811.ino: In member function 'String CCS811::getSensorError()':
/Users/user_name/Documents/GitHub/ESPEasy/src/_P118_CCS811.ino:1011:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
*** [.pioenvs/dev_ESP8266_4096/src/ESPEasy.ino.cpp.o] Error 1
Thanks