Closed MAWMN closed 5 years ago
You will not find anything about it, but it is possible to export platformio project for eclipse and import/open it in sloeber
Hello, thank you for your prompt reply.. Is there any information or example of how to do this, because I am not familiar with PlatformIO
Thanks..
@MAWMN can you point me to the Sonoff-Tasmota application documentation? More specific on how to use it with arduino?
Hello Jantje,
Global documentation : https://github.com/arendst/Sonoff-Tasmota/wiki version v6.4.0
installing it in the Arduino-IDE : https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE I was using 1.8.8.
download source : https://github.com/arendst/Sonoff-Tasmota/releases (the source code .zip)
regards,
@MAWMN That would be about the same installation procedure in sloeber. The differences are the file locations of the installed stuff is in [sloeber]/arduinoPlugin/packages For the library add the location to the private library options in the preferences.
remember that each time you modified a platform.txt or boards.txt you need to open the project properties and select apply/ok
You need only this: https://docs.platformio.org/en/latest/ide/eclipse.html I have some changes which add some support for tasmota and espeasy, but they are not compatible with actual code base of sloeber and it was some. kind of WIP. Generally platform.io projects has got. files in src and libs in lib dir and sloeber has got some problems with this.
@jantje I will give it a try tomorrow, will let you know the results, or problems I mayby will face.
thanks
@uzi18 I presume I will have to install platformIO for this ?
thanks
yes, it is used to build tasmota
@ jantje I have ben ill for a couple of days, so the delay.. I am still not able to get my Sonoff project to compliled correctly after trying to to do a lot of testing also.
Is there anything or perhaps a setting which is causing me these problems ?
Looking at the image it looks as if you need to upgrade your Sloeber skills before you can handle project that are not fully integrated (yet). Things that tell me so: -Nothing on the image states what the problem is. -There is a folder sonof libraries which (when you follow the sonof instructions should not be there) -The console output is not visible (here the first error is the interesting one) -The errors in the makefile are nearly never the root cause nor helping to find the root cause -The problem view is interesting but it should be at least expanded for errors (and with 100+ errors a screenshot will not do)
I didn't get this to work but what I did: Download the zip Sonoff-Tasmota-6.4.1.zip Extract the zip Sonoff-Tasmota-6.4.1.zip
EDIT: below I wrongly added ..\Sonoff-Tasmota-6.4.1\arduino\version 2.5.0 to the libraries it had to be the folder ..\Sonoff-Tasmota-6.4.1\lib
renamed the folder ..\Sonoff-Tasmota-6.4.1\arduino\version 2.5.0 to ..\Sonoff-Tasmota-6.4.1\arduino\sonof_lib_2.5.0 (spaces are a bad idea in C/C++ world)
EDIT: removing the version numbers from the folder names of the libraries will make sloeber to do a better job at adding the libraries automagically.
Added this folder to the private libraries in Sloeber Created a new project deleted the created ino file
EDIT: rebuilding the indexer from time to time helps as well SPI.h seems to need a indexer rebuild.
Dragged and dropped the files from ..\Sonoff-Tasmota-6.4.1\sonoff in the project (selecting copy) Build (a couple of times).
EDIT: with the edits above the below issue should not appear. You should start getting the undefined methods as discussed later in this issue.
Now I get this issue (based on the comments there must be more info on the web; I didn't look)
@jantje if you want to compile this it is better to add platformio support
you need this lib: https://github.com/envy/esp-knx-ip
@jantje if you want to compile this it is better to add platformio support
@uzi18 IMHO platformio has got nothing to do with this. platformio has its own way of building which is not compliant with the Arduino way nor with the CDT way. Further on these are all simple source files organized in the Arduino way.
Running platformio build commands from eclipse is easy and does not require any integration*. However it doesn't add more value to the user experience than a notepad++ (which has a far lower footprint/startup time) would.
*to run platformio command select run->external tools ps platformio pissed me off so bad that I consider anyone mentioning them to be a troll. A troll advertising platformio to be real arduino ide alternative which it is not (technically speaking).
@jantje I was still not able to do an successful compilation, also not after your leads.
Why is it so difficult to get the (an) project working in Sloeber ?
I have done successful compilations and uploads from Arduino IDE, PlatformIO, and VisualStudio-code (with the PlatformIO extension).
I rather would like to use Sloeber, because of all the useful popups etc. you can enable, like the one showing external code when hovering over f.i. a function call. This functionality comes in very handy when you have not written the code yourself, to directly see what is happening over there.
@MAWMN
Why is it so difficult to get the (an) project working in Sloeber ?
Because Sloeber is a professional open development environment and therefore supports 100 ways to do something. In other words; there is at least one "easy way" but it is "easy to get lost" which makes it "difficult". See more on the faq page http://eclipse.baeyens.it/faq.shtml#/ide_vs_plugin
PS: it took me less than 10 minutes to get to the point where the project compiled and showed a library needed to be installed. According to @uzi18 post this is a github library which can be installed on your system in many ways. For instance as a zip as in the sonotof documentation or as a github repository. I would go for cloning the repository and importing it in my workspace as a git repository (and add the folder to my private repositories) but my guess would be you would prefer downloading the zip and unzipping it in [your home folder]/arduino/libraries (as this is in the private libraries)
I am still struggling to get tasmota sOnOff to compile.
Description Resource Path Location Type 'AriluxRfDisable' was not declared in this scope sonoff.ino /Test2 line 2086 C/C++ Problem 'AriluxRfDisable' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1516 C/C++ Problem 'CaptivePortal' was not declared in this scope xdrv_01_webserver.ino /Test2 line 581 C/C++ Problem 'CaptivePortal' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1827 C/C++ Problem 'class PubSubClient' has no member named 'begin' xdrv_02_mqtt.ino /Test2 line 542 C/C++ Problem 'class PubSubClient' has no member named 'lastError' xdrv_02_mqtt.ino /Test2 line 566 C/C++ Problem 'class PubSubClient' has no member named 'onMessage' xdrv_02_mqtt.ino /Test2 line 546 C/C++ Problem 'class PubSubClient' has no member named 'setOptions' xdrv_02_mqtt.ino /Test2 line 544 C/C++ Problem 'class PubSubClient' has no member named 'setWill' xdrv_02_mqtt.ino /Test2 line 543 C/C++ Problem 'DhtSetup' was not declared in this scope sonoff.ino /Test2 line 2473 C/C++ Problem 'DomoticzSaveSettings' was not declared in this scope xdrv_07_domoticz.ino /Test2 line 456 C/C++ Problem 'DomoticzSendKey' was not declared in this scope sonoff.ino /Test2 line 1325 C/C++ Problem 'DomoticzSensor' was not declared in this scope xdrv_03_energy.ino /Test2 line 633 C/C++ Problem 'DomoticzSensor' was not declared in this scope xdrv_05_irremote.ino /Test2 line 165 C/C++ Problem 'DomoticzSensor' was not declared in this scope xdrv_06_snfbridge.ino /Test2 line 296 C/C++ Problem 'DomoticzSensorPowerEnergy' was not declared in this scope xdrv_03_energy.ino /Test2 line 632 C/C++ Problem 'DomoticzUpdateFanState' was not declared in this scope sonoff.ino /Test2 line 397 C/C++ Problem 'DomoticzUpdateFanState' was not declared in this scope xdrv_02_mqtt.ino /Test2 line 339 C/C++ Problem 'DomoticzUpdatePowerState' was not declared in this scope sonoff.ino /Test2 line 1397 C/C++ Problem 'DomoticzUpdatePowerState' was not declared in this scope xdrv_04_light.ino /Test2 line 625 C/C++ Problem 'EnergyMqttShow' was not declared in this scope xdrv_03_energy.ino /Test2 line 229 C/C++ Problem 'EnergyMqttShow' was not declared in this scope xdrv_03_energy.ino /Test2 line 244 C/C++ Problem 'EnergyMqttShow' was not declared in this scope xdrv_03_energy.ino /Test2 line 271 C/C++ Problem 'EnergyMqttShow' was not declared in this scope xdrv_03_energy.ino /Test2 line 292 C/C++ Problem 'EnergyMqttShow' was not declared in this scope xdrv_03_energy.ino /Test2 line 298 C/C++ Problem 'EnergyShow' was not declared in this scope xdrv_03_energy.ino /Test2 line 307 C/C++ Problem 'GetSun' was not declared in this scope sonoff.ino /Test2 line 1541 C/C++ Problem 'HandleAjaxConsoleRefresh' was not declared in this scope xdrv_01_webserver.ino /Test2 line 389 C/C++ Problem 'HandleAjaxStatusRefresh' was not declared in this scope xdrv_01_webserver.ino /Test2 line 390 C/C++ Problem 'HandleBackupConfiguration' was not declared in this scope xdrv_01_webserver.ino /Test2 line 399 C/C++ Problem 'HandleConfiguration' was not declared in this scope xdrv_01_webserver.ino /Test2 line 394 C/C++ Problem 'HandleConsole' was not declared in this scope xdrv_01_webserver.ino /Test2 line 388 C/C++ Problem 'HandleHttpCommand' was not declared in this scope xdrv_01_webserver.ino /Test2 line 391 C/C++ Problem 'HandleHueApi' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1832 C/C++ Problem 'HandleInformation' was not declared in this scope xdrv_01_webserver.ino /Test2 line 402 C/C++ Problem 'HandleLoggingConfiguration' was not declared in this scope xdrv_01_webserver.ino /Test2 line 397 C/C++ Problem 'HandleModuleConfiguration' was not declared in this scope xdrv_01_webserver.ino /Test2 line 395 C/C++ Problem 'HandleNotFound' was not declared in this scope xdrv_01_webserver.ino /Test2 line 392 C/C++ Problem 'HandleOtherConfiguration' was not declared in this scope xdrv_01_webserver.ino /Test2 line 398 C/C++ Problem 'HandlePreflightRequest' was not declared in this scope xdrv_01_webserver.ino /Test2 line 387 C/C++ Problem 'HandleResetConfiguration' was not declared in this scope xdrv_01_webserver.ino /Test2 line 401 C/C++ Problem 'HandleRestoreConfiguration' was not declared in this scope xdrv_01_webserver.ino /Test2 line 400 C/C++ Problem 'HandleRoot' was not declared in this scope xdrv_01_webserver.ino /Test2 line 383 C/C++ Problem 'HandleUpgradeFirmware' was not declared in this scope xdrv_01_webserver.ino /Test2 line 384 C/C++ Problem 'HandleUpgradeFirmwareStart' was not declared in this scope xdrv_01_webserver.ino /Test2 line 385 C/C++ Problem 'HandleUploadDone' was not declared in this scope xdrv_01_webserver.ino /Test2 line 386 C/C++ Problem 'HandleUploadLoop' was not declared in this scope xdrv_01_webserver.ino /Test2 line 386 C/C++ Problem 'HandleWifiConfiguration' was not declared in this scope xdrv_01_webserver.ino /Test2 line 396 C/C++ Problem 'HandleWifiConfiguration' was not declared in this scope xdrv_01_webserver.ino /Test2 line 601 C/C++ Problem 'HAssDiscovery' was not declared in this scope sonoff.ino /Test2 line 747 C/C++ Problem 'HueWemoAddHandlers' was not declared in this scope xdrv_01_webserver.ino /Test2 line 404 C/C++ Problem 'I2cScan' was not declared in this scope sonoff.ino /Test2 line 1278 C/C++ Problem 'LightSerial2Duty' was not declared in this scope xdrv_04_light.ino /Test2 line 846 C/C++ Problem 'LightSerialDuty' was not declared in this scope xdrv_04_light.ino /Test2 line 841 C/C++ Problem 'log_data' was not declared in this scope settings.ino /Test2 line 287 C/C++ Problem 'log_data' was not declared in this scope settings.ino /Test2 line 319 C/C++ Problem 'log_data' was not declared in this scope settings.ino /Test2 line 349 C/C++ Problem 'LoggingSaveSettings' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1026 C/C++ Problem 'map_double' was not declared in this scope xdrv_10_rules.ino /Test2 line 644 C/C++ Problem 'McpCalibrationCalc' was not declared in this scope xnrg_04_mcp39f501.ino /Test2 line 209 C/C++ Problem 'McpCalibrationCalc' was not declared in this scope xnrg_04_mcp39f501.ino /Test2 line 213 C/C++ Problem 'McpCalibrationCalc' was not declared in this scope xnrg_04_mcp39f501.ino /Test2 line 217 C/C++ Problem 'McpSetCalibration' was not declared in this scope xnrg_04_mcp39f501.ino /Test2 line 220 C/C++ Problem 'McpSetFrequency' was not declared in this scope xnrg_04_mcp39f501.ino /Test2 line 389 C/C++ Problem 'McpSetSystemConfiguration' was not declared in this scope xnrg_04_mcp39f501.ino /Test2 line 232 C/C++ Problem 'ModuleSaveSettings' was not declared in this scope xdrv_01_webserver.ino /Test2 line 786 C/C++ Problem 'MqttClient' has a previous declaration as 'PubSubClient MqttClient' sloeber.ino.cpp /Test2 line 79 C/C++ Problem 'MqttSaveSettings' was not declared in this scope xdrv_02_mqtt.ino /Test2 line 860 C/C++ Problem 'OtherSaveSettings' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1109 C/C++ Problem 'PollUdp' was not declared in this scope xdrv_01_webserver.ino /Test2 line 2070 C/C++ Problem 'power' was not declared in this scope settings.ino /Test2 line 233 C/C++ Problem 'PS16DZSerialDuty' was not declared in this scope xdrv_04_light.ino /Test2 line 851 C/C++ Problem 'rf_decode_and_write' was not declared in this scope xdrv_06_snfbridge.ino /Test2 line 107 C/C++ Problem 'rf_glue_remnant_with_new_data_and_write' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1574 C/C++ Problem 'rf_search_and_write' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1582 C/C++ Problem 'RulesTeleperiod' was not declared in this scope sonoff.ino /Test2 line 1711 C/C++ Problem 'seriallog_level' was not declared in this scope settings.ino /Test2 line 347 C/C++ Problem 'ShtSendCommand' was not declared in this scope xsns_07_sht1x.ino /Test2 line 56 C/C++ Problem 'SnfBrUpdateInit' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1543 C/C++ Problem 'StartWebserver' was not declared in this scope support_wifi.ino /Test2 line 503 C/C++ Problem 'stop_flash_rotate' was not declared in this scope settings.ino /Test2 line 263 C/C++ Problem 'stop_flash_rotate' was not declared in this scope settings.ino /Test2 line 268 C/C++ Problem 'stop_flash_rotate' was not declared in this scope settings.ino /Test2 line 281 C/C++ Problem 'StopWebserver' was not declared in this scope sonoff.ino /Test2 line 2083 C/C++ Problem 'StopWebserver' was not declared in this scope support_wifi.ino /Test2 line 512 C/C++ Problem 'TimerSaveSettings' was not declared in this scope xdrv_09_timers.ino /Test2 line 691 C/C++ Problem 'UdpConnect' was not declared in this scope support_wifi.ino /Test2 line 515 C/C++ Problem 'UdpDisconnect' was not declared in this scope support_wifi.ino /Test2 line 117 C/C++ Problem 'UdpDisconnect' was not declared in this scope support_wifi.ino /Test2 line 196 C/C++ Problem 'UdpDisconnect' was not declared in this scope support_wifi.ino /Test2 line 529 C/C++ Problem 'UdpDisconnect' was not declared in this scope xdrv_01_webserver.ino /Test2 line 911 C/C++ Problem 'UdpDisconnect' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1513 C/C++ Problem 'UdpDisconnect' was not declared in this scope xdrv_02_mqtt.ino /Test2 line 496 C/C++ Problem 'ValidIpAddress' was not declared in this scope xdrv_01_webserver.ino /Test2 line 1849 C/C++ Problem 'WifiManagerBegin' was not declared in this scope support_wifi.ino /Test2 line 160 C/C++ Problem 'WifiSaveSettings' was not declared in this scope xdrv_01_webserver.ino /Test2 line 899 C/C++ Problem 'Ws2812Clear' was not declared in this scope xdrv_04_light.ino /Test2 line 1223 C/C++ Problem 'Ws2812Clear' was not declared in this scope xplg_ws2812.ino /Test2 line 337 C/C++ Problem 'Ws2812ForceSuspend' was not declared in this scope xdrv_04_light.ino /Test2 line 1204 C/C++ Problem 'Ws2812ForceUpdate' was not declared in this scope xdrv_04_light.ino /Test2 line 1215 C/C++ Problem Type 'kGpioNiceList' could not be resolved sonoff.ino /Test2 line 921 Semantic Error Type 'kGpioNiceList' could not be resolved sonoff.ino /Test2 line 910 Semantic Error Type 'kGpioNiceList' could not be resolved sonoff.ino /Test2 line 877 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 1026 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 903 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 690 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 639 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 632 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 619 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 1053 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 547 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 1059 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 1039 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 1004 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 996 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 990 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 984 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 958 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 946 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 836 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 830 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 824 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 818 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 812 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 806 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 800 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 794 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 788 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 679 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 672 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 658 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 580 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 557 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE_UNIT_NVALUE_UNIT' could not be resolved sonoff.ino /Test2 line 601 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE_SVALUE' could not be resolved sonoff.ino /Test2 line 1092 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE_SVALUE' could not be resolved sonoff.ino /Test2 line 851 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE_ACTIVE_NVALUE' could not be resolved sonoff.ino /Test2 line 1047 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE_ACTIVE_NVALUE' could not be resolved sonoff.ino /Test2 line 626 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 1120 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_SVALUE' could not be resolved sonoff.ino /Test2 line 1107 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_SVALUE' could not be resolved sonoff.ino /Test2 line 1100 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_SVALUE' could not be resolved sonoff.ino /Test2 line 1078 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_SVALUE' could not be resolved sonoff.ino /Test2 line 781 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_SVALUE_SVALUE' could not be resolved sonoff.ino /Test2 line 1067 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE_SVALUE' could not be resolved sonoff.ino /Test2 line 1134 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_NVALUE' could not be resolved sonoff.ino /Test2 line 978 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_SVALUE' could not be resolved sonoff.ino /Test2 line 1146 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_NVALUE_ACTIVE_NVALUE' could not be resolved sonoff.ino /Test2 line 665 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_NVALUE' could not be resolved sonoff.ino /Test2 line 1153 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_LVALUE' could not be resolved sonoff.ino /Test2 line 970 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE_UNIT' could not be resolved sonoff.ino /Test2 line 1161 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_ASTERIX' could not be resolved sonoff.ino /Test2 line 1109 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 1167 Semantic Error Symbol 'kWifiConfig' could not be resolved sonoff.ino /Test2 line 1133 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 1177 Semantic Error Symbol 'kWifiConfig' could not be resolved sonoff.ino /Test2 line 1126 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 1199 Semantic Error Symbol 'kSensorNames' could not be resolved sonoff.ino /Test2 line 920 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 1202 Semantic Error Symbol 'kSensorNames' could not be resolved sonoff.ino /Test2 line 897 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 1250 Semantic Error Symbol 'kPrefixes' could not be resolved sonoff.ino /Test2 line 269 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved sonoff.ino /Test2 line 1267 Semantic Error Symbol 'kPrefixes' could not be resolved sonoff.ino /Test2 line 259 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved sonoff.ino /Test2 line 1274 Semantic Error Symbol 'kModules' could not be resolved sonoff.ino /Test2 line 908 Semantic Error Symbol 'kModules' could not be resolved sonoff.ino /Test2 line 874 Semantic Error Symbol 'kModules' could not be resolved sonoff.ino /Test2 line 861 Semantic Error Symbol 'kModules' could not be resolved sonoff.ino /Test2 line 850 Semantic Error Symbol 'kGpioNiceList' could not be resolved sonoff.ino /Test2 line 911 Semantic Error Symbol 'kGpioNiceList' could not be resolved sonoff.ino /Test2 line 878 Semantic Error recipe for target 'sloeber.ino.cpp.o' failed subdir.mk /Test2/Release line 52 C/C++ Problem Method 'toString' could not be resolved sonoff.ino /Test2 line 1522 Semantic Error Method 'toString' could not be resolved sonoff.ino /Test2 line 1066 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1522 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1523 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1537 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1541 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1541 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1541 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1541 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1504 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1541 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1498 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1541 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1594 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1498 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1622 Semantic Error Method 'channel' could not be resolved sonoff.ino /Test2 line 1622 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1066 Semantic Error Method 'BSSIDstr' could not be resolved sonoff.ino /Test2 line 1622 Semantic Error Method 'c_str' could not be resolved sonoff.ino /Test2 line 1642 Semantic Error make: ** [sloeber.ino.cpp.o] Error 1 Test2 C/C++ Problem Method 'c_str' could not be resolved sonoff.ino /Test2 line 1722 Semantic Error Invalid arguments ' Candidates are: unsigned char pgm_read_byte_inlined(const void ) ' sonoff.ino /Test2 line 911 Semantic Error Symbol 'kCommands' could not be resolved sonoff.ino /Test2 line 1861 Semantic Error Invalid arguments ' Candidates are: unsigned char pgm_read_byte_inlined(const void ) ' sonoff.ino /Test2 line 878 Semantic Error Invalid arguments ' Candidates are: unsigned char macAddress(unsigned char ) ' sonoff.ino /Test2 line 1523 Semantic Error Symbol 'kModules' could not be resolved sonoff.ino /Test2 line 2426 Semantic Error Invalid arguments ' Candidates are: unsigned char macAddress(unsigned char ) ' sonoff.ino /Test2 line 275 Semantic Error Invalid arguments ' Candidates are: IPAddress localIP() ' sonoff.ino /Test2 line 1522 Semantic Error Symbol 'kCodeImage' could not be resolved sonoff.ino /Test2 line 2633 Semantic Error Invalid arguments ' Candidates are: IPAddress localIP() ' sonoff.ino /Test2 line 1066 Semantic Error Invalid arguments ' Candidates are: int WifiGetRssiAsQuality(int) ' sonoff.ino /Test2 line 1622 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1861 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1274 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1267 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1250 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1202 Semantic Error Symbol 'kModules' could not be resolved xdrv_01_webserver.ino /Test2 line 873 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1199 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 896 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 896 Semantic Error Symbol 'S_CONFIGURE_WIFI' could not be resolved xdrv_01_webserver.ino /Test2 line 896 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1177 Semantic Error Symbol 'S_CONFIGURE_WIFI' could not be resolved xdrv_01_webserver.ino /Test2 line 905 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1167 Semantic Error Invalid arguments ' Candidates are: signed char scanNetworks() ' xdrv_01_webserver.ino /Test2 line 913 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 917 Semantic Error Symbol 'S_LOG_WIFI' could not be resolved xdrv_01_webserver.ino /Test2 line 917 Semantic Error Symbol 'S_NO_NETWORKS_FOUND' could not be resolved xdrv_01_webserver.ino /Test2 line 917 Semantic Error Symbol 'S_NO_NETWORKS_FOUND' could not be resolved xdrv_01_webserver.ino /Test2 line 918 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1161 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1153 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1146 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1134 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1133 Semantic Error Method 'c_str' could not be resolved xdrv_01_webserver.ino /Test2 line 944 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1126 Semantic Error Method 'c_str' could not be resolved xdrv_01_webserver.ino /Test2 line 955 Semantic Error Method 'BSSIDstr' could not be resolved xdrv_01_webserver.ino /Test2 line 955 Semantic Error Method 'c_str' could not be resolved xdrv_01_webserver.ino /Test2 line 955 Semantic Error Method 'channel' could not be resolved xdrv_01_webserver.ino /Test2 line 955 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1120 Semantic Error Invalid arguments ' Candidates are: int WifiGetRssiAsQuality(int) ' xdrv_01_webserver.ino /Test2 line 957 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1109 Semantic Error Invalid arguments ' Candidates are: void replace(char, char) void replace(const String &, const String &) ' xdrv_01_webserver.ino /Test2 line 963 Semantic Error Invalid arguments ' Candidates are: String htmlEscape(String) ' xdrv_01_webserver.ino /Test2 line 963 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1107 Semantic Error Method 'channel' could not be resolved xdrv_01_webserver.ino /Test2 line 964 Semantic Error Invalid arguments ' Candidates are: unsigned char encryptionType() unsigned char encryptionType(unsigned char) ' xdrv_01_webserver.ino /Test2 line 966 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 1023 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 1023 Semantic Error Symbol 'S_CONFIGURE_LOGGING' could not be resolved xdrv_01_webserver.ino /Test2 line 1023 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1100 Semantic Error Symbol 'S_CONFIGURE_LOGGING' could not be resolved xdrv_01_webserver.ino /Test2 line 1032 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 1106 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 1106 Semantic Error Symbol 'S_CONFIGURE_OTHER' could not be resolved xdrv_01_webserver.ino /Test2 line 1106 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1092 Semantic Error Symbol 'S_CONFIGURE_OTHER' could not be resolved xdrv_01_webserver.ino /Test2 line 1117 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 1224 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 1224 Semantic Error Symbol 'S_RESET_CONFIGURATION' could not be resolved xdrv_01_webserver.ino /Test2 line 1224 Semantic Error Symbol 'S_RESET_CONFIGURATION' could not be resolved xdrv_01_webserver.ino /Test2 line 1227 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 1242 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 1242 Semantic Error Symbol 'S_RESTORE_CONFIGURATION' could not be resolved xdrv_01_webserver.ino /Test2 line 1242 Semantic Error Symbol 'S_RESTORE_CONFIGURATION' could not be resolved xdrv_01_webserver.ino /Test2 line 1245 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 1263 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 1263 Semantic Error Symbol 'S_INFORMATION' could not be resolved xdrv_01_webserver.ino /Test2 line 1263 Semantic Error Symbol 'S_INFORMATION' could not be resolved xdrv_01_webserver.ino /Test2 line 1270 Semantic Error Invalid arguments ' Candidates are: int WifiGetRssiAsQuality(int) ' xdrv_01_webserver.ino /Test2 line 1298 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1078 Semantic Error Invalid arguments ' Candidates are: IPAddress localIP() ' xdrv_01_webserver.ino /Test2 line 1301 Semantic Error Invalid arguments ' Candidates are: IPAddress localIP() ' xdrv_01_webserver.ino /Test2 line 1302 Semantic Error Method 'toString' could not be resolved xdrv_01_webserver.ino /Test2 line 1302 Semantic Error Invalid arguments ' Candidates are: unsigned char macAddress(unsigned char ) ' xdrv_01_webserver.ino /Test2 line 1306 Semantic Error Method 'softAPIP' could not be resolved xdrv_01_webserver.ino /Test2 line 1308 Semantic Error Method 'softAPIP' could not be resolved xdrv_01_webserver.ino /Test2 line 1309 Semantic Error Method 'toString' could not be resolved xdrv_01_webserver.ino /Test2 line 1309 Semantic Error Method 'softAPIP' could not be resolved xdrv_01_webserver.ino /Test2 line 1310 Semantic Error Method 'toString' could not be resolved xdrv_01_webserver.ino /Test2 line 1310 Semantic Error Method 'softAPmacAddress' could not be resolved xdrv_01_webserver.ino /Test2 line 1311 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 1384 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 1384 Semantic Error Symbol 'S_FIRMWARE_UPGRADE' could not be resolved xdrv_01_webserver.ino /Test2 line 1384 Semantic Error Symbol 'S_FIRMWARE_UPGRADE' could not be resolved xdrv_01_webserver.ino /Test2 line 1387 Semantic Error Symbol 'S_INFORMATION' could not be resolved xdrv_01_webserver.ino /Test2 line 1417 Semantic Error Symbol 'S_INFORMATION' could not be resolved xdrv_01_webserver.ino /Test2 line 1442 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1067 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1059 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1053 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1047 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1039 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1026 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 1751 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 1751 Semantic Error Symbol 'S_CONSOLE' could not be resolved xdrv_01_webserver.ino /Test2 line 1751 Semantic Error Symbol 'S_CONSOLE' could not be resolved xdrv_01_webserver.ino /Test2 line 1754 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 1004 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 996 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 990 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 984 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 978 Semantic Error Invalid arguments ' Candidates are: IPAddress localIP() ' xdrv_01_webserver.ino /Test2 line 2016 Semantic Error Method 'toString' could not be resolved xdrv_01_webserver.ino /Test2 line 2016 Semantic Error Method 'c_str' could not be resolved xdrv_01_webserver.ino /Test2 line 2016 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 2018 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved xdrv_01_webserver.ino /Test2 line 2018 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 2024 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved xdrv_01_webserver.ino /Test2 line 2024 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 2026 Semantic Error Symbol 'S_JSON_COMMAND_ASTERIX' could not be resolved xdrv_01_webserver.ino /Test2 line 2026 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 2031 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_01_webserver.ino /Test2 line 2031 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 2035 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_01_webserver.ino /Test2 line 2035 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 2041 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved xdrv_01_webserver.ino /Test2 line 2041 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 2050 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_01_webserver.ino /Test2 line 2050 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 970 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 958 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 946 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 903 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 861 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 851 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 850 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 836 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 830 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 824 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 818 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 812 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 806 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 800 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 794 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 788 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 781 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 690 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 679 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 672 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 665 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 658 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 639 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 632 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 626 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 619 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 601 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 580 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 557 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 547 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' sonoff.ino /Test2 line 269 Semantic Error Invalid arguments ' Candidates are: int RSSI() int RSSI(unsigned char) ' xdrv_01_webserver.ino /Test2 line 1298 Semantic Error Invalid arguments ' Candidates are: int RSSI() int RSSI(unsigned char) ' xdrv_01_webserver.ino /Test2 line 957 Semantic Error Invalid arguments ' Candidates are: int RSSI() int RSSI(unsigned char) ' xdrv_01_webserver.ino /Test2 line 955 Semantic Error Invalid arguments ' Candidates are: int RSSI() int RSSI(unsigned char) ' xdrv_01_webserver.ino /Test2 line 930 Semantic Error Invalid arguments ' Candidates are: int RSSI() int RSSI(unsigned char) ' xdrv_01_webserver.ino /Test2 line 930 Semantic Error Invalid arguments ' Candidates are: int RSSI() int RSSI(unsigned char) ' sonoff.ino /Test2 line 1622 Semantic Error Invalid arguments ' Candidates are: int hostByName(const char , IPAddress &) ' xdrv_01_webserver.ino /Test2 line 1957 Semantic Error Invalid arguments ' Candidates are: char SSID() char SSID(unsigned char) ' xdrv_01_webserver.ino /Test2 line 963 Semantic Error Symbol 'kCommandSource' could not be resolved xdrv_01_webserver.ino /Test2 line 366 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 383 Semantic Error Symbol 'HandleRoot' could not be resolved xdrv_01_webserver.ino /Test2 line 383 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 384 Semantic Error Symbol 'HandleUpgradeFirmware' could not be resolved xdrv_01_webserver.ino /Test2 line 384 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 385 Semantic Error Symbol 'HandleUpgradeFirmwareStart' could not be resolved xdrv_01_webserver.ino /Test2 line 385 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 386 Semantic Error Symbol 'HandleUploadDone' could not be resolved xdrv_01_webserver.ino /Test2 line 386 Semantic Error Symbol 'HandleUploadLoop' could not be resolved xdrv_01_webserver.ino /Test2 line 386 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 387 Semantic Error Symbol 'HandlePreflightRequest' could not be resolved xdrv_01_webserver.ino /Test2 line 387 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 388 Semantic Error Symbol 'HandleConsole' could not be resolved xdrv_01_webserver.ino /Test2 line 388 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 389 Semantic Error Symbol 'HandleAjaxConsoleRefresh' could not be resolved xdrv_01_webserver.ino /Test2 line 389 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 390 Semantic Error Symbol 'HandleAjaxStatusRefresh' could not be resolved xdrv_01_webserver.ino /Test2 line 390 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 391 Semantic Error Symbol 'HandleHttpCommand' could not be resolved xdrv_01_webserver.ino /Test2 line 391 Semantic Error Invalid arguments ' Candidates are: void onNotFound(std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 392 Semantic Error Symbol 'HandleNotFound' could not be resolved xdrv_01_webserver.ino /Test2 line 392 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 394 Semantic Error Symbol 'HandleConfiguration' could not be resolved xdrv_01_webserver.ino /Test2 line 394 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 395 Semantic Error Symbol 'HandleModuleConfiguration' could not be resolved xdrv_01_webserver.ino /Test2 line 395 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 396 Semantic Error Symbol 'HandleWifiConfiguration' could not be resolved xdrv_01_webserver.ino /Test2 line 396 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 397 Semantic Error Symbol 'HandleLoggingConfiguration' could not be resolved xdrv_01_webserver.ino /Test2 line 397 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 398 Semantic Error Symbol 'HandleOtherConfiguration' could not be resolved xdrv_01_webserver.ino /Test2 line 398 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 399 Semantic Error Symbol 'HandleBackupConfiguration' could not be resolved xdrv_01_webserver.ino /Test2 line 399 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 400 Semantic Error Symbol 'HandleRestoreConfiguration' could not be resolved xdrv_01_webserver.ino /Test2 line 400 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 401 Semantic Error Symbol 'HandleResetConfiguration' could not be resolved xdrv_01_webserver.ino /Test2 line 401 Semantic Error Invalid arguments ' Candidates are: void on(const String &, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>) void on(const String &, enum HTTPMethod, std::function<void ()>, std::function<void ()>) ' xdrv_01_webserver.ino /Test2 line 402 Semantic Error Symbol 'HandleInformation' could not be resolved xdrv_01_webserver.ino /Test2 line 402 Semantic Error Invalid arguments ' Candidates are: char SSID() char SSID(unsigned char) ' xdrv_01_webserver.ino /Test2 line 955 Semantic Error Method 'mode' could not be resolved xdrv_01_webserver.ino /Test2 line 434 Semantic Error Method 'mode' could not be resolved xdrv_01_webserver.ino /Test2 line 437 Semantic Error Method 'softAP' could not be resolved xdrv_01_webserver.ino /Test2 line 444 Semantic Error Invalid arguments ' Candidates are: char SSID() char SSID(unsigned char) ' xdrv_01_webserver.ino /Test2 line 944 Semantic Error Method 'softAPIP' could not be resolved xdrv_01_webserver.ino /Test2 line 448 Semantic Error Invalid arguments ' Candidates are: void StartWebserver(int, IPAddress) ' xdrv_01_webserver.ino /Test2 line 450 Semantic Error Method 'softAPIP' could not be resolved xdrv_01_webserver.ino /Test2 line 450 Semantic Error Invalid arguments ' Candidates are: IPAddress localIP() ' xdrv_01_webserver.ino /Test2 line 496 Semantic Error Invalid arguments ' Candidates are: IPAddress localIP() ' xdrv_01_webserver.ino /Test2 line 497 Semantic Error Method 'toString' could not be resolved xdrv_01_webserver.ino /Test2 line 497 Semantic Error Method 'softAPIP' could not be resolved xdrv_01_webserver.ino /Test2 line 500 Semantic Error Method 'softAPIP' could not be resolved xdrv_01_webserver.ino /Test2 line 502 Semantic Error Method 'toString' could not be resolved xdrv_01_webserver.ino /Test2 line 502 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 536 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 536 Semantic Error Symbol 'S_RESTART' could not be resolved xdrv_01_webserver.ino /Test2 line 536 Semantic Error Symbol 'S_SAVE_CONFIGURATION' could not be resolved xdrv_01_webserver.ino /Test2 line 542 Semantic Error Symbol 'S_RESTART' could not be resolved xdrv_01_webserver.ino /Test2 line 550 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 579 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 579 Semantic Error Symbol 'S_MAIN_MENU' could not be resolved xdrv_01_webserver.ino /Test2 line 579 Semantic Error Invalid arguments ' Candidates are: char SSID() char SSID(unsigned char) ' xdrv_01_webserver.ino /Test2 line 943 Semantic Error Invalid arguments ' Candidates are: char SSID() char SSID(unsigned char) ' xdrv_01_webserver.ino /Test2 line 941 Semantic Error Symbol 'S_MAIN_MENU' could not be resolved xdrv_01_webserver.ino /Test2 line 611 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 761 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 761 Semantic Error Symbol 'S_CONFIGURATION' could not be resolved xdrv_01_webserver.ino /Test2 line 761 Semantic Error Symbol 'S_CONFIGURATION' could not be resolved xdrv_01_webserver.ino /Test2 line 764 Semantic Error Invalid arguments ' Candidates are: char GetTextIndexed(char , unsigned int, unsigned short int, const char ) char GetTextIndexed(char , ?, ?, const char ) ' xdrv_01_webserver.ino /Test2 line 366 Semantic Error Symbol 'kModules' could not be resolved xdrv_01_webserver.ino /Test2 line 794 Semantic Error Invalid arguments ' Candidates are: unsigned char pgm_read_byte_inlined(const void ) ' xdrv_01_webserver.ino /Test2 line 799 Semantic Error Symbol 'kModuleNiceList' could not be resolved xdrv_01_webserver.ino /Test2 line 799 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 800 Semantic Error Symbol 'kModules' could not be resolved xdrv_01_webserver.ino /Test2 line 800 Semantic Error Invalid arguments ' Candidates are: char GetTextIndexed(char , unsigned int, unsigned short int, const char ) char GetTextIndexed(char , ?, ?, const char ) ' sonoff.ino /Test2 line 2633 Semantic Error Type 'kGpioNiceList' could not be resolved xdrv_01_webserver.ino /Test2 line 805 Semantic Error Invalid arguments ' Candidates are: unsigned char pgm_read_byte_inlined(const void ) ' xdrv_01_webserver.ino /Test2 line 806 Semantic Error Symbol 'kGpioNiceList' could not be resolved xdrv_01_webserver.ino /Test2 line 806 Semantic Error Invalid arguments ' Candidates are: char GetTextIndexed(char , unsigned int, unsigned short int, const char ) char GetTextIndexed(char , ?, ?, const char ) ' xdrv_01_webserver.ino /Test2 line 808 Semantic Error Symbol 'kSensorNames' could not be resolved xdrv_01_webserver.ino /Test2 line 808 Semantic Error Invalid arguments ' Candidates are: void AddLog_P(?, const char , const char ) void AddLog_P(?, const char ) void AddLog_P(unsigned char, const char ) void AddLog_P(unsigned char, const char , const char ) ' xdrv_01_webserver.ino /Test2 line 816 Semantic Error Symbol 'S_LOG_HTTP' could not be resolved xdrv_01_webserver.ino /Test2 line 816 Semantic Error Symbol 'S_CONFIGURE_MODULE' could not be resolved xdrv_01_webserver.ino /Test2 line 816 Semantic Error Symbol 'S_CONFIGURE_MODULE' could not be resolved xdrv_01_webserver.ino /Test2 line 819 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 832 Semantic Error Symbol 'kModules' could not be resolved xdrv_01_webserver.ino /Test2 line 832 Semantic Error Invalid arguments ' Candidates are: char GetTextIndexed(char , unsigned int, unsigned short int, const char ) char GetTextIndexed(char , ?, ?, const char ) ' sonoff.ino /Test2 line 920 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 837 Semantic Error Symbol 'PINS_WEMOS' could not be resolved xdrv_01_webserver.ino /Test2 line 837 Semantic Error Symbol 'kModules' could not be resolved xdrv_01_webserver.ino /Test2 line 859 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_01_webserver.ino /Test2 line 873 Semantic Error Invalid arguments ' Candidates are: char GetTextIndexed(char , unsigned int, unsigned short int, const char ) char GetTextIndexed(char , ?, ?, const char ) ' sonoff.ino /Test2 line 897 Semantic Error Invalid arguments ' Candidates are: bool start(const unsigned short int &, const String &, const IPAddress &) ' xdrv_01_webserver.ino /Test2 line 448 Semantic Error Function 'WifiSaveSettings' could not be resolved xdrv_01_webserver.ino /Test2 line 899 Semantic Error Function 'ValidIpAddress' could not be resolved xdrv_01_webserver.ino /Test2 line 1849 Semantic Error Function 'UdpDisconnect' could not be resolved xdrv_01_webserver.ino /Test2 line 1513 Semantic Error Function 'UdpDisconnect' could not be resolved xdrv_01_webserver.ino /Test2 line 911 Semantic Error Function 'StopWebserver' could not be resolved sonoff.ino /Test2 line 2083 Semantic Error Function 'SnfBrUpdateInit' could not be resolved xdrv_01_webserver.ino /Test2 line 1543 Semantic Error Function 'RulesTeleperiod' could not be resolved sonoff.ino /Test2 line 1711 Semantic Error no matching function for call to 'PubSubClient::publish(const char&, char [893], size_t, boolean&, int)' xdrv_02_mqtt.ino /Test2 line 195 C/C++ Problem Function 'rf_search_and_write' could not be resolved xdrv_01_webserver.ino /Test2 line 1582 Semantic Error Function 'rf_glue_remnant_with_new_data_and_write' could not be resolved xdrv_01_webserver.ino /Test2 line 1574 Semantic Error Function 'PollUdp' could not be resolved xdrv_01_webserver.ino /Test2 line 2070 Semantic Error Function 'OtherSaveSettings' could not be resolved xdrv_01_webserver.ino /Test2 line 1109 Semantic Error Function 'ModuleSaveSettings' could not be resolved xdrv_01_webserver.ino /Test2 line 786 Semantic Error Function 'LoggingSaveSettings' could not be resolved xdrv_01_webserver.ino /Test2 line 1026 Semantic Error Function 'I2cScan' could not be resolved sonoff.ino /Test2 line 1278 Semantic Error Function 'HueWemoAddHandlers' could not be resolved xdrv_01_webserver.ino /Test2 line 404 Semantic Error Function 'LightSerialDuty' could not be resolved xdrv_04_light.ino /Test2 line 841 Semantic Error Function 'LightSerial2Duty' could not be resolved xdrv_04_light.ino /Test2 line 846 Semantic Error Function 'PS16DZSerialDuty' could not be resolved xdrv_04_light.ino /Test2 line 851 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1131 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1131 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1142 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_SVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1142 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1152 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1152 Semantic Error Function 'Ws2812ForceSuspend' could not be resolved xdrv_04_light.ino /Test2 line 1204 Semantic Error Function 'Ws2812SetColor' could not be resolved xdrv_04_light.ino /Test2 line 1207 Semantic Error Function 'Ws2812ForceUpdate' could not be resolved xdrv_04_light.ino /Test2 line 1215 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1217 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_SVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1217 Semantic Error Function 'Ws2812GetColor' could not be resolved xdrv_04_light.ino /Test2 line 1217 Semantic Error Function 'Ws2812Clear' could not be resolved xdrv_04_light.ino /Test2 line 1223 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1226 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1226 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1232 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1232 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1239 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1239 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1244 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1244 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1270 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1270 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1279 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1279 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1295 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1295 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1310 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1310 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1326 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1326 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1353 Semantic Error Symbol 'S_JSON_COMMAND_INDEX_SVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1353 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1365 Semantic Error Symbol 'S_JSON_COMMAND_SVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1365 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char , ...) ' xdrv_04_light.ino /Test2 line 1377 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1377 Semantic Error Invalid arguments ' Candidates are: int snprintf_P(char , unsigned int, const char *, ...) ' xdrv_04_light.ino /Test2 line 1384 Semantic Error Symbol 'S_JSON_COMMAND_NVALUE' could not be resolved xdrv_04_light.ino /Test2 line 1384 Semantic Error Function 'HAssDiscovery' could not be resolved sonoff.ino /Test2 line 747 Semantic Error Function 'HandleWifiConfiguration' could not be resolved xdrv_01_webserver.ino /Test2 line 601 Semantic Error Function 'HandleHueApi' could not be resolved xdrv_01_webserver.ino /Test2 line 1832 Semantic Error Function 'GetSun' could not be resolved sonoff.ino /Test2 line 1541 Semantic Error Function 'GetSun' could not be resolved sonoff.ino /Test2 line 1541 Semantic Error Function 'GetLog' could not be resolved xdrv_01_webserver.ino /Test2 line 1795 Semantic Error Function 'GetLog' could not be resolved xdrv_01_webserver.ino /Test2 line 1717 Semantic Error Function 'DomoticzUpdatePowerState' could not be resolved sonoff.ino /Test2 line 1397 Semantic Error Function 'DomoticzUpdateFanState' could not be resolved sonoff.ino /Test2 line 397 Semantic Error Function 'DomoticzSendKey' could not be resolved sonoff.ino /Test2 line 1325 Semantic Error Function 'DhtSetup' could not be resolved sonoff.ino /Test2 line 2473 Semantic Error Function 'CaptivePortal' could not be resolved xdrv_01_webserver.ino /Test2 line 1827 Semantic Error Function 'Ws2812Init' could not be resolved xdrv_04_light.ino /Test2 line 400 Semantic Error Function 'DomoticzUpdatePowerState' could not be resolved xdrv_04_light.ino /Test2 line 625 Semantic Error Function 'Ws2812ShowScheme' could not be resolved xdrv_04_light.ino /Test2 line 801 Semantic Error Function 'Ws2812SetColor' could not be resolved xdrv_04_light.ino /Test2 line 833 Semantic Error Function 'CaptivePortal' could not be resolved xdrv_01_webserver.ino /Test2 line 581 Semantic Error Function 'AriluxRfDisable' could not be resolved xdrv_01_webserver.ino /Test2 line 1516 Semantic Error Function 'AriluxRfDisable' could not be resolved sonoff.ino /Test2 line 2086 Semantic Error Field 'name' could not be resolved xdrv_01_webserver.ino /Test2 line 873 Semantic Error Field 'name' could not be resolved xdrv_01_webserver.ino /Test2 line 832 Semantic Error Field 'name' could not be resolved xdrv_01_webserver.ino /Test2 line 800 Semantic Error Field 'name' could not be resolved sonoff.ino /Test2 line 861 Semantic Error Field 'name' could not be resolved sonoff.ino /Test2 line 850 Semantic Error conflicting declaration 'MQTTClient MqttClient' xdrv_02_mqtt.ino /Test2 line 163 C/C++ Problem 'Ws2812ShowScheme' was not declared in this scope xdrv_04_light.ino /Test2 line 801 C/C++ Problem 'Ws2812SetColor' was not declared in this scope xdrv_04_light.ino /Test2 line 1207 C/C++ Problem 'Ws2812SetColor' was not declared in this scope xdrv_04_light.ino /Test2 line 833 C/C++ Problem 'Ws2812Init' was not declared in this scope xdrv_04_light.ino /Test2 line 400 C/C++ Problem 'Ws2812GetColor' was not declared in this scope xdrv_04_light.ino /Test2 line 1217 C/C++ Problem "MQTT_LIBRARY_TYPE" redefined [enabled by default] sloeber.ino.cpp /Test2 line 73 C/C++ Problem "MTX_ADDRESS1" redefined [enabled by default] my_user_config.h /Test2 line 327 C/C++ Problem "MTX_ADDRESS2" redefined [enabled by default] my_user_config.h /Test2 line 328 C/C++ Problem "MTX_ADDRESS3" redefined [enabled by default] my_user_config.h /Test2 line 329 C/C++ Problem "MTX_ADDRESS4" redefined [enabled by default] my_user_config.h /Test2 line 330 C/C++ Problem "MTX_ADDRESS5" redefined [enabled by default] my_user_config.h /Test2 line 331 C/C++ Problem "MTX_ADDRESS6" redefined [enabled by default] my_user_config.h /Test2 line 332 C/C++ Problem "MTX_ADDRESS7" redefined [enabled by default] my_user_config.h /Test2 line 333 C/C++ Problem "MTX_ADDRESS8" redefined [enabled by default] my_user_config.h /Test2 line 334 C/C++ Problem comparison between signed and unsigned integer expressions [-Wsign-compare] sonoff.ino /Test2 line 1015 C/C++ Problem comparison between signed and unsigned integer expressions [-Wsign-compare] xdrv_01_webserver.ino /Test2 line 1587 C/C++ Problem comparison between signed and unsigned integer expressions [-Wsign-compare] xdrv_06_snfbridge.ino /Test2 line 59 C/C++ Problem comparison between signed and unsigned integer expressions [-Wsign-compare] xdrv_06_snfbridge.ino /Test2 line 69 C/C++ Problem comparison between signed and unsigned integer expressions [-Wsign-compare] xnrg_02_cse7766.ino /Test2 line 101 C/C++ Problem comparison between signed and unsigned integer expressions [-Wsign-compare] xsns_34_hx711.ino /Test2 line 273 C/C++ Problem comparison between signed and unsigned integer expressions [-Wsign-compare] xsns_34_hx711.ino /Test2 line 284 C/C++ Problem comparison between signed and unsigned integer expressions [-Wsign-compare] xsns_34_hx711.ino /Test2 line 292 C/C++ Problem comparison is always false due to limited range of data type [-Wtype-limits] xdrv_09_timers.ino /Test2 line 284 C/C++ Problem comparison is always false due to limited range of data type [-Wtype-limits] xdsp_interface.ino /Test2 line 124 C/C++ Problem control reaches end of non-void function [-Wreturn-type] xdrv_02_mqtt.ino /Test2 line 196 C/C++ Problem for increment expression has no effect [-Wunused-value] xsns_05_ds18x20.ino /Test2 line 264 C/C++ Problem format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] xdrv_07_domoticz.ino /Test2 line 83 C/C++ Problem format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] xdrv_07_domoticz.ino /Test2 line 110 C/C++ Problem format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] xdrv_08_serial_bridge.ino /Test2 line 125 C/C++ Problem missing initializer for member 'lwmqtt_client_t::callback_ref' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::callback' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::command_timer' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::keep_alive_interval' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::keep_alive_timer' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::network_read' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::network_write' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::network' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::pong_pending' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::read_buf_size' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::read_buf' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::timer_get' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::timer_set' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::write_buf_size' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem missing initializer for member 'lwmqtt_client_t::write_buf' [-Wmissing-field-initializers] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 138 C/C++ Problem No break at the end of case sonoff.ino /Test2 line 737 Code Analysis Problem No break at the end of case xdrv_04_light.ino /Test2 line 220 Code Analysis Problem No break at the end of case xdrv_04_light.ino /Test2 line 225 Code Analysis Problem No break at the end of case xdrv_04_light.ino /Test2 line 230 Code Analysis Problem statement has no effect [-Wunused-value] support_wifi.ino /Test2 line 252 C/C++ Problem suggest braces around empty body in an 'if' statement [-Wempty-body] xdrv_19_ps16dz_dimmer.ino /Test2 line 156 C/C++ Problem suggest parentheses around comparison in operand of '&' [-Wparentheses] xdrv_18_armtronix_dimmers.ino /Test2 line 152 C/C++ Problem suggest parentheses around comparison in operand of '&' [-Wparentheses] xdrv_18_armtronix_dimmers.ino /Test2 line 156 C/C++ Problem type qualifiers ignored on function return type [-Wignored-qualifiers] NeoEsp8266DmaMethod.h /Test2/libraries/NeoPixelBus-2.2.9/src/internal line 293 C/C++ Problem Unused declaration of function 'AdcRead' sloeber.ino.cpp /Test2 line 316 Code Analysis Problem Unused declaration of function 'AdcShow' sloeber.ino.cpp /Test2 line 317 Code Analysis Problem Unused declaration of function 'AddLog_P' sloeber.ino.cpp /Test2 line 199 Code Analysis Problem Unused declaration of function 'AddLog_P' sloeber.ino.cpp /Test2 line 200 Code Analysis Problem Unused declaration of function 'AddLog' sloeber.ino.cpp /Test2 line 198 Code Analysis Problem Unused declaration of function 'AddLogMissed' sloeber.ino.cpp /Test2 line 203 Code Analysis Problem Unused declaration of function 'AddLogSerial' sloeber.ino.cpp /Test2 line 201 Code Analysis Problem Unused declaration of function 'AddLogSerial' sloeber.ino.cpp /Test2 line 202 Code Analysis Problem Unused declaration of function 'BreakTime' sloeber.ino.cpp /Test2 line 213 Code Analysis Problem Unused declaration of function 'ButtonHandler' sloeber.ino.cpp /Test2 line 141 Code Analysis Problem Unused declaration of function 'CharToDouble' sloeber.ino.cpp /Test2 line 157 Code Analysis Problem Unused declaration of function 'ClaimSerial' sloeber.ino.cpp /Test2 line 187 Code Analysis Problem Unused declaration of function 'ConvertPressure' sloeber.ino.cpp /Test2 line 175 Code Analysis Problem Unused declaration of function 'ConvertTemp' sloeber.ino.cpp /Test2 line 173 Code Analysis Problem Unused declaration of function 'CounterInit' sloeber.ino.cpp /Test2 line 313 Code Analysis Problem Unused declaration of function 'CounterSaveState' sloeber.ino.cpp /Test2 line 312 Code Analysis Problem Unused declaration of function 'CounterShow' sloeber.ino.cpp /Test2 line 314 Code Analysis Problem Unused declaration of function 'CounterUpdate' sloeber.ino.cpp /Test2 line 307 Code Analysis Problem Unused declaration of function 'CounterUpdate1' sloeber.ino.cpp /Test2 line 308 Code Analysis Problem Unused declaration of function 'CounterUpdate2' sloeber.ino.cpp /Test2 line 309 Code Analysis Problem Unused declaration of function 'CounterUpdate3' sloeber.ino.cpp /Test2 line 310 Code Analysis Problem Unused declaration of function 'CounterUpdate4' sloeber.ino.cpp /Test2 line 311 Code Analysis Problem Unused declaration of function 'dtostrfd' sloeber.ino.cpp /Test2 line 159 Code Analysis Problem Unused declaration of function 'EspRestart' sloeber.ino.cpp /Test2 line 236 Code Analysis Problem Unused declaration of function 'Every100mSeconds' sloeber.ino.cpp /Test2 line 143 Code Analysis Problem Unused declaration of function 'Every250mSeconds' sloeber.ino.cpp /Test2 line 144 Code Analysis Problem Unused declaration of function 'ExecuteCommand' sloeber.ino.cpp /Test2 line 135 Code Analysis Problem Unused declaration of function 'ExecuteCommandPower' sloeber.ino.cpp /Test2 line 133 Code Analysis Problem Unused declaration of function 'FastPrecisePow' sloeber.ino.cpp /Test2 line 179 Code Analysis Problem Unused declaration of function 'Format' sloeber.ino.cpp /Test2 line 120 Code Analysis Problem Unused declaration of function 'GetBuildDateAndTime' sloeber.ino.cpp /Test2 line 205 Code Analysis Problem Unused declaration of function 'GetCommandCode' sloeber.ino.cpp /Test2 line 183 Code Analysis Problem Unused declaration of function 'GetDateAndTime' sloeber.ino.cpp /Test2 line 208 Code Analysis Problem Unused declaration of function 'GetDT' sloeber.ino.cpp /Test2 line 207 Code Analysis Problem Unused declaration of function 'GetFanspeed' sloeber.ino.cpp /Test2 line 127 Code Analysis Problem Unused declaration of function 'GetFeatures' sloeber.ino.cpp /Test2 line 204 Code Analysis Problem Unused declaration of function 'GetHash' sloeber.ino.cpp /Test2 line 189 Code Analysis Problem Unused declaration of function 'GetMinutesPastMidnight' sloeber.ino.cpp /Test2 line 212 Code Analysis Problem Unused declaration of function 'GetMinutesUptime' sloeber.ino.cpp /Test2 line 211 Code Analysis Problem Unused declaration of function 'GetOtaUrl' sloeber.ino.cpp /Test2 line 121 Code Analysis Problem Unused declaration of function 'GetPowerDevice' sloeber.ino.cpp /Test2 line 171 Code Analysis Problem Unused declaration of function 'GetPowerDevice' sloeber.ino.cpp /Test2 line 172 Code Analysis Problem Unused declaration of function 'GetPulseTimer' sloeber.ino.cpp /Test2 line 130 Code Analysis Problem Unused declaration of function 'GetResetReason' sloeber.ino.cpp /Test2 line 153 Code Analysis Problem Unused declaration of function 'GetRtcRebootCrc' sloeber.ino.cpp /Test2 line 96 Code Analysis Problem Unused declaration of function 'GetRtcSettingsCrc' sloeber.ino.cpp /Test2 line 92 Code Analysis Problem Unused declaration of function 'GetSettingsAddress' sloeber.ino.cpp /Test2 line 105 Code Analysis Problem Unused declaration of function 'GetSettingsCrc' sloeber.ino.cpp /Test2 line 103 Code Analysis Problem Unused declaration of function 'GetStateNumber' sloeber.ino.cpp /Test2 line 184 Code Analysis Problem Unused declaration of function 'GetStateText' sloeber.ino.cpp /Test2 line 123 Code Analysis Problem Unused declaration of function 'GetTextIndexed' sloeber.ino.cpp /Test2 line 182 Code Analysis Problem Unused declaration of function 'GetTime' sloeber.ino.cpp /Test2 line 209 Code Analysis Problem unused parameter 'width' [-Wunused-parameter] Layouts.h /Test2/libraries/NeoPixelBus-2.2.9/src/internal line 335 C/C++ Problem unused parameter 'width' [-Wunused-parameter] Layouts.h /Test2/libraries/NeoPixelBus-2.2.9/src/internal line 293 C/C++ Problem unused parameter 'width' [-Wunused-parameter] Layouts.h /Test2/libraries/NeoPixelBus-2.2.9/src/internal line 139 C/C++ Problem unused parameter 'width' [-Wunused-parameter] Layouts.h /Test2/libraries/NeoPixelBus-2.2.9/src/internal line 105 C/C++ Problem unused parameter 'skip' [-Wunused-parameter] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 278 C/C++ Problem unused parameter 'skip' [-Wunused-parameter] MQTTClient.h /Test2/libraries/arduino-mqtt-2.4.0/src line 276 C/C++ Problem unused parameter 'height' [-Wunused-parameter] Layouts.h /Test2/libraries/NeoPixelBus-2.2.9/src/internal line 360 C/C++ Problem unused parameter 'height' [-Wunused-parameter] Layouts.h /Test2/libraries/NeoPixelBus-2.2.9/src/internal line 216 C/C++ Problem unused parameter 'height' [-Wunused-parameter] Layouts.h /Test2/libraries/NeoPixelBus-2.2.9/src/internal line 154 C/C++ Problem unused parameter 'height' [-Wunused-parameter] Layouts.h /Test2/libraries/NeoPixelBus-2.2.9/src/internal line 60 C/C++ Problem unused parameter 'bytes' [-Wunused-parameter] c2.h /Test2/libraries/C2Programmer-1.0.0/src line 119 C/C++ Problem unused parameter 'bytes' [-Wunused-parameter] c2.h /Test2/libraries/C2Programmer-1.0.0/src line 113 C/C++ Problem Unused declaration of function 'XsnsCall' sloeber.ino.cpp /Test2 line 325 Code Analysis Problem Unused declaration of function 'Xsns01' sloeber.ino.cpp /Test2 line 315 Code Analysis Problem Unused declaration of function 'Xsns02' sloeber.ino.cpp /Test2 line 318 Code Analysis Problem Unused declaration of function 'XdrvMqttData' sloeber.ino.cpp /Test2 line 300 Code Analysis Problem Unused declaration of function 'Xdrv06' sloeber.ino.cpp /Test2 line 298 Code Analysis Problem Unused declaration of function 'Xdrv04' sloeber.ino.cpp /Test2 line 286 Code Analysis Problem Unused declaration of function 'WifiWpsStatusCallback' sloeber.ino.cpp /Test2 line 223 Code Analysis Problem Unused declaration of function 'WifiWpsConfigBegin' sloeber.ino.cpp /Test2 line 225 Code Analysis Problem Unused declaration of function 'WifiGetRssiAsQuality' sloeber.ino.cpp /Test2 line 221 Code Analysis Problem Unused declaration of function 'WifiDisconnect' sloeber.ino.cpp /Test2 line 235 Code Analysis Problem Unused declaration of function 'WifiConfigCounter' sloeber.ino.cpp /Test2 line 222 Code Analysis Problem Unused declaration of function 'Xsns04' sloeber.ino.cpp /Test2 line 323 Code Analysis Problem Unused declaration of function 'WifiCheck' sloeber.ino.cpp /Test2 line 232 Code Analysis Problem Unused declaration of function 'WifiBeginAfterScan' sloeber.ino.cpp /Test2 line 229 Code Analysis Problem Unused declaration of function 'WifiBegin' sloeber.ino.cpp /Test2 line 228 Code Analysis Problem Unused declaration of function 'Unescape' sloeber.ino.cpp /Test2 line 160 Code Analysis Problem Unused declaration of function 'Trim' sloeber.ino.cpp /Test2 line 164 Code Analysis Problem Unused declaration of function 'Xdrv02' sloeber.ino.cpp /Test2 line 258 Code Analysis Problem Unused declaration of function 'TimeDifference' sloeber.ino.cpp /Test2 line 192 Code Analysis Problem Unused declaration of function 'TextToInt' sloeber.ino.cpp /Test2 line 158 Code Analysis Problem Unused declaration of function 'TempUnit' sloeber.ino.cpp /Test2 line 174 Code Analysis Problem Unused declaration of function 'SwitchHandler' sloeber.ino.cpp /Test2 line 142 Code Analysis Problem Unused declaration of function 'TimeReached' sloeber.ino.cpp /Test2 line 194 Code Analysis Problem Unused declaration of function 'strchrspn' sloeber.ino.cpp /Test2 line 155 Code Analysis Problem Unused declaration of function 'StopAllPowerBlink' sloeber.ino.cpp /Test2 line 134 Code Analysis Problem Unused declaration of function 'SonoffScSerialInput' sloeber.ino.cpp /Test2 line 321 Code Analysis Problem Unused declaration of function 'SonoffScSend' sloeber.ino.cpp /Test2 line 319 Code Analysis Problem Unused declaration of function 'SonoffScInit' sloeber.ino.cpp /Test2 line 320 Code Analysis Problem Unused declaration of function 'SonoffBridgeSendCode' sloeber.ino.cpp /Test2 line 293 Code Analysis Problem Unused declaration of function 'SonoffBridgeSendAck' sloeber.ino.cpp /Test2 line 292 Code Analysis Problem Unused declaration of function 'SonoffBridgeSend' sloeber.ino.cpp /Test2 line 294 Code Analysis Problem Unused declaration of function 'SonoffBridgeLearnFailed' sloeber.ino.cpp /Test2 line 288 Code Analysis Problem Unused declaration of function 'SonoffBridgeInit' sloeber.ino.cpp /Test2 line 297 Code Analysis Problem Unused declaration of function 'Shortcut' sloeber.ino.cpp /Test2 line 167 Code Analysis Problem Unused declaration of function 'WiFiSetSleepMode' sloeber.ino.cpp /Test2 line 227 Code Analysis Problem Unused declaration of function 'SettingsSdkErase' sloeber.ino.cpp /Test2 line 110 Code Analysis Problem Unused declaration of function 'SettingsSave' sloeber.ino.cpp /Test2 line 106 Code Analysis Problem Unused declaration of function 'XdspPresent' sloeber.ino.cpp /Test2 line 304 Code Analysis Problem Unused declaration of function 'SettingsResetDst' sloeber.ino.cpp /Test2 line 117 Code Analysis Problem Unused declaration of function 'SettingsLoad' sloeber.ino.cpp /Test2 line 107 Code Analysis Problem Unused declaration of function 'SettingsErase' sloeber.ino.cpp /Test2 line 108 Code Analysis Problem Unused declaration of function 'SonoffBridgeSerialInput' sloeber.ino.cpp /Test2 line 290 Code Analysis Problem Unused declaration of function 'SettingsDelta' sloeber.ino.cpp /Test2 line 119 Code Analysis Problem Unused declaration of function 'SettingsDefaultSet1' sloeber.ino.cpp /Test2 line 112 Code Analysis Problem Unused declaration of function 'SettingsDefaultSet_5_8_1' sloeber.ino.cpp /Test2 line 114 Code Analysis Problem Unused declaration of function 'SettingsDefaultSet_5_13_1c' sloeber.ino.cpp /Test2 line 118 Code Analysis Problem Unused declaration of function 'SettingsDefaultSet_5_10_1' sloeber.ino.cpp /Test2 line 115 Code Analysis Problem Unused declaration of function 'SettingsResetStd' sloeber.ino.cpp /Test2 line 116 Code Analysis Problem Unused declaration of function 'WifiConnect' sloeber.ino.cpp /Test2 line 234 Code Analysis Problem Unused declaration of function 'SettingsDefault' sloeber.ino.cpp /Test2 line 111 Code Analysis Problem Unused declaration of function 'SettingsBufferFree' sloeber.ino.cpp /Test2 line 101 Code Analysis Problem Unused declaration of function 'SetSeriallog' sloeber.ino.cpp /Test2 line 196 Code Analysis Problem Unused declaration of function 'SetPulseTimer' sloeber.ino.cpp /Test2 line 129 Code Analysis Problem Unused declaration of function 'SonoffBridgeLearn' sloeber.ino.cpp /Test2 line 295 Code Analysis Problem Unused declaration of function 'SetShortcut' sloeber.ino.cpp /Test2 line 166 Code Analysis Problem Unused declaration of function 'SqrtInt' sloeber.ino.cpp /Test2 line 180 Code Analysis Problem Unused declaration of function 'SettingsDefaultSet2' sloeber.ino.cpp /Test2 line 113 Code Analysis Problem Unused declaration of function 'SetLedPower' sloeber.ino.cpp /Test2 line 126 Code Analysis Problem Unused declaration of function 'SetLatchingRelay' sloeber.ino.cpp /Test2 line 124 Code Analysis Problem Unused declaration of function 'SetFanspeed' sloeber.ino.cpp /Test2 line 128 Code Analysis Problem Unused declaration of function 'SendKey' sloeber.ino.cpp /Test2 line 132 Code Analysis Problem Unused declaration of function 'RtcSettingsValid' sloeber.ino.cpp /Test2 line 95 Code Analysis Problem Unused declaration of function 'RtcSettingsSave' sloeber.ino.cpp /Test2 line 93 Code Analysis Problem Unused declaration of function 'WifiConfig' sloeber.ino.cpp /Test2 line 226 Code Analysis Problem Unused declaration of function 'RuleToTime' sloeber.ino.cpp /Test2 line 215 Code Analysis Problem Unused declaration of function 'RtcSettingsLoad' sloeber.ino.cpp /Test2 line 94 Code Analysis Problem Unused declaration of function 'RtcRebootSave' sloeber.ino.cpp /Test2 line 97 Code Analysis Problem Unused declaration of function 'SonoffBridgeCommand' sloeber.ino.cpp /Test2 line 296 Code Analysis Problem Unused declaration of function 'subStr' sloeber.ino.cpp /Test2 line 156 Code Analysis Problem Unused declaration of function 'RtcRebootLoad' sloeber.ino.cpp /Test2 line 98 Code Analysis Problem Unused declaration of function 'WifiState' sloeber.ino.cpp /Test2 line 233 Code Analysis Problem Unused declaration of function 'XdrvCall' sloeber.ino.cpp /Test2 line 303 Code Analysis Problem Unused declaration of function 'RtcInit' sloeber.ino.cpp /Test2 line 220 Code Analysis Problem Unused declaration of function 'RoundSqrtInt' sloeber.ino.cpp /Test2 line 181 Code Analysis Problem Unused declaration of function 'ResetGlobalValues' sloeber.ino.cpp /Test2 line 178 Code Analysis Problem Unused declaration of function 'RemoveSpace' sloeber.ino.cpp /Test2 line 161 Code Analysis Problem Unused declaration of function 'UpperCase_P' sloeber.ino.cpp /Test2 line 163 Code Analysis Problem Unused declaration of function 'PressureUnit' sloeber.ino.cpp /Test2 line 176 Code Analysis Problem Unused declaration of function 'ParseIp' sloeber.ino.cpp /Test2 line 168 Code Analysis Problem Unused declaration of function 'OsWatchLoop' sloeber.ino.cpp /Test2 line 152 Code Analysis Problem Unused declaration of function 'XdrvCommand' sloeber.ino.cpp /Test2 line 299 Code Analysis Problem Unused declaration of function 'SetFlashModeDout' sloeber.ino.cpp /Test2 line 100 Code Analysis Problem Unused declaration of function 'OsWatchBlockedLoop' sloeber.ino.cpp /Test2 line 154 Code Analysis Problem Unused declaration of function 'WifiSetState' sloeber.ino.cpp /Test2 line 230 Code Analysis Problem Unused declaration of function 'SettingsEraseConfig' sloeber.ino.cpp /Test2 line 109 Code Analysis Problem Unused declaration of function 'Syslog' sloeber.ino.cpp /Test2 line 197 Code Analysis Problem Unused declaration of function 'NoAlNumToUnderscore' sloeber.ino.cpp /Test2 line 165 Code Analysis Problem Unused declaration of function 'NewerVersion' sloeber.ino.cpp /Test2 line 170 Code Analysis Problem Unused declaration of function 'MqttSubscribe' sloeber.ino.cpp /Test2 line 245 Code Analysis Problem Unused declaration of function 'MqttShowState' sloeber.ino.cpp /Test2 line 138 Code Analysis Problem Unused declaration of function 'OsWatchInit' sloeber.ino.cpp /Test2 line 151 Code Analysis Problem Unused declaration of function 'SettingsBufferAlloc' sloeber.ino.cpp /Test2 line 102 Code Analysis Problem Unused declaration of function 'MqttShowSensor' sloeber.ino.cpp /Test2 line 139 Code Analysis Problem Unused declaration of function 'SetGlobalValues' sloeber.ino.cpp /Test2 line 177 Code Analysis Problem Unused declaration of function 'MqttRetryCounter' sloeber.ino.cpp /Test2 line 244 Code Analysis Problem Unused declaration of function 'MqttReconnect' sloeber.ino.cpp /Test2 line 255 Code Analysis Problem Unused declaration of function 'MqttPublishPrefixTopic_P' sloeber.ino.cpp /Test2 line 250 Code Analysis Problem Unused declaration of function 'MqttPublishPrefixTopic_P' sloeber.ino.cpp /Test2 line 249 Code Analysis Problem Unused declaration of function 'MqttPublishPowerState' sloeber.ino.cpp /Test2 line 251 Code Analysis Problem Unused declaration of function 'MqttPublishPowerBlinkState' sloeber.ino.cpp /Test2 line 252 Code Analysis Problem Unused declaration of function 'MqttPublishLib' sloeber.ino.cpp /Test2 line 241 Code Analysis Problem Unused declaration of function 'setup' sloeber.ino.cpp /Test2 line 148 Code Analysis Problem Unused declaration of function 'MqttPublishDirect' sloeber.ino.cpp /Test2 line 246 Code Analysis Problem Unused declaration of function 'MqttPublish' sloeber.ino.cpp /Test2 line 248 Code Analysis Problem Unused declaration of function 'MqttPublish' sloeber.ino.cpp /Test2 line 247 Code Analysis Problem Unused declaration of function 'MqttShowPWMState' sloeber.ino.cpp /Test2 line 137 Code Analysis Problem Unused declaration of function 'MqttLibraryType' sloeber.ino.cpp /Test2 line 243 Code Analysis Problem Unused declaration of function 'SetSerialBaudrate' sloeber.ino.cpp /Test2 line 186 Code Analysis Problem Unused declaration of function 'SerialSendRaw' sloeber.ino.cpp /Test2 line 188 Code Analysis Problem Unused declaration of function 'WifiWpsConfigDone' sloeber.ino.cpp /Test2 line 224 Code Analysis Problem Unused declaration of function 'TimePassedSince' sloeber.ino.cpp /Test2 line 193 Code Analysis Problem Unused declaration of function 'RtcSecond' sloeber.ino.cpp /Test2 line 219 Code Analysis Problem Unused declaration of function 'MqttIsConnected' sloeber.ino.cpp /Test2 line 238 Code Analysis Problem Unused declaration of function 'PublishStatus' sloeber.ino.cpp /Test2 line 136 Code Analysis Problem Unused declaration of function 'WifiCheckIp' sloeber.ino.cpp /Test2 line 231 Code Analysis Problem Unused declaration of function 'XdrvRulesProcess' sloeber.ino.cpp /Test2 line 301 Code Analysis Problem Unused declaration of function 'MqttDisconnected' sloeber.ino.cpp /Test2 line 253 Code Analysis Problem Unused declaration of function 'MqttDisconnect' sloeber.ino.cpp /Test2 line 239 Code Analysis Problem Unused declaration of function 'WifiAddDelayWhenDisconnected' sloeber.ino.cpp /Test2 line 237 Code Analysis Problem Unused declaration of function 'MqttSubscribeLib' sloeber.ino.cpp /Test2 line 240 Code Analysis Problem Unused declaration of function 'MqttDataHandler' sloeber.ino.cpp /Test2 line 131 Code Analysis Problem Unused declaration of function 'MqttConnected' sloeber.ino.cpp /Test2 line 254 Code Analysis Problem Unused declaration of function 'SonoffBridgeReceivedRaw' sloeber.ino.cpp /Test2 line 287 Code Analysis Problem Unused declaration of function 'MqttCheck' sloeber.ino.cpp /Test2 line 256 Code Analysis Problem Unused declaration of function 'MidnightNow' sloeber.ino.cpp /Test2 line 218 Code Analysis Problem Unused declaration of function 'Midnight' sloeber.ino.cpp /Test2 line 217 Code Analysis Problem Unused declaration of function 'SonoffBridgeSendCommand' sloeber.ino.cpp /Test2 line 291 Code Analysis Problem Unused declaration of function 'MakeValidMqtt' sloeber.ino.cpp /Test2 line 169 Code Analysis Problem Unused declaration of function 'XdspCall' sloeber.ino.cpp /Test2 line 305 Code Analysis Problem Unused declaration of function 'MakeTime' sloeber.ino.cpp /Test2 line 214 Code Analysis Problem Unused declaration of function 'XnrgCall' sloeber.ino.cpp /Test2 line 306 Code Analysis Problem Unused declaration of function 'loop' sloeber.ino.cpp /Test2 line 149 Code Analysis Problem Unused declaration of function 'SerialInput' sloeber.ino.cpp /Test2 line 145 Code Analysis Problem Unused declaration of function 'OsWatchTicker' sloeber.ino.cpp /Test2 line 150 Code Analysis Problem Unused declaration of function 'LocalTime' sloeber.ino.cpp /Test2 line 216 Code Analysis Problem Unused declaration of function 'LightWheel' sloeber.ino.cpp /Test2 line 275 Code Analysis Problem Unused declaration of function 'SettingsSaveAll' sloeber.ino.cpp /Test2 line 104 Code Analysis Problem Unused declaration of function 'ShowFreeMem' sloeber.ino.cpp /Test2 line 302 Code Analysis Problem Unused declaration of function 'LightState' sloeber.ino.cpp /Test2 line 272 Code Analysis Problem Unused declaration of function 'SetNextTimeInterval' sloeber.ino.cpp /Test2 line 195 Code Analysis Problem Unused declaration of function 'SetDevicePower' sloeber.ino.cpp /Test2 line 125 Code Analysis Problem Unused declaration of function 'ShowSource' sloeber.ino.cpp /Test2 line 190 Code Analysis Problem Unused declaration of function 'MqttCommand' sloeber.ino.cpp /Test2 line 257 Code Analysis Problem Unused declaration of function 'LightSetSignal' sloeber.ino.cpp /Test2 line 269 Code Analysis Problem Unused declaration of function 'SonoffScShow' sloeber.ino.cpp /Test2 line 322 Code Analysis Problem Unused declaration of function 'LightSetPower' sloeber.ino.cpp /Test2 line 278 Code Analysis Problem Unused declaration of function 'RtcRebootValid' sloeber.ino.cpp /Test2 line 99 Code Analysis Problem Unused declaration of function 'ValidGPIO' sloeber.ino.cpp /Test2 line 191 Code Analysis Problem Unused declaration of function 'LightSetHsb' sloeber.ino.cpp /Test2 line 283 Code Analysis Problem Unused declaration of function 'LightSetDimmer' sloeber.ino.cpp /Test2 line 267 Code Analysis Problem Unused declaration of function 'PerformEverySecond' sloeber.ino.cpp /Test2 line 140 Code Analysis Problem Unused declaration of function 'LightSetColorTemp' sloeber.ino.cpp /Test2 line 265 Code Analysis Problem Unused declaration of function 'LightSetColor' sloeber.ino.cpp /Test2 line 268 Code Analysis Problem Unused declaration of function 'XsnsNextCall' sloeber.ino.cpp /Test2 line 324 Code Analysis Problem Unused declaration of function 'SonoffBridgeReceived' sloeber.ino.cpp /Test2 line 289 Code Analysis Problem Unused declaration of function 'LightRgbToHsb' sloeber.ino.cpp /Test2 line 280 Code Analysis Problem Unused declaration of function 'MqttLoop' sloeber.ino.cpp /Test2 line 242 Code Analysis Problem Unused declaration of function 'UpperCase' sloeber.ino.cpp /Test2 line 162 Code Analysis Problem Unused declaration of variable 'mqtt_retry_counter' sloeber.ino.cpp /Test2 line 75 Code Analysis Problem Unused declaration of variable 'wifi_scan_state' sloeber.ino.cpp /Test2 line 67 Code Analysis Problem Unused declaration of variable 'wifi_retry_init' sloeber.ino.cpp /Test2 line 61 Code Analysis Problem Unused declaration of variable 'rtc_settings_crc' sloeber.ino.cpp /Test2 line 22 Code Analysis Problem Unused declaration of variable 'wifi_bssid' sloeber.ino.cpp /Test2 line 68 Code Analysis Problem Unused declaration of variable 'syslog_host_addr' sloeber.ino.cpp /Test2 line 42 Code Analysis Problem Unused declaration of variable 'mqtt_connected' sloeber.ino.cpp /Test2 line 77 Code Analysis Problem Unused declaration of variable 'sonoff_bridge_learn_active' sloeber.ino.cpp /Test2 line 85 Code Analysis Problem Unused declaration of variable 'wifi_config_counter' sloeber.ino.cpp /Test2 line 66 Code Analysis Problem Unused declaration of variable 'sonoff_bridge_last_time' sloeber.ino.cpp /Test2 line 89 Code Analysis Problem Unused declaration of variable 'wifi_status' sloeber.ino.cpp /Test2 line 63 Code Analysis Problem Unused declaration of variable 'mqtt_initial_connection_state' sloeber.ino.cpp /Test2 line 76 Code Analysis Problem Unused declaration of variable 'sonoff_bridge_receive_flag' sloeber.ino.cpp /Test2 line 82 Code Analysis Problem Unused declaration of variable 'sonoff_bridge_learn_key' sloeber.ino.cpp /Test2 line 84 Code Analysis Problem Unused declaration of variable 'syslog_host_hash' sloeber.ino.cpp /Test2 line 43 Code Analysis Problem Unused declaration of variable 'sonoff_bridge_expected_bytes' sloeber.ino.cpp /Test2 line 86 Code Analysis Problem Unused declaration of variable 'sonoff_bridge_receive_raw_flag' sloeber.ino.cpp /Test2 line 83 Code Analysis Problem Unused declaration of variable 'wifi_config_type' sloeber.ino.cpp /Test2 line 65 Code Analysis Problem Unused declaration of variable 'sonoff_bridge_last_received_id' sloeber.ino.cpp /Test2 line 87 Code Analysis Problem Unused declaration of variable 'wps_result' sloeber.ino.cpp /Test2 line 64 Code Analysis Problem Unused declaration of variable 'EspClient' sloeber.ino.cpp /Test2 line 74 Code Analysis Problem Unused declaration of variable 'MqttClient' sloeber.ino.cpp /Test2 line 79 Code Analysis Problem Unused declaration of variable 'wifi_counter' sloeber.ino.cpp /Test2 line 60 Code Analysis Problem Unused declaration of variable 'wifi_retry' sloeber.ino.cpp /Test2 line 62 Code Analysis Problem Unused declaration of variable 'sonoff_bridge_last_send_code' sloeber.ino.cpp /Test2 line 88 Code Analysis Problem Unused declaration of variable 'rtc_reboot_crc' sloeber.ino.cpp /Test2 line 23 Code Analysis Problem Unused declaration of variable 'sonoff_bridge_last_learn_time' sloeber.ino.cpp /Test2 line 90 Code Analysis Problem Unused declaration of function 'LightRandomColor' sloeber.ino.cpp /Test2 line 277 Code Analysis Problem Unused declaration of function 'LightPreparePower' sloeber.ino.cpp /Test2 line 273 Code Analysis Problem unused variable 'idx' [-Wunused-variable] sonoff.ino /Test2 line 2616 C/C++ Problem Unused declaration of function 'LightPowerOn' sloeber.ino.cpp /Test2 line 271 Code Analysis Problem Unused declaration of function 'LightMy92x1Write' sloeber.ino.cpp /Test2 line 261 Code Analysis Problem Unused declaration of function 'LightMy92x1Init' sloeber.ino.cpp /Test2 line 262 Code Analysis Problem Unused declaration of function 'LightMy92x1Duty' sloeber.ino.cpp /Test2 line 263 Code Analysis Problem Unused declaration of function 'LightInit' sloeber.ino.cpp /Test2 line 264 Code Analysis Problem Unused declaration of function 'LightHsbToRgb' sloeber.ino.cpp /Test2 line 281 Code Analysis Problem Unused declaration of function 'LightGetHsb' sloeber.ino.cpp /Test2 line 282 Code Analysis Problem unused variable 'HSB' [-Wunused-variable] xdrv_04_light.ino /Test2 line 1332 C/C++ Problem Unused declaration of function 'LightGetColorTemp' sloeber.ino.cpp /Test2 line 266 Code Analysis Problem Unused declaration of function 'LightGetColor' sloeber.ino.cpp /Test2 line 270 Code Analysis Problem Unused declaration of function 'LightFade' sloeber.ino.cpp /Test2 line 274 Code Analysis Problem Unused declaration of function 'LightDiPulse' sloeber.ino.cpp /Test2 line 259 Code Analysis Problem Unused declaration of function 'LightDckiPulse' sloeber.ino.cpp /Test2 line 260 Code Analysis Problem unused variable 'Minuten' [-Wunused-variable] xdrv_09_timers.ino /Test2 line 138 C/C++ Problem Unused declaration of function 'LightCycleColor' sloeber.ino.cpp /Test2 line 276 Code Analysis Problem Unused declaration of function 'LightCommand' sloeber.ino.cpp /Test2 line 285 Code Analysis Problem Unused declaration of function 'LightColorEntry' sloeber.ino.cpp /Test2 line 284 Code Analysis Problem Unused declaration of function 'LightAnimate' sloeber.ino.cpp /Test2 line 279 Code Analysis Problem Unused declaration of function 'GpioSwitchPinMode' sloeber.ino.cpp /Test2 line 146 Code Analysis Problem Unused declaration of function 'GpioInit' sloeber.ino.cpp /Test2 line 147 Code Analysis Problem unused parameter 'path' [-Wunused-parameter] xplg_wemohue.ino /Test2 line 558 C/C++ Problem unused parameter 'path' [-Wunused-parameter] xplg_wemohue.ino /Test2 line 616 C/C++ Problem unused parameter 'white' [-Wunused-parameter] xplg_ws2812.ino /Test2 line 347 C/C++ Problem Unused declaration of function 'GetUsedInModule' sloeber.ino.cpp /Test2 line 185 Code Analysis Problem Unused declaration of function 'GetUptime' sloeber.ino.cpp /Test2 line 210 Code Analysis Problem Unused declaration of function 'GetTopic_P' sloeber.ino.cpp /Test2 line 122 Code Analysis Problem Unused declaration of function 'GetTimeZone' sloeber.ino.cpp /Test2 line 206 Code Analysis Problem candidate expects 2 arguments, 5 provided PubSubClient.h /Test2/libraries/PubSubClient-EspEasy-2.6.09/src line 133 C/C++ Problem candidate expects 3 arguments, 5 provided PubSubClient.h /Test2/libraries/PubSubClient-EspEasy-2.6.09/src line 134 C/C++ Problem candidate expects 3 arguments, 5 provided PubSubClient.h /Test2/libraries/PubSubClient-EspEasy-2.6.09/src line 135 C/C++ Problem candidate expects 4 arguments, 5 provided PubSubClient.h /Test2/libraries/PubSubClient-EspEasy-2.6.09/src line 136 C/C++ Problem boolean PubSubClient::publish(const char, const char, boolean) PubSubClient.h /Test2/libraries/PubSubClient-EspEasy-2.6.09/src line 134 C/C++ Problem boolean PubSubClient::publish(const char, const char) PubSubClient.h /Test2/libraries/PubSubClient-EspEasy-2.6.09/src line 133 C/C++ Problem boolean PubSubClient::publish(const char, const uint8_t, unsigned int, boolean) PubSubClient.h /Test2/libraries/PubSubClient-EspEasy-2.6.09/src line 136 C/C++ Problem boolean PubSubClient::publish(const char, const uint8_t, unsigned int) PubSubClient.h /Test2/libraries/PubSubClient-EspEasy-2.6.09/src line 135 C/C++ Problem candidates are: xdrv_02_mqtt.ino /Test2 line 195 C/C++ Problem this is the location of the previous definition my_user_config.h /Test2 line 229 C/C++ Problem this is the location of the previous definition sloeber.ino.cpp /Test2 line 10 C/C++ Problem this is the location of the previous definition sloeber.ino.cpp /Test2 line 11 C/C++ Problem this is the location of the previous definition sloeber.ino.cpp /Test2 line 12 C/C++ Problem this is the location of the previous definition sloeber.ino.cpp /Test2 line 13 C/C++ Problem this is the location of the previous definition sloeber.ino.cpp /Test2 line 14 C/C++ Problem this is the location of the previous definition sloeber.ino.cpp /Test2 line 15 C/C++ Problem this is the location of the previous definition sloeber.ino.cpp /Test2 line 16 C/C++ Problem this is the location of the previous definition sloeber.ino.cpp /Test2 line 17 C/C++ Problem
@jantje can't confirm about build process, but it could be much easier if slober could get src and lib (this one with priority) dirs support.
other problem is about platformio.ini can provide bunch of targets
@MAWMN please provide the first error of the console output. Easiest is build, build again copy console output. This way everything that succeeds is gone. The first error there is most likely to tell you what is the problem.
@uzi18 I do not understand what you are trying to say.
The first error of the console..
..\settings.ino: In function 'void SettingsSaveAll()': ..\settings.ino:233:22: error: 'power' was not declared in this scope Settings.power = power; ^
The complete console output is :
15:18:29 Build of configuration Release for project Test2 "C:\Tools\Sloeber\arduinoPlugin\tools\make\make" all 'Building file: ..\core_esp8266_timer.c' 'Start de C bouw' "C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc" -Dets -DICACHE_FLASH -USTRICT_ANSI__ "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/include" "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/lwip2/include" "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:/Dev_WS/Sloeber-WS/Test2/Release/core" -c -Wall -Wextra -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -std=gnu99 -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10802 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="\"ESP8266_WEMOS_D1MINI\"" -DESP8266 -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\variants\d1_mini" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\ArduinoJson-5.11.2\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\esp-knx-ip-0.5.1" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266HTTPClient\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266httpUpdate\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266mDNS" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WiFi\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\Ticker" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\Wire" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\EEPROM" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WebServer\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\DNSServer\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\IRremoteESP8266-2.5.2.03\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\C2Programmer-1.0.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\TasmotaSerial-2.2.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\rc-switch-2.6.2.13" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\TasmotaModbus-1.1.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\SPI" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\Adafruit_SGP30-1.0.0.13" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NewPing-1.9.1\src" -I"C:\Tools\Sloeber\arduinoPlugin\libraries\WiFi\1.2.7\src" -MMD -MP -MF"core_esp8266_timer.c.d" -MT"core_esp8266_timer.c.o" -DIN_ECLIPSE=1 "..\core_esp8266_timer.c" -o "core_esp8266_timer.c.o" 'Finished building: ..\core_esp8266_timer.c' ' ' 'Building file: ..\core_esp8266_wiring_digital.c' 'Start de C bouw' "C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/include" "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/lwip2/include" "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:/Dev_WS/Sloeber-WS/Test2/Release/core" -c -Wall -Wextra -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -std=gnu99 -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10802 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="\"ESP8266_WEMOS_D1MINI\"" -DESP8266 -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\variants\d1_mini" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\ArduinoJson-5.11.2\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\esp-knx-ip-0.5.1" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266HTTPClient\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266httpUpdate\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266mDNS" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WiFi\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\Ticker" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\Wire" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\EEPROM" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WebServer\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\DNSServer\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\IRremoteESP8266-2.5.2.03\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\C2Programmer-1.0.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\TasmotaSerial-2.2.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\rc-switch-2.6.2.13" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\TasmotaModbus-1.1.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\SPI" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\Adafruit_SGP30-1.0.0.13" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NewPing-1.9.1\src" -I"C:\Tools\Sloeber\arduinoPlugin\libraries\WiFi\1.2.7\src" -MMD -MP -MF"core_esp8266_wiring_digital.c.d" -MT"core_esp8266_wiring_digital.c.o" -D__IN_ECLIPSE=1 "..\core_esp8266_wiring_digital.c" -o "core_esp8266_wiring_digital.c.o" 'Finished building: ..\core_esp8266_wiring_digital.c' ' ' 'Building file: ..\core_esp8266_wiring_pwm.c' 'Start de C bouw' "C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc" -Dets -DICACHE_FLASH -USTRICT_ANSI__ "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/include" "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/lwip2/include" "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:/Dev_WS/Sloeber-WS/Test2/Release/core" -c -Wall -Wextra -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -std=gnu99 -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10802 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="\"ESP8266_WEMOS_D1MINI\"" -DESP8266 -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\variants\d1_mini" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\ArduinoJson-5.11.2\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\esp-knx-ip-0.5.1" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266HTTPClient\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266httpUpdate\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266mDNS" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WiFi\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\Ticker" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\Wire" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\EEPROM" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WebServer\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\DNSServer\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\IRremoteESP8266-2.5.2.03\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\C2Programmer-1.0.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\TasmotaSerial-2.2.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\rc-switch-2.6.2.13" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\TasmotaModbus-1.1.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\SPI" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\Adafruit_SGP30-1.0.0.13" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NewPing-1.9.1\src" -I"C:\Tools\Sloeber\arduinoPlugin\libraries\WiFi\1.2.7\src" -MMD -MP -MF"core_esp8266_wiring_pwm.c.d" -MT"core_esp8266_wiring_pwm.c.o" -DIN_ECLIPSE=1 "..\core_esp8266_wiring_pwm.c" -o "core_esp8266_wiring_pwm.c.o" 'Finished building: ..\core_esp8266_wiring_pwm.c' ' ' 'Building file: ..\sloeber.ino.cpp' 'Start de C++ bouw' "C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/include" "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/lwip2/include" "-IC:\Tools\Sloeber\/arduinoPlugin/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:/Dev_WS/Sloeber-WS/Test2/Release/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10802 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="\"ESP8266_WEMOS_D1MINI\"" -DESP8266 -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\variants\d1_mini" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\ArduinoJson-5.11.2\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\esp-knx-ip-0.5.1" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266HTTPClient\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266httpUpdate\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266mDNS" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WiFi\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\Ticker" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\Wire" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\EEPROM" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WebServer\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\DNSServer\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\IRremoteESP8266-2.5.2.03\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\C2Programmer-1.0.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\TasmotaSerial-2.2.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\rc-switch-2.6.2.13" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\TasmotaModbus-1.1.0\src" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src" -I"C:\Tools\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.4.2\libraries\SPI" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\Adafruit_SGP30-1.0.0.13" -I"C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NewPing-1.9.1\src" -I"C:\Tools\Sloeber\arduinoPlugin\libraries\WiFi\1.2.7\src" -MMD -MP -MF"sloeber.ino.cpp.d" -MT"sloeber.ino.cpp.o" -D__IN_ECLIPSE=1 -x c++ "..\sloeber.ino.cpp" -o "sloeber.ino.cpp.o" In file included from ..\sloeber.ino.cpp:31:0: ..\my_user_config.h:327:0: warning: "MTX_ADDRESS1" redefined [enabled by default]
^ ..\sloeber.ino.cpp:10:0: note: this is the location of the previous definition
^ In file included from ..\sloeber.ino.cpp:31:0: ..\my_user_config.h:328:0: warning: "MTX_ADDRESS2" redefined [enabled by default]
^ ..\sloeber.ino.cpp:11:0: note: this is the location of the previous definition
^ In file included from ..\sloeber.ino.cpp:31:0: ..\my_user_config.h:329:0: warning: "MTX_ADDRESS3" redefined [enabled by default]
^ ..\sloeber.ino.cpp:12:0: note: this is the location of the previous definition
^ In file included from ..\sloeber.ino.cpp:31:0: ..\my_user_config.h:330:0: warning: "MTX_ADDRESS4" redefined [enabled by default]
^ ..\sloeber.ino.cpp:13:0: note: this is the location of the previous definition
^ In file included from ..\sloeber.ino.cpp:31:0: ..\my_user_config.h:331:0: warning: "MTX_ADDRESS5" redefined [enabled by default]
^ ..\sloeber.ino.cpp:14:0: note: this is the location of the previous definition
^ In file included from ..\sloeber.ino.cpp:31:0: ..\my_user_config.h:332:0: warning: "MTX_ADDRESS6" redefined [enabled by default]
^ ..\sloeber.ino.cpp:15:0: note: this is the location of the previous definition
^ In file included from ..\sloeber.ino.cpp:31:0: ..\my_user_config.h:333:0: warning: "MTX_ADDRESS7" redefined [enabled by default]
^ ..\sloeber.ino.cpp:16:0: note: this is the location of the previous definition
^ In file included from ..\sloeber.ino.cpp:31:0: ..\my_user_config.h:334:0: warning: "MTX_ADDRESS8" redefined [enabled by default]
^ ..\sloeber.ino.cpp:17:0: note: this is the location of the previous definition
^ ..\sloeber.ino.cpp:73:0: warning: "MQTT_LIBRARY_TYPE" redefined [enabled by default]
^ In file included from ..\sloeber.ino.cpp:31:0: ..\my_user_config.h:229:0: note: this is the location of the previous definition
^ In file included from ..\sloeber.ino.cpp:329:0: ..\settings.ino: In function 'void SettingsSaveAll()': ..\settings.ino:233:22: error: 'power' was not declared in this scope Settings.power = power; ^ ..\settings.ino: In function 'void SettingsSave(byte)': ..\settings.ino:263:7: error: 'stop_flash_rotate' was not declared in this scope stop_flash_rotate = 1; ^ ..\settings.ino:268:9: error: 'stop_flash_rotate' was not declared in this scope if (stop_flash_rotate) { ^ ..\settings.ino:281:10: error: 'stop_flash_rotate' was not declared in this scope if (!stop_flash_rotate && rotate) { ^ ..\settings.ino:287:16: error: 'log_data' was not declared in this scope snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_SAVED_TO_FLASH_AT " %X, " D_COUNT " %d, " D_BYTES " %d"), ^ ..\settings.ino: In function 'void SettingsLoad()': ..\settings.ino:319:14: error: 'log_data' was not declared in this scope snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_CONFIG D_LOADED_FROM_FLASH_AT " %X, " D_COUNT " %d"), settings_location, Settings.save_flag); ^ ..\settings.ino: In function 'void SettingsErase(uint8_t)': ..\settings.ino:347:52: error: 'seriallog_level' was not declared in this scope boolean _serialoutput = (LOG_LEVEL_DEBUG_MORE <= seriallog_level); ^ ..\settings.ino:349:14: error: 'log_data' was not declared in this scope snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_APPLICATION D_ERASE " %d " D_UNIT_SECTORS), _sectorEnd - _sectorStart); ^ In file included from ..\sloeber.ino.cpp:330:0: ..\sonoff.ino: In function 'void SetFanspeed(uint8_t)': ..\sonoff.ino:397:26: error: 'DomoticzUpdateFanState' was not declared in this scope DomoticzUpdateFanState(); // Command FanSpeed feedback ^ ..\sonoff.ino: In function 'void MqttDataHandler(char, byte, unsigned int)': ..\sonoff.ino:747:30: error: 'HAssDiscovery' was not declared in this scope HAssDiscovery(1); // hass_discovery or hass_light ^ ..\sonoff.ino:1015:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < data_len; i++) { ^ ..\sonoff.ino:1278:43: error: 'I2cScan' was not declared in this scope I2cScan(mqtt_data, sizeof(mqtt_data)); ^ ..\sonoff.ino: In function 'boolean SendKey(byte, byte, byte)': ..\sonoff.ino:1325:64: error: 'DomoticzSendKey' was not declared in this scope if (!(DomoticzSendKey(key, device, state, strlen(mqtt_data)))) { ^ ..\sonoff.ino: In function 'void ExecuteCommandPower(byte, byte, int)': ..\sonoff.ino:1397:36: error: 'DomoticzUpdatePowerState' was not declared in this scope DomoticzUpdatePowerState(device); ^ In file included from ..\sloeber.ino.cpp:330:0: ..\sonoff.ino: In function 'void PublishStatus(uint8_t)': ..\sonoff.ino:1541:102: error: 'GetSun' was not declared in this scope GetTime(0).c_str(), GetTime(1).c_str(), GetTime(2).c_str(), GetTime(3).c_str(), stemp, GetSun(0).c_str(), GetSun(1).c_str()); ^ ..\sonoff.ino: In function 'void PerformEverySecond()': ..\sonoff.ino:1711:25: error: 'RulesTeleperiod' was not declared in this scope RulesTeleperiod(); // Allow rule based HA messages ^ ..\sonoff.ino: In function 'void Every250mSeconds()': ..\sonoff.ino:2083:47: error: 'StopWebserver' was not declared in this scope if (Settings.webserver) StopWebserver(); ^ ..\sonoff.ino:2086:25: error: 'AriluxRfDisable' was not declared in this scope AriluxRfDisable(); // Prevent restart exception on Arilux Interrupt routine ^ ..\sonoff.ino: In function 'void GpioInit()': ..\sonoff.ino:2473:29: error: 'DhtSetup' was not declared in this scope if (DhtSetup(i, mpin)) { ^ ..\sonoff.ino: In function 'void setup()': ..\sonoff.ino:2616:8: warning: unused variable 'idx' [-Wunused-variable] byte idx; ^ In file included from ..\sloeber.ino.cpp:334:0: ..\support_wifi.ino: In function 'void WifiConfig(uint8_t)': ..\support_wifi.ino:117:19: error: 'UdpDisconnect' was not declared in this scope UdpDisconnect(); ^ ..\support_wifi.ino:160:24: error: 'WifiManagerBegin' was not declared in this scope WifiManagerBegin(); ^ In file included from ..\sloeber.ino.cpp:334:0: ..\support_wifi.ino: In function 'void WifiBegin(uint8_t, uint8_t)': ..\support_wifi.ino:196:17: error: 'UdpDisconnect' was not declared in this scope UdpDisconnect(); ^ ..\support_wifi.ino: In function 'void WifiBeginAfterScan()': ..\support_wifi.ino:252:67: warning: statement has no effect [-Wunused-value] if (best_network_db < -WIFI_RSSI_THRESHOLD) { best_network_db +WIFI_RSSI_THRESHOLD; } ^ ..\support_wifi.ino: In function 'void WifiCheck(uint8_t)': ..\support_wifi.ino:503:60: error: 'StartWebserver' was not declared in this scope StartWebserver(Settings.webserver, WiFi.localIP()); ^ ..\support_wifi.ino:512:25: error: 'StopWebserver' was not declared in this scope StopWebserver(); ^ ..\support_wifi.ino:515:52: error: 'UdpConnect' was not declared in this scope if (Settings.flag2.emulation) { UdpConnect(); } ^ ..\support_wifi.ino:529:23: error: 'UdpDisconnect' was not declared in this scope UdpDisconnect(); ^ In file included from ..\sloeber.ino.cpp:335:0: ..\xdrv_01_webserver.ino: In function 'void StartWebserver(int, IPAddress)': ..\xdrv_01_webserver.ino:383:26: error: 'HandleRoot' was not declared in this scope WebServer->on("/", HandleRoot); ^ ..\xdrv_01_webserver.ino:384:28: error: 'HandleUpgradeFirmware' was not declared in this scope WebServer->on("/up", HandleUpgradeFirmware); ^ ..\xdrv_01_webserver.ino:385:28: error: 'HandleUpgradeFirmwareStart' was not declared in this scope WebServer->on("/u1", HandleUpgradeFirmwareStart); // OTA ^ ..\xdrv_01_webserver.ino:386:39: error: 'HandleUploadDone' was not declared in this scope WebServer->on("/u2", HTTP_POST, HandleUploadDone, HandleUploadLoop); ^ ..\xdrv_01_webserver.ino:386:57: error: 'HandleUploadLoop' was not declared in this scope WebServer->on("/u2", HTTP_POST, HandleUploadDone, HandleUploadLoop); ^ ..\xdrv_01_webserver.ino:387:42: error: 'HandlePreflightRequest' was not declared in this scope WebServer->on("/u2", HTTP_OPTIONS, HandlePreflightRequest); ^ ..\xdrv_01_webserver.ino:388:28: error: 'HandleConsole' was not declared in this scope WebServer->on("/cs", HandleConsole); ^ ..\xdrv_01_webserver.ino:389:28: error: 'HandleAjaxConsoleRefresh' was not declared in this scope WebServer->on("/ax", HandleAjaxConsoleRefresh); ^ ..\xdrv_01_webserver.ino:390:28: error: 'HandleAjaxStatusRefresh' was not declared in this scope WebServer->on("/ay", HandleAjaxStatusRefresh); ^ ..\xdrv_01_webserver.ino:391:28: error: 'HandleHttpCommand' was not declared in this scope WebServer->on("/cm", HandleHttpCommand); ^ ..\xdrv_01_webserver.ino:392:29: error: 'HandleNotFound' was not declared in this scope WebServer->onNotFound(HandleNotFound); ^ ..\xdrv_01_webserver.ino:394:28: error: 'HandleConfiguration' was not declared in this scope WebServer->on("/cn", HandleConfiguration); ^ ..\xdrv_01_webserver.ino:395:28: error: 'HandleModuleConfiguration' was not declared in this scope WebServer->on("/md", HandleModuleConfiguration); ^ ..\xdrv_01_webserver.ino:396:28: error: 'HandleWifiConfiguration' was not declared in this scope WebServer->on("/wi", HandleWifiConfiguration); ^ ..\xdrv_01_webserver.ino:397:28: error: 'HandleLoggingConfiguration' was not declared in this scope WebServer->on("/lg", HandleLoggingConfiguration); ^ ..\xdrv_01_webserver.ino:398:28: error: 'HandleOtherConfiguration' was not declared in this scope WebServer->on("/co", HandleOtherConfiguration); ^ ..\xdrv_01_webserver.ino:399:28: error: 'HandleBackupConfiguration' was not declared in this scope WebServer->on("/dl", HandleBackupConfiguration); ^ ..\xdrv_01_webserver.ino:400:28: error: 'HandleRestoreConfiguration' was not declared in this scope WebServer->on("/rs", HandleRestoreConfiguration); ^ ..\xdrv_01_webserver.ino:401:28: error: 'HandleResetConfiguration' was not declared in this scope WebServer->on("/rt", HandleResetConfiguration); ^ ..\xdrv_01_webserver.ino:402:28: error: 'HandleInformation' was not declared in this scope WebServer->on("/in", HandleInformation); ^ ..\xdrv_01_webserver.ino:404:26: error: 'HueWemoAddHandlers' was not declared in this scope HueWemoAddHandlers(); ^ ..\xdrv_01_webserver.ino: In function 'void HandleRoot()': ..\xdrv_01_webserver.ino:581:21: error: 'CaptivePortal' was not declared in this scope if (CaptivePortal()) { return; } // If captive portal redirect instead of displaying the page. ^ ..\xdrv_01_webserver.ino:601:33: error: 'HandleWifiConfiguration' was not declared in this scope HandleWifiConfiguration(); ^ ..\xdrv_01_webserver.ino: In function 'void HandleModuleConfiguration()': ..\xdrv_01_webserver.ino:786:24: error: 'ModuleSaveSettings' was not declared in this scope ModuleSaveSettings(); ^ ..\xdrv_01_webserver.ino: In function 'void HandleWifiConfiguration()': ..\xdrv_01_webserver.ino:899:22: error: 'WifiSaveSettings' was not declared in this scope WifiSaveSettings(); ^ ..\xdrv_01_webserver.ino:911:19: error: 'UdpDisconnect' was not declared in this scope UdpDisconnect(); ^ ..\xdrv_01_webserver.ino: In function 'void HandleLoggingConfiguration()': ..\xdrv_01_webserver.ino:1026:25: error: 'LoggingSaveSettings' was not declared in this scope LoggingSaveSettings(); ^ ..\xdrv_01_webserver.ino: In function 'void HandleOtherConfiguration()': ..\xdrv_01_webserver.ino:1109:23: error: 'OtherSaveSettings' was not declared in this scope OtherSaveSettings(); ^ ..\xdrv_01_webserver.ino: In function 'void HandleUploadLoop()': ..\xdrv_01_webserver.ino:1513:21: error: 'UdpDisconnect' was not declared in this scope UdpDisconnect(); ^ ..\xdrv_01_webserver.ino:1516:23: error: 'AriluxRfDisable' was not declared in this scope AriluxRfDisable(); // Prevent restart exception on Arilux Interrupt routine ^ ..\xdrv_01_webserver.ino:1543:42: error: 'SnfBrUpdateInit' was not declared in this scope upload_error = SnfBrUpdateInit(); ^ ..\xdrv_01_webserver.ino:1574:112: error: 'rf_glue_remnant_with_new_data_and_write' was not declared in this scope ssize_t result = rf_glue_remnant_with_new_data_and_write(efm8bb1_update, upload.buf, upload.currentSize); ^ ..\xdrv_01_webserver.ino:1582:74: error: 'rf_search_and_write' was not declared in this scope ssize_t result = rf_search_and_write(upload.buf, upload.currentSize); ^ ..\xdrv_01_webserver.ino:1587:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (result > upload.currentSize) { ^ ..\xdrv_01_webserver.ino: In function 'void HandleNotFound()': ..\xdrv_01_webserver.ino:1827:21: error: 'CaptivePortal' was not declared in this scope if (CaptivePortal()) { return; } // If captive portal redirect instead of displaying the error page. ^ ..\xdrv_01_webserver.ino:1832:23: error: 'HandleHueApi' was not declared in this scope HandleHueApi(&path); ^ ..\xdrv_01_webserver.ino: In function 'boolean CaptivePortal()': ..\xdrv_01_webserver.ino:1849:83: error: 'ValidIpAddress' was not declared in this scope if ((HTTP_MANAGER == webserver_state) && !ValidIpAddress(WebServer->hostHeader())) { ^ ..\xdrv_01_webserver.ino: In function 'boolean Xdrv01(byte)': ..\xdrv_01_webserver.ino:2070:45: error: 'PollUdp' was not declared in this scope if (Settings.flag2.emulation) PollUdp(); ^ In file included from ..\xdrv_02_mqtt.ino:162:0, from ..\sloeber.ino.cpp:336: C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h: At global scope: C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::keep_alive_interval' [-Wmissing-field-initializers] lwmqtt_client_t client = {0}; ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::pong_pending' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::write_buf_size' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::read_buf_size' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::write_buf' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::read_buf' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::callback' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::callback_ref' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::network' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::network_read' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::network_write' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::keep_alive_timer' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::command_timer' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::timer_set' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:138:30: warning: missing initializer for member 'lwmqtt_client_t::timer_get' [-Wmissing-field-initializers] C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:276:8: warning: unused parameter 'skip' [-Wunused-parameter] bool connect(const char clientId[], bool skip = false) { return this->connect(clientId, nullptr, nullptr); } ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\arduino-mqtt-2.4.0\src/MQTTClient.h:278:8: warning: unused parameter 'skip' [-Wunused-parameter] bool connect(const char clientId[], const char username[], bool skip = false) { return this->connect(clientId, username, nullptr); } ^ In file included from ..\sloeber.ino.cpp:336:0: ..\xdrv_02_mqtt.ino:163:22: error: conflicting declaration 'MQTTClient MqttClient' MQTTClient MqttClient(MQTT_MAX_PACKET_SIZE); ^ ..\sloeber.ino.cpp:79:21: error: 'MqttClient' has a previous declaration as 'PubSubClient MqttClient' extern PubSubClient MqttClient; ^ In file included from ..\sloeber.ino.cpp:336:0: ..\xdrv_02_mqtt.ino: In function 'bool MqttPublishLib(const char, boolean)': ..\xdrv_02_mqtt.ino:195:77: error: no matching function for call to 'PubSubClient::publish(const char&, char [893], size_t, boolean&, int)' return MqttClient.publish(topic, mqtt_data, strlen(mqtt_data), retained, 0); ^ ..\xdrv_02_mqtt.ino:195:77: note: candidates are: In file included from ..\sloeber.ino.cpp:78:0: C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src/PubSubClient.h:133:12: note: boolean PubSubClient::publish(const char, const char) boolean publish(const char topic, const char payload); ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src/PubSubClient.h:133:12: note: candidate expects 2 arguments, 5 provided C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src/PubSubClient.h:134:12: note: boolean PubSubClient::publish(const char, const char, boolean) boolean publish(const char topic, const char payload, boolean retained); ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src/PubSubClient.h:134:12: note: candidate expects 3 arguments, 5 provided C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src/PubSubClient.h:135:12: note: boolean PubSubClient::publish(const char, const uint8_t, unsigned int) boolean publish(const char topic, const uint8_t payload, unsigned int plength); ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src/PubSubClient.h:135:12: note: candidate expects 3 arguments, 5 provided C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src/PubSubClient.h:136:12: note: boolean PubSubClient::publish(const char, const uint8_t, unsigned int, boolean) boolean publish(const char topic, const uint8_t payload, unsigned int plength, boolean retained); ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\PubSubClient-EspEasy-2.6.09\src/PubSubClient.h:136:12: note: candidate expects 4 arguments, 5 provided In file included from ..\sloeber.ino.cpp:336:0: ..\xdrv_02_mqtt.ino: In function 'void MqttPublishPowerState(byte)': ..\xdrv_02_mqtt.ino:339:30: error: 'DomoticzUpdateFanState' was not declared in this scope DomoticzUpdateFanState(); // RC Button feedback ^ ..\xdrv_02_mqtt.ino: In function 'void MqttReconnect()': ..\xdrv_02_mqtt.ino:496:17: error: 'UdpDisconnect' was not declared in this scope UdpDisconnect(); ^ ..\xdrv_02_mqtt.ino:542:16: error: 'class PubSubClient' has no member named 'begin' MqttClient.begin(Settings.mqtt_host, Settings.mqtt_port, EspClient); ^ ..\xdrv_02_mqtt.ino:543:16: error: 'class PubSubClient' has no member named 'setWill' MqttClient.setWill(stopic, mqtt_data, true, 1); ^ ..\xdrv_02_mqtt.ino:544:16: error: 'class PubSubClient' has no member named 'setOptions' MqttClient.setOptions(MQTT_KEEPALIVE, true, MQTT_TIMEOUT); ^ ..\xdrv_02_mqtt.ino:546:16: error: 'class PubSubClient' has no member named 'onMessage' MqttClient.onMessage(MqttMyDataCb); ^ ..\xdrv_02_mqtt.ino:566:33: error: 'class PubSubClient' has no member named 'lastError' MqttDisconnected(MqttClient.lastError()); // status codes are documented here https://github.com/256dpi/lwmqtt/blob/master/include/lwmqtt.h#L11 ^ ..\xdrv_02_mqtt.ino: In function 'void HandleMqttConfiguration()': ..\xdrv_02_mqtt.ino:860:22: error: 'MqttSaveSettings' was not declared in this scope MqttSaveSettings(); ^ In file included from ..\sloeber.ino.cpp:337:0: ..\xdrv_03_energy.ino: In function 'void EnergyMarginCheck()': ..\xdrv_03_energy.ino:229:22: error: 'EnergyMqttShow' was not declared in this scope EnergyMqttShow(); ^ ..\xdrv_03_energy.ino:244:26: error: 'EnergyMqttShow' was not declared in this scope EnergyMqttShow(); ^ ..\xdrv_03_energy.ino:271:28: error: 'EnergyMqttShow' was not declared in this scope EnergyMqttShow(); ^ ..\xdrv_03_energy.ino:292:22: error: 'EnergyMqttShow' was not declared in this scope EnergyMqttShow(); ^ ..\xdrv_03_energy.ino:298:42: error: 'EnergyMqttShow' was not declared in this scope if (energy_power_delta) EnergyMqttShow(); ^ ..\xdrv_03_energy.ino: In function 'void EnergyMqttShow()': ..\xdrv_03_energy.ino:307:15: error: 'EnergyShow' was not declared in this scope EnergyShow(1); ^ ..\xdrv_03_energy.ino: In function 'void EnergyShow(boolean)': ..\xdrv_03_energy.ino:632:75: error: 'DomoticzSensorPowerEnergy' was not declared in this scope DomoticzSensorPowerEnergy((int)energy_active_power, energy_total_chr); // PowerUsage, EnergyToday ^ ..\xdrv_03_energy.ino:633:45: error: 'DomoticzSensor' was not declared in this scope DomoticzSensor(DZ_VOLTAGE, voltage_chr); // Voltage ^ In file included from ..\sloeber.ino.cpp:338:0: ..\xdrv_04_light.ino: In function 'void LightInit()': ..\xdrv_04_light.ino:400:16: error: 'Ws2812Init' was not declared in this scope Ws2812Init(); ^ ..\xdrv_04_light.ino: In function 'void LightPreparePower()': ..\xdrv_04_light.ino:625:40: error: 'DomoticzUpdatePowerState' was not declared in this scope DomoticzUpdatePowerState(light_device); ^ ..\xdrv_04_light.ino: In function 'void LightAnimate()': ..\xdrv_04_light.ino:801:57: error: 'Ws2812ShowScheme' was not declared in this scope Ws2812ShowScheme(Settings.light_scheme -LS_MAX); ^ ..\xdrv_04_light.ino:833:73: error: 'Ws2812SetColor' was not declared in this scope Ws2812SetColor(0, cur_col[0], cur_col[1], cur_col[2], cur_col[3]); ^ ..\xdrv_04_light.ino:841:35: error: 'LightSerialDuty' was not declared in this scope LightSerialDuty(cur_col[0]); ^ ..\xdrv_04_light.ino:846:47: error: 'LightSerial2Duty' was not declared in this scope LightSerial2Duty(cur_col[0],cur_col[1]); ^ ..\xdrv_04_light.ino:851:36: error: 'PS16DZSerialDuty' was not declared in this scope PS16DZSerialDuty(cur_col[0]); ^ ..\xdrv_04_light.ino: In function 'boolean LightCommand()': ..\xdrv_04_light.ino:1204:26: error: 'Ws2812ForceSuspend' was not declared in this scope Ws2812ForceSuspend(); ^ ..\xdrv_04_light.ino:1207:117: error: 'Ws2812SetColor' was not declared in this scope Ws2812SetColor(idx, light_entry_color[0], light_entry_color[1], light_entry_color[2], light_entry_color[3]); ^ ..\xdrv_04_light.ino:1215:25: error: 'Ws2812ForceUpdate' was not declared in this scope Ws2812ForceUpdate(); ^ ..\xdrv_04_light.ino:1217:143: error: 'Ws2812GetColor' was not declared in this scope snprintf_P(mqtt_data, sizeof(mqtt_data), S_JSON_COMMAND_INDEX_SVALUE, command, XdrvMailbox.index, Ws2812GetColor(XdrvMailbox.index, scolor)); ^ ..\xdrv_04_light.ino:1223:19: error: 'Ws2812Clear' was not declared in this scope Ws2812Clear(); ^ ..\xdrv_04_light.ino:1332:16: warning: unused variable 'HSB' [-Wunused-variable] uint16_t HSB[3]; ^ In file included from ..\sloeber.ino.cpp:339:0: ..\xdrv_05_irremote.ino: In function 'void IrReceiveCheck()': ..\xdrv_05_irremote.ino:165:39: error: 'DomoticzSensor' was not declared in this scope DomoticzSensor(DZ_COUNT, value); // Send data as Domoticz Counter value ^ In file included from ..\xdrv_06_snfbridge.ino:52:0, from ..\sloeber.ino.cpp:340: C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\C2Programmer-1.0.0\src/c2.h: At global scope: C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\C2Programmer-1.0.0\src/c2.h:113:16: warning: unused parameter 'bytes' [-Wunused-parameter] inline uint8_t c2_data_read(uint16_t &d, uint8_t bytes=2) { ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\C2Programmer-1.0.0\src/c2.h:119:16: warning: unused parameter 'bytes' [-Wunused-parameter] inline uint8_t c2_data_read(uint8_t &d, uint8_t bytes=1) { ^ In file included from ..\sloeber.ino.cpp:340:0: ..\xdrv_06_snfbridge.ino: In function 'ssize_t rf_find_hex_record_start(uint8_t, size_t)': ..\xdrv_06_snfbridge.ino:59:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < size; i++) { ^ ..\xdrv_06_snfbridge.ino: In function 'ssize_t rf_find_hex_record_end(uint8_t, size_t)': ..\xdrv_06_snfbridge.ino:69:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (ssize_t i = 0; i < size; i++) { ^ ..\xdrv_06_snfbridge.ino: In function 'ssize_t rf_glue_remnant_with_new_data_and_write(const uint8_t, uint8_t, size_t)': ..\xdrv_06_snfbridge.ino:107:56: error: 'rf_decode_and_write' was not declared in this scope result = rf_decode_and_write(glue_buf, glue_record_sz); ^ In file included from ..\sloeber.ino.cpp:340:0: ..\xdrv_06_snfbridge.ino: In function 'void SonoffBridgeReceived()': ..\xdrv_06_snfbridge.ino:296:45: error: 'DomoticzSensor' was not declared in this scope DomoticzSensor(DZ_COUNT, received_id); // Send rid as Domoticz Counter value ^ In file included from ..\sloeber.ino.cpp:341:0: ..\xdrv_07_domoticz.ino: In function 'void MqttPublishDomoticzFanState()': ..\xdrv_07_domoticz.ino:83:120: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] Settings.domoticz_relay_idx[1], (0 == fan_speed) ? 0 : 2, svalue, DomoticzBatteryQuality(), DomoticzRssiQuality()); ^ ..\xdrv_07_domoticz.ino: In function 'void MqttPublishDomoticzPowerState(byte)': ..\xdrv_07_domoticz.ino:110:164: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] Settings.domoticz_relay_idx[device -1], (power & (1 << (device -1))) ? 1 : 0, (light_type) ? svalue : "", DomoticzBatteryQuality(), DomoticzRssiQuality()); ^ ..\xdrv_07_domoticz.ino: In function 'void HandleDomoticzConfiguration()': ..\xdrv_07_domoticz.ino:456:26: error: 'DomoticzSaveSettings' was not declared in this scope DomoticzSaveSettings(); ^ In file included from ..\sloeber.ino.cpp:342:0: ..\xdrv_08_serial_bridge.ino: In function 'boolean SerialBridgeCommand()': ..\xdrv_08_serial_bridge.ino:125:103: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] snprintf_P(mqtt_data, sizeof(mqtt_data), S_JSON_COMMAND_LVALUE, command, Settings.sbaudrate 1200); ^ In file included from ..\sloeber.ino.cpp:343:0: ..\xdrv_09_timers.ino: In function 'void DuskTillDawn(uint8_t, uint8_t, uint8_t, uint8_t)': ..\xdrv_09_timers.ino:138:10: warning: unused variable 'Minuten' [-Wunused-variable] double Minuten = Zeitgleichung 60.0; ^ In file included from ..\sloeber.ino.cpp:343:0: ..\xdrv_09_timers.ino: In function 'void TimerEverySecond()': ..\xdrv_09_timers.ino:284:26: warning: comparison is always false due to limited range of data type [-Wtype-limits] if (set_time < 0) { set_time = 0; } // Stay today; ^ In file included from ..\sloeber.ino.cpp:343:0: ..\xdrv_09_timers.ino: In function 'void HandleTimerConfiguration()': ..\xdrv_09_timers.ino:691:23: error: 'TimerSaveSettings' was not declared in this scope TimerSaveSettings(); ^ In file included from ..\sloeber.ino.cpp:344:0: ..\xdrv_10_rules.ino: In function 'boolean RulesCommand()': ..\xdrv_10_rules.ino:644:76: error: 'map_double' was not declared in this scope double value = map_double(valueIN, fromLow, fromHigh, toLow, toHigh); ^ In file included from ..\sloeber.ino.cpp:352:0: ..\xdrv_18_armtronix_dimmers.ino: In function 'void ArmtronixSetWifiLed()': ..\xdrv_18_armtronix_dimmers.ino:152:34: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] char state = '0' + (wifi_state & 1 > 0); ^ ..\xdrv_18_armtronix_dimmers.ino:156:29: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] state = '0' + (wifi_state & 2 > 0); ^ In file included from ..\sloeber.ino.cpp:353:0: ..\xdrv_19_ps16dz_dimmer.ino: In function 'void PS16DZSerialInput()': ..\xdrv_19_ps16dz_dimmer.ino:156:82: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if (ps16dz_byte_counter || (!ps16dz_byte_counter && serial_in_byte == 'A')); ^ In file included from ..\sloeber.ino.cpp:360:0: ..\xdsp_interface.ino: In function 'boolean XdspCall(byte)': ..\xdsp_interface.ino:124:24: warning: comparison is always false due to limited range of data type [-Wtype-limits] for (byte x = 0; x < xdsp_present; x++) { ^ In file included from ..\sloeber.ino.cpp:362:0: ..\xnrg_02_cse7766.ino: In function 'void CseReceived()': ..\xnrg_02_cse7766.ino:101:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (power_cycle_first != power_cycle) { ^ In file included from ..\sloeber.ino.cpp:364:0: ..\xnrg_04_mcp39f501.ino: In function 'void McpParseCalibration()': ..\xnrg_04_mcp39f501.ino:209:46: error: 'McpCalibrationCalc' was not declared in this scope if (McpCalibrationCalc(&cal_registers, 16)) { action = true; } ^ ..\xnrg_04_mcp39f501.ino:213:45: error: 'McpCalibrationCalc' was not declared in this scope if (McpCalibrationCalc(&cal_registers, 0)) { action = true; } ^ ..\xnrg_04_mcp39f501.ino:217:45: error: 'McpCalibrationCalc' was not declared in this scope if (McpCalibrationCalc(&cal_registers, 8)) { action = true; } ^ ..\xnrg_04_mcp39f501.ino:220:49: error: 'McpSetCalibration' was not declared in this scope if (action) { McpSetCalibration(&cal_registers); } ^ ..\xnrg_04_mcp39f501.ino:232:31: error: 'McpSetSystemConfiguration' was not declared in this scope McpSetSystemConfiguration(2); ^ ..\xnrg_04_mcp39f501.ino: In function 'void McpParseFrequency()': ..\xnrg_04_mcp39f501.ino:389:60: error: 'McpSetFrequency' was not declared in this scope McpSetFrequency(line_frequency_ref, gain_line_frequency); ^ In file included from ..\sloeber.ino.cpp:368:0: ..\xplg_wemohue.ino: At global scope: ..\xplg_wemohue.ino:558:6: warning: unused parameter 'path' [-Wunused-parameter] void HueConfig(String path) ^ ..\xplg_wemohue.ino:616:6: warning: unused parameter 'path' [-Wunused-parameter] void HueAuthentication(String path) ^ In file included from C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/NeoPixelBus.h:50:0, from ..\xplg_ws2812.ino:25, from ..\sloeber.ino.cpp:369: C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/internal/Layouts.h:60:21: warning: unused parameter 'height' [-Wunused-parameter] static uint16_t Map(uint16_t width, uint16_t height, uint16_t x, uint16_t y) ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/internal/Layouts.h:105:21: warning: unused parameter 'width' [-Wunused-parameter] static uint16_t Map(uint16_t width, uint16_t height, uint16_t x, uint16_t y) ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/internal/Layouts.h:139:21: warning: unused parameter 'width' [-Wunused-parameter] static uint16_t Map(uint16_t width, uint16_t height, uint16_t x, uint16_t y) ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/internal/Layouts.h:154:21: warning: unused parameter 'height' [-Wunused-parameter] static uint16_t Map(uint16_t width, uint16_t height, uint16_t x, uint16_t y) ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/internal/Layouts.h:216:21: warning: unused parameter 'height' [-Wunused-parameter] static uint16_t Map(uint16_t width, uint16_t height, uint16_t x, uint16_t y) ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/internal/Layouts.h:293:21: warning: unused parameter 'width' [-Wunused-parameter] static uint16_t Map(uint16_t width, uint16_t height, uint16_t x, uint16_t y) ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/internal/Layouts.h:335:21: warning: unused parameter 'width' [-Wunused-parameter] static uint16_t Map(uint16_t width, uint16_t height, uint16_t x, uint16_t y) ^ C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/internal/Layouts.h:360:21: warning: unused parameter 'height' [-Wunused-parameter] static uint16_t Map(uint16_t width, uint16_t height, uint16_t x, uint16_t y) ^ In file included from C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/NeoPixelBus.h:67:0, from ..\xplg_ws2812.ino:25, from ..\sloeber.ino.cpp:369: C:\Users\Marcel\Documents\Arduino\libraries\Sonoff_Lib_6.4.0\NeoPixelBus-2.2.9\src/internal/NeoEsp8266DmaMethod.h:293:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] volatile static void ICACHE_RAM_ATTR i2s_slc_isr(void) ^ In file included from ..\sloeber.ino.cpp:369:0: ..\xplg_ws2812.ino: In function 'void Ws2812Init()': ..\xplg_ws2812.ino:337:15: error: 'Ws2812Clear' was not declared in this scope Ws2812Clear(); ^ ..\xplg_ws2812.ino: At global scope: ..\xplg_ws2812.ino:347:6: warning: unused parameter 'white' [-Wunused-parameter] void Ws2812SetColor(uint16_t led, uint8_t red, uint8_t green, uint8_t blue, uint8_t white) ^ In file included from ..\sloeber.ino.cpp:374:0: ..\xsns_05_ds18x20.ino: In function 'void Ds18x20Init()': ..\xsns_05_ds18x20.ino:264:68: warning: for increment expression has no effect [-Wunused-value] for (ds18x20_sensors = 0; ds18x20_sensors < DS18X20_MAX_SENSORS; ds18x20_sensors) { ^ In file included from ..\sloeber.ino.cpp:377:0: ..\xsns_07_sht1x.ino: In function 'boolean ShtReset()': ..\xsns_07_sht1x.ino:56:56: error: 'ShtSendCommand' was not declared in this scope boolean success = ShtSendCommand(SHT1X_CMD_SOFT_RESET); ^ In file included from ..\sloeber.ino.cpp:405:0: ..\xsns_34_hx711.ino: In function 'void HxEvery100mSecond()': ..\xsns_34_hx711.ino:273:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (hx_weight < Settings.weight_reference) { ^ ..\xsns_34_hx711.ino:284:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (hx_weight > Settings.weight_reference) { ^ ..\xsns_34_hx711.ino:292:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (hx_weight > Settings.weight_reference) { ^ In file included from ..\sloeber.ino.cpp:336:0: ..\xdrv_02_mqtt.ino: In function 'bool MqttPublishLib(const char*, boolean)': ..\xdrv_02_mqtt.ino:196:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ subdir.mk:52: recipe for target 'sloeber.ino.cpp.o' failed make: *** [sloeber.ino.cpp.o] Error 1
15:18:35 Build Failed. 109 errors, 62 warnings. (took 5s.778ms)
First off I used the wrong folder as the library folder in my post above. I edited the post. Also the version numbers in the foldername are making things hard for sloeber. After these "fixes" things import really smooth. But still no successful build.
I've investigated in more details and it is .... complicated. All this complication is caused by ino files and all tools have their own ino to cpp conversion methods. As you may know the compiler doesn't know .ino files and the tool/ide needs to convert from .ino files to .cpp files. Arduino does not provide detailed rules on how to do this. Arduino ide cuts and pastes the ino files to one big .cpp file. The consequence of this is that the compiler output needs to be "interpreted" based on the cut and paste work done to generate the .cpp file. Sloeber makes a sloeber.ino.cpp file that includes the .ino files. This avoids the need of the interpretation of the build output but it is "limiting the posibilities" In other words: Sloeber support for ino files is only intended to help create library examples. It is clear we hit some limitations of Sloeber here. The sonof project clearly uses ino files to it's full extend and this is where it gets hard.
The first thing that hit me was that (because of dragging and dropping the code) the main ino file did not have the same name as the project. This is important because the order of processing ino files is crucial (by design so not a sloeber issue). To fix simply rename sonof.ino to [myProjectName].ino
The second thing that hit me is related to the fact that the Arduino IDE does not allow you to define stuff at the project level. The sonoff-tasmota people worked around this by using a my_user_config.h which contains lots of defines that (de)activate parts of the code. Due to the ino format (here the concatenation of all ino files to one big file) the indexer (and as such Sloeber) gets confused because most of the ino files do not contain
So sloeber does not know which code needs to be "included". I opted to add #include "my_user_config.h" at the top of all the .ino files which made things "better"
Then I got hit by
extern bmp_sensors_t* bmp_sensors;
^
..\sloeber.ino.cpp:200:8: error: 'bmp180_cal_data_t' does not name a type
extern bmp180_cal_data_t* bmp180_cal_data;
^
..\sloeber.ino.cpp:225:8: error: 'Bme280CalibrationData_t' does not name a type
extern Bme280CalibrationData_t* Bme280CalibrationData;
bmp_sensors is defined in xsns_09_bmp.ino as
uint8_t bmp_address; // I2C bus address
char bmp_name[7]; // Sensor name - "BMPXXX"
uint8_t bmp_type;
uint8_t bmp_model;
#ifdef USE_BME680
uint8_t bme680_state;
float bmp_gas_resistance;
#endif // USE_BME680
float bmp_temperature;
float bmp_pressure;
float bmp_humidity;
} bmp_sensors_t;
And here we get hit by a variant of #775. In this case it is not a method but a global variable.
I got it to compile. Can't test the outcome as I don't know what this does. It is not to bad but due to "very hard to sell these changes to the provider" I'm not sure whether this is a route you want to pursue. Anyway I needed to add #include "sonoff.h" to my_user_config.h (I did it at the top) I made a new file called xsns_09_bmp.h with following content
#include "Arduino.h"
#include "my_user_config.h"
typedef struct {
uint8_t bmp_address; // I2C bus address
char bmp_name[7]; // Sensor name - "BMPXXX"
uint8_t bmp_type;
uint8_t bmp_model;
#ifdef USE_BME680
uint8_t bme680_state;
float bmp_gas_resistance;
#endif // USE_BME680
float bmp_temperature;
float bmp_pressure;
float bmp_humidity;
} bmp_sensors_t;
typedef struct {
int16_t cal_ac1;
int16_t cal_ac2;
int16_t cal_ac3;
int16_t cal_b1;
int16_t cal_b2;
int16_t cal_mc;
int16_t cal_md;
uint16_t cal_ac4;
uint16_t cal_ac5;
uint16_t cal_ac6;
} bmp180_cal_data_t;
bmp180_cal_data_t *bmp180_cal_data = NULL;
typedef struct {
uint16_t dig_T1;
int16_t dig_T2;
int16_t dig_T3;
uint16_t dig_P1;
int16_t dig_P2;
int16_t dig_P3;
int16_t dig_P4;
int16_t dig_P5;
int16_t dig_P6;
int16_t dig_P7;
int16_t dig_P8;
int16_t dig_P9;
int16_t dig_H2;
int16_t dig_H4;
int16_t dig_H5;
uint8_t dig_H1;
uint8_t dig_H3;
int8_t dig_H6;
} Bme280CalibrationData_t;
Bme280CalibrationData_t *Bme280CalibrationData = NULL;
#pragma once
I removed the declarations above from xsns_09_bmp.ino and added #include "xsns_09_bmp.h" at the top
I added a #pragma once to Adafruit_SGP30.h
I may have done some more trivial stuff I forgot. The indexer may hickup. If you still get undefines rebuild the index (wait for it to finish) and rebuild. I also increased the memory usage of Sloeber because this is a big project (embedded wise speaking) and I think the indexer was getting memory restrained. To do so mod the sloeber.ino file (next to sloeber.exe) I did 4 times more (I have plenty of memory) 2 times is probably sufficient
-Xms160m
-Xmx2048m
As this was a question I consider the question answered
@jantje I mean you can define several targets in platformio.ini and build once all these targets or choose one
@uzi18 you can do so in sloeber as well. I use this to setup debug stuff separate from the "release" stuff. It is called configurations. Sloeber does not support building al configurations in one go. However I don't really see this as a major constraint.
@jantje did not tested this feature, but in platformio.ini you can set some defines like -DSOMEFEATURE=1
if you go in project properties->arduino you can do so as well. Did you watch any of the video's I made? You can find them via sloeber->menu->arduino
Hi, FYI, I pretty much followed the directions and was able to get all the modules to compile, but ran into a problem with the linker not having enough room in iram1_0. I did some comparisons of the sonoff.map file created by Sloeber versus one created by Arduino IDE but nothing obvious. By removing the IR feature (by commenting out USE_IR_REMOTE and USE_IR_RECEIVE in my_user_config.h) I reduced the iram1_0 enough to get it to link successfully. Not sure why, but there are a few hundred bytes difference between what Arduino IDE uses vs. Sloeber. If I get a chance later, I'll redo this from scratch and see if I get the same results.
I did load this up on a nodeMCU board and have WiFi and Web pages working. It was a bit of a quick test, with the only problem thus far is mDNS doesn't appear to be working.
Anyway, first time user with Sloeber and thanks for all the work on it!!
It is normally separated build, because of lot iram use in ir/irtx plugins. Nice try.
Thanks for hint maybe we can reduce it a little.
@jantje , @uzi18 , @MAWMN , I was about to embark on the same, Tasmota is a very fine piece of software engineering but trying to modify code with PlatformIO is a hurdle. So, thanks for this thread, it will be useful to me too...
Hi, Im also in trouble to compile external library with Sloeber. Do You have any idea, how did you rid of "-Werror=unused-value" errors?
Hello, I am using Sloeber 4.3 for programming and flashing my Arduino and Wemos boards. Is there any description, video or short notes of how to import/use the Sonoff-Tasmota application in(to) the sloeber environment ? I am using Sloeber plugin 4.3 and the Sonoff Tasmota release 6.4.0
Help will be greatly appreciated.
Thanks in advance..