Closed pumino79 closed 6 years ago
Hi
Duplicated issue.
See #3238
Thanks
Hi Ascillato, the other issue (#3238) was closed without solution, if you close this how can I solve my problem?
The other issue was closed by the author (@turner-prize) with the comment (Upgraded to the latest Arduino IDE and it's working now.)
Please, try that. If that did not work for you, just click in the button below (REOPEN ISSUE) and tell us your outputs.
Hi Acillato, If you see the beginning of my issue i wrote Arduino ide 1.8.5 that is the last version of Arduino & I have also the last version of tasmota 6.1.1. This is why I have open this issue again
Have you tried uninstall and install arduino again?
yes two times
Are you copying ALL the files?
Are you using windows 10?
If yes, try Arduino 1.8.2
Was the previous version of the Arduino IDE removed when you upgraded? Need to make sure you're not still opening the file with the old version if it wasn't.
befor I used the 5.12
Are you using windows 10? Yes windows 10
If yes, try Arduino 1.8.2, -> Ok I'll try
I have installed the 1.8.2 ide and installed the Arduinojason 1.5.3 instead of the 6.beta. Now it works. Thanks
Describe the bug
Arduino ide 1.8.5 Tasmota 6.11
When I compile I receive this error:
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void SetDevicePower(power_t, int)':
sonoff:317: error: 'ShowSource' was not declared in this scope
ShowSource(source);
sonoff:336: error: 'XdrvSetPower' was not declared in this scope
XdrvSetPower(rpower);
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void MqttDataHandler(char, byte, unsigned int)':
sonoff:415: error: 'ShowFreeMem' was not declared in this scope
ShowFreeMem(PSTR("MqttDataHandler"));
sonoff:425: error: 'ShowSource' was not declared in this scope
if (topicBuf[0] != '/') { ShowSource(SRC_MQTT); }
sonoff:429: error: 'AddLog' was not declared in this scope
AddLog(LOG_LEVEL_DEBUG_MORE);
sonoff:432: error: 'XdrvMqttData' was not declared in this scope
if (XdrvMqttData(topicBuf, sizeof(topicBuf), dataBuf, sizeof(dataBuf))) return;
sonoff:473: error: 'GetStateNumber' was not declared in this scope
sonoff:479: error: 'GetCommandCode' was not declared in this scope
sonoff:481: error: 'XdrvCommand' was not declared in this scope
sonoff:492: error: 'LTrim' was not declared in this scope
sonoff:521: error: 'ExecuteCommandPower' was not declared in this scope
sonoff:530: error: 'ExecuteCommandPower' was not declared in this scope
sonoff:537: error: 'PublishStatus' was not declared in this scope
sonoff:543: error: 'MqttShowState' was not declared in this scope
sonoff:558: error: 'NewerVersion' was not declared in this scope
sonoff:574: error: 'SetSeriallog' was not declared in this scope
sonoff:585: error: 'AddLog_P' was not declared in this scope
sonoff:586: error: 'EspRestart' was not declared in this scope
sonoff:604: error: 'ExecuteCommandPower' was not declared in this scope
sonoff:636: error: 'SettingsSaveAll' was not declared in this scope
sonoff:650: error: 'XsnsCall' was not declared in this scope
sonoff:689: error: 'SettingsSave' was not declared in this scope
sonoff:693: error: 'HAssDiscovery' was not declared in this scope
sonoff:795: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:821: error: 'GetTextIndexed' was not declared in this scope
sonoff:840: error: 'GetUsedInModule' was not declared in this scope
sonoff:841: error: 'GetTextIndexed' was not declared in this scope
sonoff:844: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:858: error: 'MqttShowPWMState' was not declared in this scope
sonoff:910: error: 'SetSerialBaudrate' was not declared in this scope
sonoff:915: error: 'SetSeriallog' was not declared in this scope
sonoff:926: error: 'Unescape' was not declared in this scope
sonoff:937: error: 'Unescape' was not declared in this scope
sonoff:962: error: 'ParseIp' was not declared in this scope
sonoff:1027: error: 'WifiState' was not declared in this scope
sonoff:1097: error: 'LTrim' was not declared in this scope
sonoff:1108: error: 'SettingsResetStd' was not declared in this scope
sonoff:1110: error: 'SettingsResetDst' was not declared in this scope
sonoff:1149: error: 'I2cScan' was not declared in this scope
sonoff:1160: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
if (mqtt_data[0] != '\0') MqttPublishPrefixTopic_P(RESULT_OR_STAT, type);
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'boolean SendKey(byte, byte, byte)':
sonoff:1183: error: 'MqttIsConnected' was not declared in this scope
if (Settings.flag.mqtt_enabled && MqttIsConnected() && (strlen(key_topic) != 0) && strcmp(key_topic, "0")) {
sonoff:1185: error: 'GetPowerDevice' was not declared in this scope
sonoff:1195: error: 'DomoticzSendKey' was not declared in this scope
sonoff:1196: error: 'MqttPublishDirect' was not declared in this scope
sonoff:1204: error: 'XdrvRulesProcess' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void ExecuteCommandPower(byte, byte, int)':
sonoff:1245: error: 'MqttPublishPowerBlinkState' was not declared in this scope
sonoff:1267: error: 'DomoticzUpdatePowerState' was not declared in this scope
sonoff:1285: error: 'MqttPublishPowerBlinkState' was not declared in this scope
sonoff:1291: error: 'MqttPublishPowerBlinkState' was not declared in this scope
sonoff:1295: error: 'MqttPublishPowerState' was not declared in this scope
if (publish_power) MqttPublishPowerState(device);
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void StopAllPowerBlink()':
sonoff:1306: error: 'MqttPublishPowerBlinkState' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void ExecuteCommand(char*, int)':
sonoff:1319: error: 'ShowFreeMem' was not declared in this scope
ShowFreeMem(PSTR("ExecuteCommand"));
sonoff:1320: error: 'ShowSource' was not declared in this scope
ShowSource(source);
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void PublishStatus(uint8_t)':
sonoff:1354: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1359: error: 'GetResetReason' was not declared in this scope
sonoff:1359: error: 'GetDateAndTime' was not declared in this scope
sonoff:1359: error: 'GetSettingsAddress' was not declared in this scope
sonoff:1360: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1365: error: 'GetBuildDateAndTime' was not declared in this scope
sonoff:1366: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1372: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1378: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1385: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1390: error: 'MqttLibraryType' was not declared in this scope
sonoff:1391: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1397: error: 'GetTime' was not declared in this scope
sonoff:1397: error: 'GetSun' was not declared in this scope
sonoff:1402: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1409: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1415: error: 'MqttShowSensor' was not declared in this scope
sonoff:1418: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1420: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1426: error: 'MqttShowState' was not declared in this scope
sonoff:1428: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void MqttShowState()':
sonoff:1450: error: 'GetDateAndTime' was not declared in this scope
snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s{\"" D_JSON_TIME "\":\"%s\",\"" D_JSON_UPTIME "\":\"%s\""), mqtt_data, GetDateAndTime(DT_LOCAL).c_str(), GetDateAndTime(DT_UPTIME).c_str());
sonoff:1452: error: 'dtostrfd' was not declared in this scope
dtostrfd((double)ESP.getVcc()/1000, 3, stemp1);
sonoff:1458: error: 'LightState' was not declared in this scope
sonoff:1460: error: 'GetPowerDevice' was not declared in this scope
sonoff:1474: error: 'WifiGetRssiAsQuality' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'boolean MqttShowSensor()':
sonoff:1479: error: 'GetDateAndTime' was not declared in this scope
snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s{\"" D_JSON_TIME "\":\"%s\""), mqtt_data, GetDateAndTime(DT_LOCAL).c_str());
sonoff:1491: error: 'XsnsCall' was not declared in this scope
XsnsCall(FUNC_JSON_APPEND);
sonoff:1494: error: 'TempUnit' was not declared in this scope
sonoff:1498: error: 'XdrvCall' was not declared in this scope
if (json_data_available) XdrvCall(FUNC_SHOW_SENSOR);
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void PerformEverySecond()':
sonoff:1518: error: 'AddLog_P' was not declared in this scope
sonoff:1529: error: 'AddLog_P' was not declared in this scope
sonoff:1538: error: 'MqttPublishPowerState' was not declared in this scope
sonoff:1547: error: 'XsnsCall' was not declared in this scope
sonoff:1554: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1560: error: 'RulesTeleperiod' was not declared in this scope
sonoff:1566: error: 'XdrvCall' was not declared in this scope
XdrvCall(FUNC_EVERY_SECOND);
sonoff:1567: error: 'XsnsCall' was not declared in this scope
XsnsCall(FUNC_EVERY_SECOND);
sonoff:1571: error: 'GetDateAndTime' was not declared in this scope
sonoff:1572: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void ButtonHandler()':
sonoff:1597: error: 'AddLog' was not declared in this scope
sonoff:1619: error: 'AddLog' was not declared in this scope
sonoff:1625: error: 'AddLog' was not declared in this scope
sonoff:1637: error: 'AddLog' was not declared in this scope
sonoff:1644: error: 'AddLog' was not declared in this scope
sonoff:1694: error: 'WifiState' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void StateLoop()':
sonoff:1877: error: 'XdrvCall' was not declared in this scope
XdrvCall(FUNC_EVERY_50_MSECOND);
sonoff:1878: error: 'XsnsCall' was not declared in this scope
XsnsCall(FUNC_EVERY_50_MSECOND);
sonoff:1933: error: 'SettingsSave' was not declared in this scope
sonoff:1937: error: 'StopWebserver' was not declared in this scope
sonoff:1940: error: 'AriluxRfDisable' was not declared in this scope
sonoff:1960: error: 'AddLog' was not declared in this scope
sonoff:1978: error: 'SetFlashModeDout' was not declared in this scope
sonoff:1984: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
sonoff:1989: error: 'MidnightNow' was not declared in this scope
sonoff:1989: error: 'CounterSaveState' was not declared in this scope
sonoff:2006: error: 'SettingsSave' was not declared in this scope
sonoff:2012: error: 'SettingsSdkErase' was not declared in this scope
sonoff:2015: error: 'SettingsErase' was not declared in this scope
sonoff:2019: error: 'SettingsDefault' was not declared in this scope
sonoff:2022: error: 'SettingsSaveAll' was not declared in this scope
sonoff:2025: error: 'AddLog_P' was not declared in this scope
sonoff:2026: error: 'EspRestart' was not declared in this scope
sonoff:2031: error: 'WifiCheck' was not declared in this scope
sonoff:2035: error: 'MqttCheck' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void SerialInput()':
sonoff:2152: error: 'SonoffBridgeSerialInput' was not declared in this scope
sonoff:2164: error: 'CseSerialInput' was not declared in this scope
sonoff:2204: error: 'SonoffScSerialInput' was not declared in this scope
sonoff:2217: error: 'AddLog' was not declared in this scope
sonoff:2229: error: 'MqttPublishPrefixTopic_P' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void GpioInit()':
sonoff:2282: error: 'DhtSetup' was not declared in this scope
sonoff:2413: error: 'XdrvCall' was not declared in this scope
XdrvCall(FUNC_PRE_INIT);
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void setup()':
sonoff:2439: error: 'SettingsLoad' was not declared in this scope
SettingsLoad();
sonoff:2440: error: 'SettingsDelta' was not declared in this scope
SettingsDelta();
sonoff:2442: error: 'OsWatchInit' was not declared in this scope
OsWatchInit();
sonoff:2444: error: 'GetFeatures' was not declared in this scope
GetFeatures();
sonoff:2459: error: 'AddLog' was not declared in this scope
AddLog(LOG_LEVEL_DEBUG);
sonoff:2463: error: 'SetSerialBaudrate' was not declared in this scope
SetSerialBaudrate(baudrate);
sonoff:2474: error: 'WifiConnect' was not declared in this scope
WifiConnect();
sonoff:2532: error: 'RtcInit' was not declared in this scope
RtcInit();
sonoff:2538: error: 'XdrvCall' was not declared in this scope
XdrvCall(FUNC_INIT);
sonoff:2539: error: 'XsnsCall' was not declared in this scope
XsnsCall(FUNC_INIT);
C:\Users\lomazan1\Documents\Arduino\sonoff\sonoff.ino: In function 'void loop()':
sonoff:2544: error: 'XdrvCall' was not declared in this scope
XdrvCall(FUNC_LOOP);
sonoff:2546: error: 'OsWatchLoop' was not declared in this scope
OsWatchLoop();
C:\Users\lomazan1\Documents\Arduino\sonoff\settings.ino: In function 'bool SettingsBufferAlloc()':
settings:180: error: 'AddLog_P' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\settings.ino: In function 'void SettingsSaveAll()':
settings:204: error: 'XsnsCall' was not declared in this scope
XsnsCall(FUNC_SAVE_BEFORE_RESTART);
settings:205: error: 'SettingsSave' was not declared in this scope
SettingsSave(0);
C:\Users\lomazan1\Documents\Arduino\sonoff\settings.ino: In function 'void SettingsSave(byte)':
settings:256: error: 'AddLog' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\settings.ino: In function 'void SettingsLoad()':
settings:287: error: 'AddLog' was not declared in this scope
AddLog(LOG_LEVEL_DEBUG);
settings:289: error: 'SettingsDefault' was not declared in this scope
if (bad_crc || (Settings.cfg_holder != (uint16_t)CFG_HOLDER)) { SettingsDefault(); }
C:\Users\lomazan1\Documents\Arduino\sonoff\settings.ino: In function 'void SettingsErase(uint8_t)':
settings:314: error: 'AddLog' was not declared in this scope
AddLog(LOG_LEVEL_DEBUG);
settings:328: error: 'OsWatchLoop' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\settings.ino: In function 'void SettingsDefault()':
settings:357: error: 'AddLog_P' was not declared in this scope
AddLog_P(LOG_LEVEL_NONE, PSTR(D_LOG_CONFIG D_USE_DEFAULTS));
settings:358: error: 'SettingsDefaultSet1' was not declared in this scope
SettingsDefaultSet1();
settings:359: error: 'SettingsDefaultSet2' was not declared in this scope
SettingsDefaultSet2();
C:\Users\lomazan1\Documents\Arduino\sonoff\settings.ino: In function 'void SettingsDefaultSet2()':
settings:411: error: 'ParseIp' was not declared in this scope
ParseIp(&Settings.ip_address[0], WIFI_IP_ADDRESS);
settings:569: error: 'SettingsDefaultSet_5_8_1' was not declared in this scope
SettingsDefaultSet_5_8_1(); // Clock color
settings:572: error: 'SettingsDefaultSet_5_10_1' was not declared in this scope
SettingsDefaultSet_5_10_1(); // Display settings
settings:588: error: 'SettingsDefaultSet_5_13_1c' was not declared in this scope
SettingsDefaultSet_5_13_1c(); // Time STD/DST settings
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void SetSerialBaudrate(int)':
support:609: error: 'AddLog' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void ClaimSerial()':
support:622: error: 'AddLog_P' was not declared in this scope
AddLog_P(LOG_LEVEL_INFO, PSTR("SNS: Hardware Serial"));
support:623: error: 'SetSeriallog' was not declared in this scope
SetSeriallog(LOG_LEVEL_NONE);
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void ShowSource(int)':
support:642: error: 'AddLog' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void WifiWpsStatusCallback(wps_cb_status)':
support:950: error: 'AddLog' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void WifiConfig(uint8_t)':
support:975: error: 'UdpDisconnect' was not declared in this scope
support:997: error: 'AddLog_P' was not declared in this scope
support:1017: error: 'AddLog_P' was not declared in this scope
support:1018: error: 'WifiManagerBegin' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void WifiBegin(uint8_t)':
support:1029: error: 'UdpDisconnect' was not declared in this scope
UdpDisconnect();
support:1062: error: 'AddLog' was not declared in this scope
AddLog(LOG_LEVEL_INFO);
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void WifiCheckIp()':
support:1071: error: 'AddLog_P' was not declared in this scope
support:1085: error: 'AddLog_P' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void WifiCheck(uint8_t)':
support:1174: error: 'AddLog' was not declared in this scope
support:1186: error: 'AddLog_P' was not declared in this scope
support:1202: error: 'AddLog' was not declared in this scope
support:1207: error: 'StartWebserver' was not declared in this scope
support:1214: error: 'StopWebserver' was not declared in this scope
support:1217: error: 'UdpConnect' was not declared in this scope
support:1229: error: 'UdpDisconnect' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'boolean MdnsDiscoverMqttServer()':
support:1301: error: 'AddLog' was not declared in this scope
AddLog(LOG_LEVEL_INFO);
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'String GetDateAndTime(byte)':
support:1590: error: 'BreakTime' was not declared in this scope
support:1592: error: 'BreakTime' was not declared in this scope
support:1603: error: 'BreakTime' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'String GetUptime()':
support:1629: error: 'BreakTime' was not declared in this scope
support:1631: error: 'BreakTime' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'uint32_t GetMinutesUptime()':
support:1649: error: 'BreakTime' was not declared in this scope
support:1651: error: 'BreakTime' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void RtcSecond()':
support:1841: error: 'AddLog' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\support.ino: In function 'void Syslog()':
support:2039: error: 'AddLog' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_01_mqtt.ino: In function 'void MqttPublishDirect(const char*, boolean)':
xdrv_01_mqtt:207: error: 'ShowFreeMem' was not declared in this scope
ShowFreeMem(PSTR("MqttPublishDirect"));
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_01_mqtt.ino: In function 'void MqttConnected()':
xdrv_01_mqtt:360: error: 'XdrvCall' was not declared in this scope
xdrv_01_mqtt:382: error: 'XdrvCall' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_01_mqtt.ino: In function 'void MqttReconnect()':
xdrv_01_mqtt:440: error: 'UdpDisconnect' was not declared in this scope
UdpDisconnect();
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void StartWebserver(int, IPAddress)':
xdrv_02_webserver:369: error: 'HandleRoot' was not declared in this scope
xdrv_02_webserver:370: error: 'HandleUpgradeFirmware' was not declared in this scope
xdrv_02_webserver:371: error: 'HandleUpgradeFirmwareStart' was not declared in this scope
xdrv_02_webserver:372: error: 'HandleUploadDone' was not declared in this scope
xdrv_02_webserver:372: error: 'HandleUploadLoop' was not declared in this scope
xdrv_02_webserver:373: error: 'HandleConsole' was not declared in this scope
xdrv_02_webserver:374: error: 'HandleAjaxConsoleRefresh' was not declared in this scope
xdrv_02_webserver:375: error: 'HandleAjaxStatusRefresh' was not declared in this scope
xdrv_02_webserver:376: error: 'HandlePreflightRequest' was not declared in this scope
xdrv_02_webserver:377: error: 'HandleHttpCommand' was not declared in this scope
xdrv_02_webserver:378: error: 'HandleRestart' was not declared in this scope
xdrv_02_webserver:380: error: 'HandleConfiguration' was not declared in this scope
xdrv_02_webserver:381: error: 'HandleModuleConfiguration' was not declared in this scope
xdrv_02_webserver:383: error: 'HandleTimerConfiguration' was not declared in this scope
xdrv_02_webserver:385: error: 'HandleWifiConfigurationWithScan' was not declared in this scope
xdrv_02_webserver:386: error: 'HandleWifiConfiguration' was not declared in this scope
xdrv_02_webserver:388: error: 'HandleMqttConfiguration' was not declared in this scope
xdrv_02_webserver:390: error: 'HandleDomoticzConfiguration' was not declared in this scope
xdrv_02_webserver:396: error: 'HandleLoggingConfiguration' was not declared in this scope
xdrv_02_webserver:397: error: 'HandleOtherConfiguration' was not declared in this scope
xdrv_02_webserver:398: error: 'HandleBackupConfiguration' was not declared in this scope
xdrv_02_webserver:399: error: 'HandleSaveSettings' was not declared in this scope
xdrv_02_webserver:400: error: 'HandleRestoreConfiguration' was not declared in this scope
xdrv_02_webserver:401: error: 'HandleResetConfiguration' was not declared in this scope
xdrv_02_webserver:402: error: 'HandleInformation' was not declared in this scope
xdrv_02_webserver:405: error: 'HandleUpnpEvent' was not declared in this scope
xdrv_02_webserver:406: error: 'HandleUpnpService' was not declared in this scope
xdrv_02_webserver:407: error: 'HandleUpnpMetaService' was not declared in this scope
xdrv_02_webserver:408: error: 'HandleUpnpSetupWemo' was not declared in this scope
xdrv_02_webserver:411: error: 'HandleUpnpSetupHue' was not declared in this scope
xdrv_02_webserver:416: error: 'HandleNotFound' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void ShowPage(String&, bool)':
xdrv_02_webserver:497: error: 'ShowFreeMem' was not declared in this scope
ShowFreeMem(PSTR("ShowPage"));
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void HandleRoot()':
xdrv_02_webserver:522: error: 'CaptivePortal' was not declared in this scope
if (CaptivePortal()) { return; } // If captive portal redirect instead of displaying the page.
xdrv_02_webserver:537: error: 'HandleWifiConfiguration' was not declared in this scope
xdrv_02_webserver:555: error: 'LightGetColorTemp' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void HandleAjaxStatusRefresh()':
xdrv_02_webserver:641: error: 'XsnsCall' was not declared in this scope
XsnsCall(FUNC_WEB_APPEND);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void HandleWifiConfigurationWithScan()':
xdrv_02_webserver:765: error: 'HandleWifi' was not declared in this scope
HandleWifi(true);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void HandleWifiConfiguration()':
xdrv_02_webserver:770: error: 'HandleWifi' was not declared in this scope
HandleWifi(false);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void HandleWifi(boolean)':
xdrv_02_webserver:785: error: 'UdpDisconnect' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void HandleSaveSettings()':
xdrv_02_webserver:1101: error: 'TimerSaveSettings' was not declared in this scope
xdrv_02_webserver:1106: error: 'DomoticzSaveSettings' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void HandleUploadLoop()':
xdrv_02_webserver:1457: error: 'UdpDisconnect' was not declared in this scope
xdrv_02_webserver:1460: error: 'AriluxRfDisable' was not declared in this scope
xdrv_02_webserver:1487: error: 'SnfBrUpdateInit' was not declared in this scope
xdrv_02_webserver:1518: error: 'rf_glue_remnant_with_new_data_and_write' was not declared in this scope
xdrv_02_webserver:1526: error: 'rf_search_and_write' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'void HandleNotFound()':
xdrv_02_webserver:1780: error: 'CaptivePortal' was not declared in this scope
if (CaptivePortal()) { return; } // If captive portal redirect instead of displaying the error page.
xdrv_02_webserver:1785: error: 'HandleHueApi' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'boolean CaptivePortal()':
xdrv_02_webserver:1802: error: 'ValidIpAddress' was not declared in this scope
if ((HTTP_MANAGER == webserver_state) && !ValidIpAddress(WebServer->hostHeader())) {
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_02_webserver.ino: In function 'boolean Xdrv02(byte)':
xdrv_02_webserver:2011: error: 'PollUdp' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_03_energy.ino: In function 'void EnergyMarginCheck()':
xdrv_03_energy:753: error: 'EnergyMqttShow' was not declared in this scope
xdrv_03_energy:768: error: 'EnergyMqttShow' was not declared in this scope
xdrv_03_energy:795: error: 'EnergyMqttShow' was not declared in this scope
xdrv_03_energy:816: error: 'EnergyMqttShow' was not declared in this scope
xdrv_03_energy:822: error: 'EnergyMqttShow' was not declared in this scope
if (energy_power_delta) EnergyMqttShow();
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_03_energy.ino: In function 'void EnergyMqttShow()':
xdrv_03_energy:829: error: 'EnergyShow' was not declared in this scope
EnergyShow(1);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_03_energy.ino: In function 'void EnergyShow(boolean)':
xdrv_03_energy:1156: error: 'DomoticzSensorPowerEnergy' was not declared in this scope
xdrv_03_energy:1157: error: 'DomoticzSensor' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_04_light.ino: In function 'void LightInit()':
xdrv_04_light:384: error: 'Ws2812Init' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_04_light.ino: In function 'void LightState(uint8_t)':
xdrv_04_light:554: error: 'LightGetHsb' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_04_light.ino: In function 'void LightPreparePower()':
xdrv_04_light:595: error: 'DomoticzUpdatePowerState' was not declared in this scope
DomoticzUpdatePowerState(light_device);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_04_light.ino: In function 'void LightSetPower()':
xdrv_04_light:690: error: 'LightAnimate' was not declared in this scope
LightAnimate();
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_04_light.ino: In function 'void LightAnimate()':
xdrv_04_light:766: error: 'Ws2812ShowScheme' was not declared in this scope
xdrv_04_light:797: error: 'Ws2812SetColor' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_04_light.ino: In function 'boolean LightCommand()':
xdrv_04_light:1121: error: 'Ws2812ForceSuspend' was not declared in this scope
xdrv_04_light:1124: error: 'Ws2812SetColor' was not declared in this scope
xdrv_04_light:1132: error: 'Ws2812ForceUpdate' was not declared in this scope
xdrv_04_light:1134: error: 'Ws2812GetColor' was not declared in this scope
xdrv_04_light:1140: error: 'Ws2812Clear' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_05_irremote.ino: In function 'void IrReceiveCheck()':
xdrv_05_irremote:121: error: 'XdrvRulesProcess' was not declared in this scope
xdrv_05_irremote:124: error: 'DomoticzSensor' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_05_irremote.ino: In function 'boolean IrSendCommand()':
xdrv_05_irremote:299: error: 'StaticJsonBuffer' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_05_irremote.ino:299:7: note: suggested alternative:
In file included from C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
xdrv_05_irremote:299: error: 'jsonBuf' was not declared in this scope
xdrv_05_irremote:301: error: 'class ArduinoJson::JsonObject' has no member named 'success'
C:\Users\lomazan1\Documents\Arduino\sonoff\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:105: error: 'rf_decode_and_write' was not declared in this scope
result = rf_decode_and_write(glue_buf, glue_record_sz);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_06_snfbridge.ino: In function 'void SonoffBridgeReceivedRaw()':
xdrv_06_snfbridge:236: error: 'XdrvRulesProcess' was not declared in this scope
XdrvRulesProcess();
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_06_snfbridge.ino: In function 'void SonoffBridgeReceived()':
xdrv_06_snfbridge:307: error: 'XdrvRulesProcess' was not declared in this scope
xdrv_06_snfbridge:309: error: 'DomoticzSensor' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_07_domoticz.ino: In function 'boolean DomoticzMqttData()':
xdrv_07_domoticz:168: error: 'StaticJsonBuffer' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_07_domoticz.ino:168:5: note: suggested alternative:
In file included from C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
xdrv_07_domoticz:168: error: 'jsonBuf' was not declared in this scope
xdrv_07_domoticz:170: error: 'class ArduinoJson::JsonObject' has no member named 'success'
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_09_timers.ino: In function 'void TimerEverySecond()':
xdrv_09_timers:290: error: 'XdrvRulesProcess' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_09_timers.ino: In function 'boolean TimerCommand()':
xdrv_09_timers:364: error: 'StaticJsonBuffer' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_09_timers.ino:364:11: note: suggested alternative:
In file included from C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
xdrv_09_timers:364: error: 'jsonBuffer' was not declared in this scope
xdrv_09_timers:366: error: 'class ArduinoJson::JsonObject' has no member named 'success'
xdrv_09_timers:373: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
xdrv_09_timers:377: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
xdrv_09_timers:381: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
xdrv_09_timers:408: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
xdrv_09_timers:412: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
xdrv_09_timers:425: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
xdrv_09_timers:428: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
xdrv_09_timers:432: error: 'class ArduinoJson::Internals::JsonObjectSubscript<char*>' has no member named 'success'
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_10_rules.ino: In function 'bool RulesRuleMatch(byte, String&, String&)':
xdrv_10_rules:220: error: 'StaticJsonBuffer' was not declared in this scope
StaticJsonBuffer<1024> jsonBuf;
^
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_10_rules.ino:220:3: note: suggested alternative:
In file included from C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
xdrv_10_rules:220: error: 'jsonBuf' was not declared in this scope
StaticJsonBuffer<1024> jsonBuf;
xdrv_10_rules:222: error: 'class ArduinoJson::JsonObject' has no member named 'success'
if (!root.success()) { return false; } // No valid JSON data
xdrv_10_rules:231: error: 'ArduinoJson::Internals::enable_if<true, ArduinoJson::Internals::JsonObjectSubscript<const String&> >::type' has no member named 'success'
if (!root[rule_task][rule_name].success()) { return false; }
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_10_rules.ino: In function 'bool RulesProcessEvent(char*)':
xdrv_10_rules:355: error: 'ShowFreeMem' was not declared in this scope
ShowFreeMem(PSTR("RulesProcessEvent"));
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_10_rules.ino: In function 'void RulesEvery50ms()':
xdrv_10_rules:450: error: 'XsnsNextCall' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_10_rules.ino: In function 'boolean RulesCommand()':
xdrv_10_rules:585: error: 'subStr' was not declared in this scope
xdrv_10_rules:590: error: 'map_double' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_interface.ino: In function 'boolean XdrvCommand(uint8_t, char, uint16_t, char, uint16_t, int16_t, uint16_t)':
xdrv_interface:153: error: 'XdrvCall' was not declared in this scope
return XdrvCall(FUNC_COMMAND);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_interface.ino: In function 'void XdrvSetPower(power_t)':
xdrv_interface:161: error: 'XdrvCall' was not declared in this scope
XdrvCall(FUNC_SET_POWER);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_interface.ino: In function 'boolean XdrvMqttData(char, uint16_t, char, uint16_t)':
xdrv_interface:171: error: 'XdrvCall' was not declared in this scope
return XdrvCall(FUNC_MQTT_DATA);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_interface.ino: In function 'boolean XdrvRulesProcess()':
xdrv_interface:176: error: 'XdrvCall' was not declared in this scope
return XdrvCall(FUNC_RULES_PROCESS);
C:\Users\lomazan1\Documents\Arduino\sonoff\xdrv_interface.ino: In function 'void ShowFreeMem(const char*)':
xdrv_interface:184: error: 'XdrvCall' was not declared in this scope
XdrvCall(FUNC_FREE_MEM);
C:\Users\lomazan1\Documents\Arduino\sonoff\xplg_wemohue.ino: In function 'void HueLights(String*)':
xplg_wemohue:652: error: 'StaticJsonBuffer' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xplg_wemohue.ino:652:7: note: suggested alternative:
In file included from C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/StaticJsonDocument.hpp:8:0,
C:\Users\lomazan1\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note: 'ArduinoJson::Internals::StaticJsonBuffer'
class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
xplg_wemohue:652: error: 'jsonBuffer' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xplg_ws2812.ino: In function 'void Ws2812Init()':
xplg_ws2812:337: error: 'Ws2812Clear' was not declared in this scope
Ws2812Clear();
C:\Users\lomazan1\Documents\Arduino\sonoff\xsns_07_sht1x.ino: In function 'boolean ShtReset()':
xsns_07_sht1x:54: error: 'ShtSendCommand' was not declared in this scope
boolean success = ShtSendCommand(SHT1X_CMD_SOFT_RESET);
C:\Users\lomazan1\Documents\Arduino\sonoff\xsns_22_sr04.ino: In function 'boolean Sr04Read(uint16_t*)':
xsns_22_sr04:62: error: 'Sr04GetSamples' was not declared in this scope
duration = Sr04GetSamples(9, 250);
C:\Users\lomazan1\Documents\Arduino\sonoff\xsns_23_sdm120.ino: In function 'void SDM120_ModbusSend(uint8_t, uint16_t, uint16_t)':
xsns_23_sdm120:60: error: 'SDM120_calculateCRC' was not declared in this scope
uint16_t crc = SDM120_calculateCRC(frame, 6); // calculate out crc only from first 6 bytes
C:\Users\lomazan1\Documents\Arduino\sonoff\xsns_23_sdm120.ino: In function 'uint8_t SDM120_ModbusReceive(float*)':
xsns_23_sdm120:89: error: 'SDM120_calculateCRC' was not declared in this scope
C:\Users\lomazan1\Documents\Arduino\sonoff\xsns_25_sdm630.ino: In function 'void SDM630_ModbusSend(uint8_t, uint16_t, uint16_t)':
xsns_25_sdm630:58: error: 'SDM630_calculateCRC' was not declared in this scope
uint16_t crc = SDM630_calculateCRC(frame, 6); // calculate out crc only from first 6 bytes
C:\Users\lomazan1\Documents\Arduino\sonoff\xsns_25_sdm630.ino: In function 'uint8_t SDM630_ModbusReceive(float*)':
xsns_25_sdm630:87: error: 'SDM630_calculateCRC' was not declared in this scope
exit status 1 'ShowSource' was not declared in this scope