Also ich habe nun auch ein Problem..
Sorry für den langen Fehlerbericht, ich wünschte er wäre nicht vorhanden.. Kann mir evtl jemand bitte helfen?
Code
Arduino: 1.8.5 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled, ck, 26 MHz, 40MHz, DOUT (compatible), 1M (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Users\Julian\Downloads\[definition='25','0']Sonoff[/definition] Tasmota\Sonoff-Tasmota-development2\[definition='84','0']sonoff[/definition]\support.ino: In function 'bool JsonTemplate(const char*)':
support:859: error: 'jb' was not declared in this scope
JsonObject& obj = jb.parseObject(dataBuf);
support:860: error: 'ArduinoJson::JsonObject' has no member named 'success'
if (!obj.success()) { return false; }
^
support:867: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, const char*> >::type' has no member named 'success'
if (obj[D_JSON_GPIO].success()) {
^
support:872: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, const char*> >::type' has no member named 'success'
if (obj[D_JSON_FLAG].success()) {
^
support:876: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, const char*> >::type' has no member named 'success'
if (obj[D_JSON_BASE].success()) {
^
C:\Users\Julian\Downloads\[definition='25','0']Sonoff[/definition] Tasmota\Sonoff-Tasmota-development2\[definition='84','0']sonoff[/definition]\xdrv_05_irremote.ino: In function 'bool IrSendCommand()':
xdrv_05_irremote:554: error: 'jsonBuf' was not declared in this scope
JsonObject &root = jsonBuf.parseObject(dataBufUc);
^
xdrv_05_irremote:555: error: 'ArduinoJson::JsonObject' has no member named 'success'
if (!root.success()) {
^
C:\Users\Julian\Downloads\[definition='25','0']Sonoff[/definition] Tasmota\Sonoff-Tasmota-development2\[definition='84','0']sonoff[/definition]\xdrv_07_domoticz.ino: In function 'bool DomoticzMqttData()':
xdrv_07_domoticz:197: error: 'jsonBuf' was not declared in this scope
JsonObject& domoticz = jsonBuf.parseObject(XdrvMailbox.data);
^
xdrv_07_domoticz:198: error: 'ArduinoJson::JsonObject' has no member named 'success'
if (!domoticz.success()) {
^
xdrv_07_domoticz:236: error: invalid initialization of non-const reference of type 'ArduinoJson::JsonObject& {aka ArduinoJson6100_000::ObjectRef&}' from an rvalue of type 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, const char*> >::type {aka ArduinoJson6100_000::MemberProxy6100_000::ObjectRef&, const char*>}'
JsonObject& color = domoticz["Color"];
^
C:\Users\Julian\Downloads\[definition='25','0']Sonoff[/definition] Tasmota\Sonoff-Tasmota-development2\[definition='84','0']sonoff[/definition]\xdrv_09_timers.ino: In function 'bool TimerCommand()':
xdrv_09_timers:366: error: 'jsonBuffer' was not declared in this scope
JsonObject& root = jsonBuffer.parseObject(dataBufUc);
^
xdrv_09_timers:367: error: 'ArduinoJson::JsonObject' has no member named 'success'
if (!root.success()) {
^
xdrv_09_timers:374: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, char*> >::type' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_ARM))].success()) {
^
xdrv_09_timers:378: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, char*> >::type' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_MODE))].success()) {
^
xdrv_09_timers:382: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, char*> >::type' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_TIME))].success()) {
^
xdrv_09_timers:409: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, char*> >::type' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_WINDOW))].success()) {
^
xdrv_09_timers:413: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, char*> >::type' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_DAYS))].success()) {
xdrv_09_timers:426: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, char*> >::type' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_REPEAT))].success()) {
xdrv_09_timers:429: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, char*> >::type' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_OUTPUT))].success()) {
xdrv_09_timers:433: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::ObjectRef&, char*> >::type' has no member named 'success'
if (root[UpperCase_P(parm_uc, PSTR(D_JSON_TIMER_ACTION))].success()) {
C:\Users\Julian\Downloads\[definition='25','0']Sonoff[/definition] Tasmota\Sonoff-Tasmota-development2\[definition='84','0']sonoff[/definition]\xdrv_10_rules.ino: In function 'bool RulesRuleMatch(uint8_t, String&, String&)':
xdrv_10_rules:234: error: 'jsonBuf' was not declared in this scope
JsonObject &root = jsonBuf.parseObject(event);
xdrv_10_rules:235: error: 'ArduinoJson::JsonObject' has no member named 'success'
if (!root.success()) { return false; } // No valid JSON data
xdrv_10_rules:243: error: 'ArduinoJson6100_000::enable_if6100_000::MemberProxy6100_000::MemberProxy6100_000::ObjectRef&, const String&>&, const String&> >::type' has no member named 'success'
if (!root[rule_task][rule_name].success()) { return false; }
C:\Users\Julian\Downloads\[definition='25','0']Sonoff[/definition] Tasmota\Sonoff-Tasmota-development2\[definition='84','0']sonoff[/definition]\xdrv_12_home_assistant.ino: In function 'void HAssAnnounceSensors()':
xdrv_12_home_assistant:480: error: 'jsonBuffer' was not declared in this scope
JsonObject& root = jsonBuffer.parseObject(sensordata);
xdrv_12_home_assistant:481: error: 'ArduinoJson::JsonObject' has no member named 'success'
if (!root.success()) {
xdrv_12_home_assistant:486: error: cannot convert 'ArduinoJson6100_000::Pair::key' from type 'ArduinoJson6100_000::String (ArduinoJson6100_000::Pair::)()const' to type 'const char*'
const char* sensorname = sensor.key;
xdrv_12_home_assistant:487: error: 'sensor.ArduinoJson6100_000::Pair::value' does not have class type
JsonObject& sensors = sensor.value.as();
xdrv_12_home_assistant:487: error: expected primary-expression before '>' token
JsonObject& sensors = sensor.value.as();
xdrv_12_home_assistant:487: error: expected primary-expression before ')' token
JsonObject& sensors = sensor.value.as();
xdrv_12_home_assistant:488: error: 'ArduinoJson::JsonObject' has no member named 'success'
if (!sensors.success()) {
xdrv_12_home_assistant:493: error: cannot convert 'ArduinoJson6100_000::Pair::key' from type 'ArduinoJson6100_000::String (ArduinoJson6100_000::Pair::)()const' to type 'const char*'
HAssAnnounceSensor(sensorname, subsensor.key);
C:\Users\Julian\Downloads\[definition='25','0']Sonoff[/definition] Tasmota\Sonoff-Tasmota-development2\[definition='84','0']sonoff[/definition]\xdrv_17_rcswitch.ino: In function 'bool RfSendCommand()':
xdrv_17_rcswitch:106: error: 'jsonBuf' was not declared in this scope
JsonObject &root = jsonBuf.parseObject(dataBufUc);
xdrv_17_rcswitch:107: error: 'ArduinoJson::JsonObject' has no member named 'success'
if (root.success()) {
C:\Users\Julian\Downloads\[definition='25','0']Sonoff[/definition] Tasmota\Sonoff-Tasmota-development2\[definition='84','0']sonoff[/definition]\xplg_wemohue.ino: In function 'void HueLights(String*)':
xplg_wemohue:664: error: 'jsonBuffer' was not declared in this scope
JsonObject &hue_json = jsonBuffer.parseObject(WebServer->arg((WebServer->args())-1));
Mehrere Bibliotheken wurden für "ArduinoJson.h" gefunden
Benutzt: C:\Users\Julian\Documents\Arduino\libraries\ArduinoJson
Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\ArduinoJson-5.13.4
Mehrere Bibliotheken wurden für "PubSubClient.h" gefunden
Benutzt: C:\Users\Julian\Documents\Arduino\libraries\PubSubClient
Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\PubSubClient-EspEasy-2.6.09
Mehrere Bibliotheken wurden für "IRremoteESP8266.h" gefunden
Benutzt: C:\Users\Julian\Documents\Arduino\libraries\IRremoteESP8266
Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\IRremoteESP8266-2.5.2.03
Mehrere Bibliotheken wurden für "NeoPixelBus.h" gefunden
Benutzt: C:\Users\Julian\Documents\Arduino\libraries\NeoPixelBus_by_Makuna
Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\NeoPixelBus-2.2.9
Mehrere Bibliotheken wurden für "Adafruit_SGP30.h" gefunden
Benutzt: C:\Users\Julian\Documents\Arduino\libraries\Adafruit_SGP30_Sensor
Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\Adafruit_SGP30-1.0.0.13
exit status 1
'jb' was not declared in this scope
Alles anzeigen