arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.16k stars 4.8k forks source link

void HAssDiscovery(uint8_t) compile error #3539

Closed thundergreen closed 6 years ago

thundergreen commented 6 years ago

Make sure these boxes are checked [x] before submitting your issue - Thank you!

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/webserver.ino: In function 'void HandleAjaxStatusRefresh()': webserver:575: error: too few arguments to function 'void ExecuteCommandPower(byte, byte, int)' ExecuteCommandPower(atoi(tmp), POWER_TOGGLE); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1234:6: note: declared here void ExecuteCommandPower(byte device, byte state, int source) ^ webserver:580: error: too few arguments to function 'void ExecuteCommand(char, int)' ExecuteCommand(svalue); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1334:6: note: declared here void ExecuteCommand(char cmnd, int source) ^ webserver:585: error: too few arguments to function 'void ExecuteCommand(char, int)' ExecuteCommand(svalue); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1334:6: note: declared here void ExecuteCommand(char cmnd, int source) ^ webserver:590: error: too few arguments to function 'void ExecuteCommand(char, int)' ExecuteCommand(svalue); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1334:6: note: declared here void ExecuteCommand(char cmnd, int source) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/webserver.ino: In function 'boolean GetUsedInModule(byte, uint8_t)': webserver:646: error: redefinition of 'boolean GetUsedInModule(byte, uint8_t)' boolean GetUsedInModule(byte val, uint8_t arr) ^ support:542: error: 'boolean GetUsedInModule(byte, uint8_t)' previously defined here boolean GetUsedInModule(byte val, uint8_t arr) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/webserver.ino: In function 'void HandleResetConfiguration()': webserver:1172: error: too few arguments to function 'void ExecuteCommand(char, int)' ExecuteCommand(svalue); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1334:6: note: declared here void ExecuteCommand(char cmnd, int source) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/webserver.ino: In function 'void HandleUpgradeFirmwareStart()': webserver:1224: error: too few arguments to function 'void ExecuteCommand(char, int)' ExecuteCommand(svalue); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1334:6: note: declared here void ExecuteCommand(char cmnd, int source) ^ webserver:1236: error: too few arguments to function 'void ExecuteCommand(char, int)' ExecuteCommand(svalue); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1334:6: note: declared here void ExecuteCommand(char cmnd, int source) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/webserver.ino: In function 'void HandleHttpCommand()': webserver:1429: error: too few arguments to function 'void ExecuteCommand(char, int)' if (strlen(svalue)) { ExecuteCommand(svalue); } ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1334:6: note: declared here void ExecuteCommand(char cmnd, int source) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/webserver.ino: In function 'void HandleAjaxConsoleRefresh()': webserver:1488: error: too few arguments to function 'void ExecuteCommand(char, int)' ExecuteCommand(svalue); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1334:6: note: declared here void ExecuteCommand(char cmnd, int source) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_light.ino: In function 'void AriluxRfHandler()': xdrv_01_light:233: error: too few arguments to function 'void ExecuteCommand(char, int)' ExecuteCommand(command); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1334:6: note: declared here void ExecuteCommand(char *cmnd, int source) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_light.ino: In function 'void LightPowerOn()': xdrv_01_light:532: error: too few arguments to function 'void ExecuteCommandPower(byte, byte, int)' ExecuteCommandPower(light_device, POWER_ON); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1234:6: note: declared here void ExecuteCommandPower(byte device, byte state, int source) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_light.ino: In function 'void LightPreparePower()': xdrv_01_light:588: error: too few arguments to function 'void ExecuteCommandPower(byte, byte, int)' ExecuteCommandPower(light_device, POWER_ON_NO_STATE); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1234:6: note: declared here void ExecuteCommandPower(byte device, byte state, int source) ^ xdrv_01_light:592: error: too few arguments to function 'void ExecuteCommandPower(byte, byte, int)' ExecuteCommandPower(light_device, POWER_OFF_NO_STATE); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/sonoff.ino:1234:6: note: declared here void ExecuteCommandPower(byte device, byte state, int source) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: At global scope: xdrv_01_mqtt:43: error: multiple definition of 'enum MqttCommands' enum MqttCommands { ^ xdrv_00_mqtt:43: error: previous definition here enum MqttCommands { ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char kMqttCommands []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino:47:28: note: in expansion of macro 'PROGMEM' const char kMqttCommands[] PROGMEM = ^ xdrv_00_mqtt:47: error: 'const char kMqttCommands [204]' previously defined here const char kMqttCommands[] PROGMEM = ^ xdrv_01_mqtt:52: error: redefinition of 'uint8_t mqtt_retry_counter' uint8_t mqtt_retry_counter = 1; // MQTT connection retry counter ^ xdrv_00_mqtt:52: error: 'uint8_t mqtt_retry_counter' previously defined here uint8_t mqtt_retry_counter = 1; // MQTT connection retry counter ^ xdrv_01_mqtt:53: error: redefinition of 'uint8_t mqtt_initial_connection_state' uint8_t mqtt_initial_connection_state = 2; // MQTT connection messages state ^ xdrv_00_mqtt:53: error: 'uint8_t mqtt_initial_connection_state' previously defined here uint8_t mqtt_initial_connection_state = 2; // MQTT connection messages state ^ xdrv_01_mqtt:54: error: redefinition of 'bool mqtt_connected' bool mqtt_connected = false; // MQTT virtual connection status ^ xdrv_00_mqtt:54: error: 'bool mqtt_connected' previously defined here bool mqtt_connected = false; // MQTT virtual connection status ^ xdrv_01_mqtt:75: error: redefinition of 'PubSubClient MqttClient' PubSubClient MqttClient(EspClient); ^ xdrv_00_mqtt:75: error: 'PubSubClient MqttClient' previously declared here PubSubClient MqttClient(EspClient); ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'bool MqttIsConnected()': xdrv_01_mqtt:77: error: redefinition of 'bool MqttIsConnected()' bool MqttIsConnected() ^ xdrv_00_mqtt:77: error: 'bool MqttIsConnected()' previously defined here bool MqttIsConnected() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttDisconnect()': xdrv_01_mqtt:82: error: redefinition of 'void MqttDisconnect()' void MqttDisconnect() ^ xdrv_00_mqtt:82: error: 'void MqttDisconnect()' previously defined here void MqttDisconnect() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttSubscribeLib(char)': xdrv_01_mqtt:87: error: redefinition of 'void MqttSubscribeLib(char)' void MqttSubscribeLib(char topic) ^ xdrv_00_mqtt:87: error: 'void MqttSubscribeLib(char)' previously defined here void MqttSubscribeLib(char topic) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'bool MqttPublishLib(const char, boolean)': xdrv_01_mqtt:93: error: redefinition of 'bool MqttPublishLib(const char, boolean)' bool MqttPublishLib(const char topic, boolean retained) ^ xdrv_00_mqtt:93: error: 'bool MqttPublishLib(const char, boolean)' previously defined here bool MqttPublishLib(const char topic, boolean retained) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttLoop()': xdrv_01_mqtt:100: error: redefinition of 'void MqttLoop()' void MqttLoop() ^ xdrv_00_mqtt:98: error: 'void MqttLoop()' previously defined here void MqttLoop() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'int MqttLibraryType()': xdrv_01_mqtt:187: error: redefinition of 'int MqttLibraryType()' int MqttLibraryType() ^ xdrv_00_mqtt:185: error: 'int MqttLibraryType()' previously defined here int MqttLibraryType() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttRetryCounter(uint8_t)': xdrv_01_mqtt:192: error: redefinition of 'void MqttRetryCounter(uint8_t)' void MqttRetryCounter(uint8_t value) ^ xdrv_00_mqtt:190: error: 'void MqttRetryCounter(uint8_t)' previously defined here void MqttRetryCounter(uint8_t value) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttSubscribe(char)': xdrv_01_mqtt:197: error: redefinition of 'void MqttSubscribe(char)' void MqttSubscribe(char topic) ^ xdrv_00_mqtt:195: error: 'void MqttSubscribe(char)' previously defined here void MqttSubscribe(char topic) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttPublishDirect(const char, boolean)': xdrv_01_mqtt:204: error: redefinition of 'void MqttPublishDirect(const char, boolean)' void MqttPublishDirect(const char topic, boolean retained) ^ xdrv_00_mqtt:202: error: 'void MqttPublishDirect(const char, boolean)' previously defined here void MqttPublishDirect(const char topic, boolean retained) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttPublish(const char, boolean)': xdrv_01_mqtt:238: error: redefinition of 'void MqttPublish(const char, boolean)' void MqttPublish(const char topic, boolean retained) ^ xdrv_00_mqtt:234: error: 'void MqttPublish(const char, boolean)' previously defined here void MqttPublish(const char topic, boolean retained) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttPublish(const char)': xdrv_01_mqtt:251: error: redefinition of 'void MqttPublish(const char)' void MqttPublish(const char topic) ^ xdrv_00_mqtt:247: error: 'void MqttPublish(const char)' previously defined here void MqttPublish(const char topic) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttPublishPrefixTopic_P(uint8_t, const char, boolean)': xdrv_01_mqtt:256: error: redefinition of 'void MqttPublishPrefixTopic_P(uint8_t, const char, boolean)' void MqttPublishPrefixTopic_P(uint8_t prefix, const char subtopic, boolean retained) ^ xdrv_00_mqtt:252: error: 'void MqttPublishPrefixTopic_P(uint8_t, const char, boolean)' previously defined here void MqttPublishPrefixTopic_P(uint8_t prefix, const char subtopic, boolean retained) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttPublishPrefixTopic_P(uint8_t, const char)': xdrv_01_mqtt:277: error: redefinition of 'void MqttPublishPrefixTopic_P(uint8_t, const char)' void MqttPublishPrefixTopic_P(uint8_t prefix, const char subtopic) ^ xdrv_00_mqtt:273: error: 'void MqttPublishPrefixTopic_P(uint8_t, const char)' previously defined here void MqttPublishPrefixTopic_P(uint8_t prefix, const char subtopic) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttPublishPowerState(byte)': xdrv_01_mqtt:282: error: redefinition of 'void MqttPublishPowerState(byte)' void MqttPublishPowerState(byte device) ^ xdrv_00_mqtt:278: error: 'void MqttPublishPowerState(byte)' previously defined here void MqttPublishPowerState(byte device) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttPublishPowerBlinkState(byte)': xdrv_01_mqtt:308: error: redefinition of 'void MqttPublishPowerBlinkState(byte)' void MqttPublishPowerBlinkState(byte device) ^ xdrv_00_mqtt:296: error: 'void MqttPublishPowerBlinkState(byte)' previously defined here void MqttPublishPowerBlinkState(byte device) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttDisconnected(int)': xdrv_01_mqtt:323: error: redefinition of 'void MqttDisconnected(int)' void MqttDisconnected(int state) ^ xdrv_00_mqtt:311: error: 'void MqttDisconnected(int)' previously defined here void MqttDisconnected(int state) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttConnected()': xdrv_01_mqtt:334: error: redefinition of 'void MqttConnected()' void MqttConnected() ^ xdrv_00_mqtt:325: error: 'void MqttConnected()' previously defined here void MqttConnected() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttReconnect()': xdrv_01_mqtt:432: error: redefinition of 'void MqttReconnect()' void MqttReconnect() ^ xdrv_00_mqtt:428: error: 'void MqttReconnect()' previously defined here void MqttReconnect() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'void MqttCheck()': xdrv_01_mqtt:515: error: redefinition of 'void MqttCheck()' void MqttCheck() ^ xdrv_00_mqtt:510: error: 'void MqttCheck()' previously defined here void MqttCheck() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'bool MqttCommand()': xdrv_01_mqtt:536: error: redefinition of 'bool MqttCommand()' bool MqttCommand() ^ xdrv_00_mqtt:527: error: 'bool MqttCommand()' previously defined here bool MqttCommand() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_01_mqtt.ino: In function 'boolean Xdrv01(byte)': xdrv_01_mqtt:766: error: redefinition of 'boolean Xdrv01(byte)' boolean Xdrv01(byte function) ^ xdrv_01_light:1287: error: 'boolean Xdrv01(byte)' previously defined here boolean Xdrv01(byte function) ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: At global scope: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_HEAD []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:36:24: note: in expansion of macro 'PROGMEM' const char HTTP_HEAD[] PROGMEM = ^ webserver:31: error: 'const char HTTP_HEAD [970]' previously defined here const char HTTP_HEAD[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_HEAD_STYLE []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:107:30: note: in expansion of macro 'PROGMEM' const char HTTP_HEAD_STYLE[] PROGMEM = ^ webserver:81: error: 'const char HTTP_HEAD_STYLE [935]' previously defined here const char HTTP_HEAD_STYLE[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_SCRIPT_CONSOL []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:141:33: note: in expansion of macro 'PROGMEM' const char HTTP_SCRIPT_CONSOL[] PROGMEM = ^ webserver:113: error: 'const char HTTP_SCRIPT_CONSOL [677]' previously defined here const char HTTP_SCRIPT_CONSOL[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_SCRIPT_MODULE1 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:177:34: note: in expansion of macro 'PROGMEM' const char HTTP_SCRIPT_MODULE1[] PROGMEM = ^ webserver:149: error: 'const char HTTP_SCRIPT_MODULE1 [129]' previously defined here const char HTTP_SCRIPT_MODULE1[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_SCRIPT_MODULE2 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:185:34: note: in expansion of macro 'PROGMEM' const char HTTP_SCRIPT_MODULE2[] PROGMEM = ^ webserver:157: error: 'const char HTTP_SCRIPT_MODULE2 [17]' previously defined here const char HTTP_SCRIPT_MODULE2[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_SCRIPT_MODULE3 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:187:34: note: in expansion of macro 'PROGMEM' const char HTTP_SCRIPT_MODULE3[] PROGMEM = ^ webserver:159: error: 'const char HTTP_SCRIPT_MODULE3 [68]' previously defined here const char HTTP_SCRIPT_MODULE3[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_SCRIPT_INFO_BEGIN []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:190:37: note: in expansion of macro 'PROGMEM' const char HTTP_SCRIPT_INFO_BEGIN[] PROGMEM = ^ webserver:162: error: 'const char HTTP_SCRIPT_INFO_BEGIN [23]' previously defined here const char HTTP_SCRIPT_INFO_BEGIN[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_SCRIPT_INFO_END []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:193:35: note: in expansion of macro 'PROGMEM' const char HTTP_SCRIPT_INFO_END[] PROGMEM = ^ webserver:165: error: 'const char HTTP_SCRIPT_INFO_END [100]' previously defined here const char HTTP_SCRIPT_INFO_END[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_MSG_SLIDER1 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:199:31: note: in expansion of macro 'PROGMEM' const char HTTP_MSG_SLIDER1[] PROGMEM = ^ webserver:171: error: 'const char HTTP_MSG_SLIDER1 [149]' previously defined here const char HTTP_MSG_SLIDER1[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_MSG_SLIDER2 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:202:31: note: in expansion of macro 'PROGMEM' const char HTTP_MSG_SLIDER2[] PROGMEM = ^ webserver:174: error: 'const char HTTP_MSG_SLIDER2 [149]' previously defined here const char HTTP_MSG_SLIDER2[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_MSG_RSTRT []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:205:29: note: in expansion of macro 'PROGMEM' const char HTTP_MSG_RSTRT[] PROGMEM = ^ webserver:177: error: 'const char HTTP_MSG_RSTRT [85]' previously defined here const char HTTP_MSG_RSTRT[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_BTN_MENU1 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:207:29: note: in expansion of macro 'PROGMEM' const char HTTP_BTN_MENU1[] PROGMEM = ^ webserver:179: error: 'const char HTTP_BTN_MENU1 [288]' previously defined here const char HTTP_BTN_MENU1[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_BTN_RSTRT []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:214:29: note: in expansion of macro 'PROGMEM' const char HTTP_BTN_RSTRT[] PROGMEM = ^ webserver:186: error: 'const char HTTP_BTN_RSTRT [134]' previously defined here const char HTTP_BTN_RSTRT[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_BTN_MENU_MODULE []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:216:35: note: in expansion of macro 'PROGMEM' const char HTTP_BTN_MENU_MODULE[] PROGMEM = ^ webserver:188: error: 'const char HTTP_BTN_MENU_MODULE [77]' previously defined here const char HTTP_BTN_MENU_MODULE[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_BTN_MENU_TIMER []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:219:34: note: in expansion of macro 'PROGMEM' const char HTTP_BTN_MENU_TIMER[] PROGMEM = ^ webserver:191: error: 'const char HTTP_BTN_MENU_TIMER [76]' previously defined here const char HTTP_BTN_MENU_TIMER[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_BTN_MENU_WIFI []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:222:33: note: in expansion of macro 'PROGMEM' const char HTTP_BTN_MENU_WIFI[] PROGMEM = ^ webserver:194: error: 'const char HTTP_BTN_MENU_WIFI [75]' previously defined here const char HTTP_BTN_MENU_WIFI[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_BTN_MENU_MQTT []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:224:33: note: in expansion of macro 'PROGMEM' const char HTTP_BTN_MENU_MQTT[] PROGMEM = ^ webserver:196: error: 'const char HTTP_BTN_MENU_MQTT [153]' previously defined here const char HTTP_BTN_MENU_MQTT[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_BTN_MENU4 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:230:29: note: in expansion of macro 'PROGMEM' const char HTTP_BTN_MENU4[] PROGMEM = ^ webserver:202: error: 'const char HTTP_BTN_MENU4 [476]' previously defined here const char HTTP_BTN_MENU4[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_BTN_MAIN []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:242:28: note: in expansion of macro 'PROGMEM' const char HTTP_BTN_MAIN[] PROGMEM = ^ webserver:212: error: 'const char HTTP_BTN_MAIN [74]' previously defined here const char HTTP_BTN_MAIN[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_LOGIN []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:244:30: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_LOGIN[] PROGMEM = ^ webserver:214: error: 'const char HTTP_FORM_LOGIN [222]' previously defined here const char HTTP_FORM_LOGIN[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_BTN_CONF []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:250:28: note: in expansion of macro 'PROGMEM' const char HTTP_BTN_CONF[] PROGMEM = ^ webserver:220: error: 'const char HTTP_BTN_CONF [79]' previously defined here const char HTTP_BTN_CONF[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_MODULE []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:252:31: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_MODULE[] PROGMEM = ^ webserver:222: error: 'const char HTTP_FORM_MODULE [213]' previously defined here const char HTTP_FORM_MODULE[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_LNK_ITEM []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:256:28: note: in expansion of macro 'PROGMEM' const char HTTP_LNK_ITEM[] PROGMEM = ^ webserver:226: error: 'const char HTTP_LNK_ITEM [87]' previously defined here const char HTTP_LNK_ITEM[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_LNK_SCAN []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:258:28: note: in expansion of macro 'PROGMEM' const char HTTP_LNK_SCAN[] PROGMEM = ^ webserver:228: error: 'const char HTTP_LNK_SCAN [57]' previously defined here const char HTTP_LNK_SCAN[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_WIFI []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:260:29: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_WIFI[] PROGMEM = ^ webserver:230: error: 'const char HTTP_FORM_WIFI [665]' previously defined here const char HTTP_FORM_WIFI[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_MQTT []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:268:29: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_MQTT[] PROGMEM = ^ webserver:238: error: 'const char HTTP_FORM_MQTT [843]' previously defined here const char HTTP_FORM_MQTT[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_LOG1 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:278:29: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_LOG1[] PROGMEM = ^ webserver:248: error: 'const char HTTP_FORM_LOG1 [138]' previously defined here const char HTTP_FORM_LOG1[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_LOG2 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:281:29: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_LOG2[] PROGMEM = ^ webserver:251: error: 'const char HTTP_FORM_LOG2 [252]' previously defined here const char HTTP_FORM_LOG2[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_LOG3 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:289:29: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_LOG3[] PROGMEM = ^ webserver:259: error: 'const char HTTP_FORM_LOG3 [282]' previously defined here const char HTTP_FORM_LOG3[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_OTHER []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:293:30: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_OTHER[] PROGMEM = ^ webserver:263: error: 'const char HTTP_FORM_OTHER [358]' previously defined here const char HTTP_FORM_OTHER[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_OTHER2 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:298:33: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_OTHER2[] PROGMEM = ^ webserver:268: error: 'const char HTTP_FORM_OTHER2 [99]' previously defined here const char HTTP_FORM_OTHER2[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_OTHER3a []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:301:32: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_OTHER3a[] PROGMEM = ^ webserver:271: error: 'const char HTTP_FORM_OTHER3a [61]' previously defined here const char HTTP_FORM_OTHER3a[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_OTHER3b []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:303:32: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_OTHER3b[] PROGMEM = ^ webserver:273: error: 'const char HTTP_FORM_OTHER3b [88]' previously defined here const char HTTP_FORM_OTHER3b[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_END []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:306:28: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_END[] PROGMEM = ^ webserver:276: error: 'const char HTTP_FORM_END [79]' previously defined here const char HTTP_FORM_END[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_RST []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:308:28: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_RST[] PROGMEM = ^ webserver:278: error: 'const char HTTP_FORM_RST [114]' previously defined here const char HTTP_FORM_RST[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_UPG []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:311:28: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_UPG[] PROGMEM = ^ webserver:281: error: 'const char HTTP_FORM_UPG [369]' previously defined here const char HTTP_FORM_UPG[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_RST_UPG []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:319:32: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_RST_UPG[] PROGMEM = ^ webserver:289: error: 'const char HTTP_FORM_RST_UPG [356]' previously defined here const char HTTP_FORM_RST_UPG[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_CMND []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:326:29: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_CMND[] PROGMEM = ^ webserver:296: error: 'const char HTTP_FORM_CMND [204]' previously defined here const char HTTP_FORM_CMND[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_TABLE100 []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:332:28: note: in expansion of macro 'PROGMEM' const char HTTP_TABLE100[] PROGMEM = ^ webserver:302: error: 'const char HTTP_TABLE100 [27]' previously defined here const char HTTP_TABLE100[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_COUNTER []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:334:27: note: in expansion of macro 'PROGMEM' const char HTTP_COUNTER[] PROGMEM = ^ webserver:304: error: 'const char HTTP_COUNTER [60]' previously defined here const char HTTP_COUNTER[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_END []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:336:23: note: in expansion of macro 'PROGMEM' const char HTTP_END[] PROGMEM = ^ webserver:306: error: 'const char HTTP_END [189]' previously defined here const char HTTP_END[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HDR_CTYPE_PLAIN []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:346:30: note: in expansion of macro 'PROGMEM' const char HDR_CTYPE_PLAIN[] PROGMEM = "text/plain"; ^ webserver:313: error: 'const char HDR_CTYPE_PLAIN [11]' previously defined here const char HDR_CTYPE_PLAIN[] PROGMEM = "text/plain"; ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HDR_CTYPE_HTML []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:347:29: note: in expansion of macro 'PROGMEM' const char HDR_CTYPE_HTML[] PROGMEM = "text/html"; ^ webserver:314: error: 'const char HDR_CTYPE_HTML [10]' previously defined here const char HDR_CTYPE_HTML[] PROGMEM = "text/html"; ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HDR_CTYPE_XML []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:348:28: note: in expansion of macro 'PROGMEM' const char HDR_CTYPE_XML[] PROGMEM = "text/xml"; ^ webserver:315: error: 'const char HDR_CTYPE_XML [9]' previously defined here const char HDR_CTYPE_XML[] PROGMEM = "text/xml"; ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HDR_CTYPE_JSON []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:349:29: note: in expansion of macro 'PROGMEM' const char HDR_CTYPE_JSON[] PROGMEM = "application/json"; ^ webserver:316: error: 'const char HDR_CTYPE_JSON [17]' previously defined here const char HDR_CTYPE_JSON[] PROGMEM = "application/json"; ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HDR_CTYPE_STREAM []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino:350:31: note: in expansion of macro 'PROGMEM' const char HDR_CTYPE_STREAM[] PROGMEM = "application/octet-stream"; ^ webserver:317: error: 'const char HDR_CTYPE_STREAM [25]' previously defined here const char HDR_CTYPE_STREAM[] PROGMEM = "application/octet-stream"; ^ xdrv_02_webserver:355: error: multiple definition of 'enum HttpOptions' enum HttpOptions {HTTP_OFF, HTTP_USER, HTTP_ADMIN, HTTP_MANAGER}; ^ webserver:320: error: previous definition here enum HttpOptions {HTTP_OFF, HTTP_USER, HTTP_ADMIN, HTTP_MANAGER}; ^ xdrv_02_webserver:357: error: redefinition of 'DNSServer DnsServer' DNSServer DnsServer; ^ webserver:322: error: 'DNSServer DnsServer' previously declared here DNSServer DnsServer; ^ xdrv_02_webserver:358: error: redefinition of 'ESP8266WebServer WebServer' ESP8266WebServer WebServer; ^ webserver:323: error: 'ESP8266WebServer WebServer' previously declared here ESP8266WebServer WebServer; ^ xdrv_02_webserver:360: error: redefinition of 'boolean remove_duplicate_access_points' boolean remove_duplicate_access_points = true; ^ webserver:325: error: 'boolean remove_duplicate_access_points' previously defined here boolean remove_duplicate_access_points = true; ^ xdrv_02_webserver:361: error: redefinition of 'int minimum_signal_quality' int minimum_signal_quality = -1; ^ webserver:326: error: 'int minimum_signal_quality' previously defined here int minimum_signal_quality = -1; ^ xdrv_02_webserver:362: error: redefinition of 'uint8_t webserver_state' uint8_t webserver_state = HTTP_OFF; ^ webserver:327: error: 'uint8_t webserver_state' previously defined here uint8_t webserver_state = HTTP_OFF; ^ xdrv_02_webserver:363: error: redefinition of 'uint8_t upload_error' uint8_t upload_error = 0; ^ webserver:328: error: 'uint8_t upload_error' previously defined here uint8_t upload_error = 0; ^ xdrv_02_webserver:364: error: redefinition of 'uint8_t upload_file_type' uint8_t upload_file_type; ^ webserver:329: error: 'uint8_t upload_file_type' previously declared here uint8_t upload_file_type; ^ xdrv_02_webserver:365: error: redefinition of 'uint8_t upload_progress_dot_count' uint8_t upload_progress_dot_count; ^ webserver:330: error: 'uint8_t upload_progress_dot_count' previously declared here uint8_t upload_progress_dot_count; ^ xdrv_02_webserver:366: error: redefinition of 'uint8_t config_block_count' uint8_t config_block_count = 0; ^ webserver:331: error: 'uint8_t config_block_count' previously defined here uint8_t config_block_count = 0; ^ xdrv_02_webserver:367: error: redefinition of 'uint8_t config_xor_on' uint8_t config_xor_on = 0; ^ webserver:332: error: 'uint8_t config_xor_on' previously defined here uint8_t config_xor_on = 0; ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void WebGetArg(const char, char, size_t)': xdrv_02_webserver:372: error: redefinition of 'void WebGetArg(const char, char, size_t)' static void WebGetArg(const char arg, char out, size_t max) ^ webserver:335: error: 'void WebGetArg(const char, char, size_t)' previously defined here static void WebGetArg(const char arg, char out, size_t max) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void StartWebserver(int, IPAddress)': xdrv_02_webserver:394: error: redefinition of 'void StartWebserver(int, IPAddress)' void StartWebserver(int type, IPAddress ipweb) ^ webserver:342: error: 'void StartWebserver(int, IPAddress)' previously defined here void StartWebserver(int type, IPAddress ipweb) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void StopWebserver()': xdrv_02_webserver:462: error: redefinition of 'void StopWebserver()' void StopWebserver() ^ webserver:408: error: 'void StopWebserver()' previously defined here void StopWebserver() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void WifiManagerBegin()': xdrv_02_webserver:471: error: redefinition of 'void WifiManagerBegin()' void WifiManagerBegin() ^ webserver:417: error: 'void WifiManagerBegin()' previously defined here void WifiManagerBegin() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void PollDnsWebserver()': xdrv_02_webserver:494: error: redefinition of 'void PollDnsWebserver()' void PollDnsWebserver() ^ webserver:440: error: 'void PollDnsWebserver()' previously defined here void PollDnsWebserver() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void SetHeader()': xdrv_02_webserver:502: error: redefinition of 'void SetHeader()' void SetHeader() ^ webserver:448: error: 'void SetHeader()' previously defined here void SetHeader() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void ShowPage(String&, bool)': xdrv_02_webserver:512: error: redefinition of 'void ShowPage(String&, bool)' void ShowPage(String &page, bool auth) ^ webserver:458: error: 'void ShowPage(String&, bool)' previously defined here void ShowPage(String &page, bool auth) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void ShowPage(String&)': xdrv_02_webserver:535: error: redefinition of 'void ShowPage(String&)' void ShowPage(String &page) ^ webserver:478: error: 'void ShowPage(String&)' previously defined here void ShowPage(String &page) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleWifiLogin()': xdrv_02_webserver:542: error: redefinition of 'void HandleWifiLogin()' void HandleWifiLogin() ^ webserver:485: error: 'void HandleWifiLogin()' previously defined here void HandleWifiLogin() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleRoot()': xdrv_02_webserver:551: error: redefinition of 'void HandleRoot()' void HandleRoot() ^ webserver:494: error: 'void HandleRoot()' previously defined here void HandleRoot() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleAjaxStatusRefresh()': xdrv_02_webserver:652: error: redefinition of 'void HandleAjaxStatusRefresh()' void HandleAjaxStatusRefresh() ^ webserver:568: error: 'void HandleAjaxStatusRefresh()' previously defined here void HandleAjaxStatusRefresh() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'boolean HttpUser()': xdrv_02_webserver:728: error: redefinition of 'boolean HttpUser()' boolean HttpUser() ^ webserver:616: error: 'boolean HttpUser()' previously defined here boolean HttpUser() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleConfiguration()': xdrv_02_webserver:736: error: redefinition of 'void HandleConfiguration()' void HandleConfiguration() ^ webserver:623: error: 'void HandleConfiguration()' previously defined here void HandleConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleModuleConfiguration()': xdrv_02_webserver:759: error: redefinition of 'void HandleModuleConfiguration()' void HandleModuleConfiguration() ^ webserver:692: error: 'void HandleModuleConfiguration()' previously defined here void HandleModuleConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleWifiConfigurationWithScan()': xdrv_02_webserver:819: error: redefinition of 'void HandleWifiConfigurationWithScan()' void HandleWifiConfigurationWithScan() ^ webserver:752: error: 'void HandleWifiConfigurationWithScan()' previously defined here void HandleWifiConfigurationWithScan() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleWifiConfiguration()': xdrv_02_webserver:824: error: redefinition of 'void HandleWifiConfiguration()' void HandleWifiConfiguration() ^ webserver:757: error: 'void HandleWifiConfiguration()' previously defined here void HandleWifiConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleWifi(boolean)': xdrv_02_webserver:829: error: redefinition of 'void HandleWifi(boolean)' void HandleWifi(boolean scan) ^ webserver:762: error: 'void HandleWifi(boolean)' previously defined here void HandleWifi(boolean scan) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleMqttConfiguration()': xdrv_02_webserver:924: error: redefinition of 'void HandleMqttConfiguration()' void HandleMqttConfiguration() ^ webserver:857: error: 'void HandleMqttConfiguration()' previously defined here void HandleMqttConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleLoggingConfiguration()': xdrv_02_webserver:947: error: redefinition of 'void HandleLoggingConfiguration()' void HandleLoggingConfiguration() ^ webserver:880: error: 'void HandleLoggingConfiguration()' previously defined here void HandleLoggingConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleOtherConfiguration()': xdrv_02_webserver:994: error: redefinition of 'void HandleOtherConfiguration()' void HandleOtherConfiguration() ^ webserver:927: error: 'void HandleOtherConfiguration()' previously defined here void HandleOtherConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleBackupConfiguration()': xdrv_02_webserver:1031: error: redefinition of 'void HandleBackupConfiguration()' void HandleBackupConfiguration() ^ webserver:963: error: 'void HandleBackupConfiguration()' previously defined here void HandleBackupConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleSaveSettings()': xdrv_02_webserver:1066: error: redefinition of 'void HandleSaveSettings()' void HandleSaveSettings() ^ webserver:989: error: 'void HandleSaveSettings()' previously defined here void HandleSaveSettings() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleResetConfiguration()': xdrv_02_webserver:1231: error: redefinition of 'void HandleResetConfiguration()' void HandleResetConfiguration() ^ webserver:1155: error: 'void HandleResetConfiguration()' previously defined here void HandleResetConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleRestoreConfiguration()': xdrv_02_webserver:1251: error: redefinition of 'void HandleRestoreConfiguration()' void HandleRestoreConfiguration() ^ webserver:1175: error: 'void HandleRestoreConfiguration()' previously defined here void HandleRestoreConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleInformation()': xdrv_02_webserver:1269: error: redefinition of 'void HandleInformation()' void HandleInformation() ^ webserver:1533: error: 'void HandleInformation()' previously defined here void HandleInformation() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleUpgradeFirmware()': xdrv_02_webserver:1385: error: redefinition of 'void HandleUpgradeFirmware()' void HandleUpgradeFirmware() ^ webserver:1193: error: 'void HandleUpgradeFirmware()' previously defined here void HandleUpgradeFirmware() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleUpgradeFirmwareStart()': xdrv_02_webserver:1404: error: redefinition of 'void HandleUpgradeFirmwareStart()' void HandleUpgradeFirmwareStart() ^ webserver:1212: error: 'void HandleUpgradeFirmwareStart()' previously defined here void HandleUpgradeFirmwareStart() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleUploadDone()': xdrv_02_webserver:1431: error: redefinition of 'void HandleUploadDone()' void HandleUploadDone() ^ webserver:1239: error: 'void HandleUploadDone()' previously defined here void HandleUploadDone() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleUploadLoop()': xdrv_02_webserver:1483: error: redefinition of 'void HandleUploadLoop()' void HandleUploadLoop() ^ webserver:1283: error: 'void HandleUploadLoop()' previously defined here void HandleUploadLoop() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandlePreflightRequest()': xdrv_02_webserver:1675: error: redefinition of 'void HandlePreflightRequest()' void HandlePreflightRequest() ^ webserver:1399: error: 'void HandlePreflightRequest()' previously defined here void HandlePreflightRequest() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleHttpCommand()': xdrv_02_webserver:1683: error: redefinition of 'void HandleHttpCommand()' void HandleHttpCommand() ^ webserver:1407: error: 'void HandleHttpCommand()' previously defined here void HandleHttpCommand() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleConsole()': xdrv_02_webserver:1738: error: redefinition of 'void HandleConsole()' void HandleConsole() ^ webserver:1462: error: 'void HandleConsole()' previously defined here void HandleConsole() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleAjaxConsoleRefresh()': xdrv_02_webserver:1753: error: redefinition of 'void HandleAjaxConsoleRefresh()' void HandleAjaxConsoleRefresh() ^ webserver:1477: error: 'void HandleAjaxConsoleRefresh()' previously defined here void HandleAjaxConsoleRefresh() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleRestart()': xdrv_02_webserver:1809: error: redefinition of 'void HandleRestart()' void HandleRestart() ^ webserver:1647: error: 'void HandleRestart()' previously defined here void HandleRestart() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'void HandleNotFound()': xdrv_02_webserver:1831: error: redefinition of 'void HandleNotFound()' void HandleNotFound() ^ webserver:1668: error: 'void HandleNotFound()' previously defined here void HandleNotFound() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'boolean CaptivePortal()': xdrv_02_webserver:1856: error: redefinition of 'boolean CaptivePortal()' boolean CaptivePortal() ^ webserver:1693: error: 'boolean CaptivePortal()' previously defined here boolean CaptivePortal() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'boolean ValidIpAddress(String)': xdrv_02_webserver:1870: error: redefinition of 'boolean ValidIpAddress(String)' boolean ValidIpAddress(String str) ^ webserver:1707: error: 'boolean ValidIpAddress(String)' previously defined here boolean ValidIpAddress(String str) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_02_webserver.ino: In function 'boolean Xdrv02(byte)': xdrv_02_webserver:2059: error: redefinition of 'boolean Xdrv02(byte)' boolean Xdrv02(byte function) ^ xdrv_02_irremote:396: error: 'boolean Xdrv02(byte)' previously defined here boolean Xdrv02(byte function) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: At global scope: xdrv_04_light:56: error: multiple definition of 'enum LightCommands' enum LightCommands { ^ xdrv_01_light:56: error: previous definition here enum LightCommands { ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char kLightCommands []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino:60:29: note: in expansion of macro 'PROGMEM' const char kLightCommands[] PROGMEM = ^ xdrv_01_light:60: error: 'const char kLightCommands [115]' previously defined here const char kLightCommands[] PROGMEM = ^ xdrv_04_light:65: error: redefinition of 'struct LRgbColor' struct LRgbColor { ^ xdrv_01_light:65: error: previous definition of 'struct LRgbColor' struct LRgbColor { ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const LRgbColor kFixedColor [12]'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino:69:46: note: in expansion of macro 'PROGMEM' const LRgbColor kFixedColor[MAX_FIXED_COLOR] PROGMEM = ^ xdrv_01_light:69: error: 'const LRgbColor kFixedColor [12]' previously defined here const LRgbColor kFixedColor[MAX_FIXED_COLOR] PROGMEM = ^ xdrv_04_light:72: error: redefinition of 'struct LCwColor' struct LCwColor { ^ xdrv_01_light:72: error: previous definition of 'struct LCwColor' struct LCwColor { ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const LCwColor kFixedColdWarm [4]'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino:76:52: note: in expansion of macro 'PROGMEM' const LCwColor kFixedColdWarm[MAX_FIXED_COLD_WARM] PROGMEM = { 0,0, 255,0, 0,255, 128,128 }; ^ xdrv_01_light:76: error: 'const LCwColor kFixedColdWarm [4]' previously defined here const LCwColor kFixedColdWarm[MAX_FIXED_COLD_WARM] PROGMEM = { 0,0, 255,0, 0,255, 128,128 }; ^ xdrv_04_light:78: error: redefinition of 'uint8_t ledTable []' uint8_t ledTable[] = { ^ xdrv_01_light:78: error: 'uint8_t ledTable [256]' previously defined here uint8_t ledTable[] = { ^ xdrv_04_light:96: error: redefinition of 'uint8_t light_entry_color [5]' uint8_t light_entry_color[5]; ^ xdrv_01_light:96: error: 'uint8_t light_entry_color [5]' previously declared here uint8_t light_entry_color[5]; ^ xdrv_04_light:97: error: redefinition of 'uint8_t light_current_color [5]' uint8_t light_current_color[5]; ^ xdrv_01_light:97: error: 'uint8_t light_current_color [5]' previously declared here uint8_t light_current_color[5]; ^ xdrv_04_light:98: error: redefinition of 'uint8_t light_new_color [5]' uint8_t light_new_color[5]; ^ xdrv_01_light:98: error: 'uint8_t light_new_color [5]' previously declared here uint8_t light_new_color[5]; ^ xdrv_04_light:99: error: redefinition of 'uint8_t light_last_color [5]' uint8_t light_last_color[5]; ^ xdrv_01_light:99: error: 'uint8_t light_last_color [5]' previously declared here uint8_t light_last_color[5]; ^ xdrv_04_light:100: error: redefinition of 'uint8_t light_signal_color [5]' uint8_t light_signal_color[5]; ^ xdrv_01_light:100: error: 'uint8_t light_signal_color [5]' previously declared here uint8_t light_signal_color[5]; ^ xdrv_04_light:102: error: redefinition of 'uint8_t light_wheel' uint8_t light_wheel = 0; ^ xdrv_01_light:102: error: 'uint8_t light_wheel' previously defined here uint8_t light_wheel = 0; ^ xdrv_04_light:103: error: redefinition of 'uint8_t light_subtype' uint8_t light_subtype = 0; ^ xdrv_01_light:103: error: 'uint8_t light_subtype' previously defined here uint8_t light_subtype = 0; ^ xdrv_04_light:104: error: redefinition of 'uint8_t light_device' uint8_t light_device = 0; ^ xdrv_01_light:104: error: 'uint8_t light_device' previously defined here uint8_t light_device = 0; ^ xdrv_04_light:105: error: redefinition of 'uint8_t light_power' uint8_t light_power = 0; ^ xdrv_01_light:105: error: 'uint8_t light_power' previously defined here uint8_t light_power = 0; ^ xdrv_04_light:106: error: redefinition of 'uint8_t light_update' uint8_t light_update = 1; ^ xdrv_01_light:106: error: 'uint8_t light_update' previously defined here uint8_t light_update = 1; ^ xdrv_04_light:107: error: redefinition of 'uint8_t light_wakeup_active' uint8_t light_wakeup_active = 0; ^ xdrv_01_light:107: error: 'uint8_t light_wakeup_active' previously defined here uint8_t light_wakeup_active = 0; ^ xdrv_04_light:108: error: redefinition of 'uint8_t light_wakeup_dimmer' uint8_t light_wakeup_dimmer = 0; ^ xdrv_01_light:108: error: 'uint8_t light_wakeup_dimmer' previously defined here uint8_t light_wakeup_dimmer = 0; ^ xdrv_04_light:109: error: redefinition of 'uint16_t light_wakeup_counter' uint16_t light_wakeup_counter = 0; ^ xdrv_01_light:109: error: 'uint16_t light_wakeup_counter' previously defined here uint16_t light_wakeup_counter = 0; ^ xdrv_04_light:111: error: redefinition of 'uint8_t light_fixed_color_index' uint8_t light_fixed_color_index = 1; ^ xdrv_01_light:111: error: 'uint8_t light_fixed_color_index' previously defined here uint8_t light_fixed_color_index = 1; ^ xdrv_04_light:113: error: redefinition of 'long unsigned int strip_timer_counter' unsigned long strip_timer_counter = 0; // Bars and Gradient ^ xdrv_01_light:113: error: 'long unsigned int strip_timer_counter' previously defined here unsigned long strip_timer_counter = 0; // Bars and Gradient ^ xdrv_04_light:126: error: redefinition of 'unsigned int arilux_rf_timings [51]' unsigned int arilux_rf_timings[ARILUX_RF_MAX_CHANGES]; ^ xdrv_01_light:126: error: 'unsigned int arilux_rf_timings [51]' previously declared here unsigned int arilux_rf_timings[ARILUX_RF_MAX_CHANGES]; ^ xdrv_04_light:128: error: redefinition of 'long unsigned int arilux_rf_received_value' unsigned long arilux_rf_received_value = 0; ^ xdrv_01_light:128: error: 'long unsigned int arilux_rf_received_value' previously defined here unsigned long arilux_rf_received_value = 0; ^ xdrv_04_light:129: error: redefinition of 'long unsigned int arilux_rf_last_received_value' unsigned long arilux_rf_last_received_value = 0; ^ xdrv_01_light:129: error: 'long unsigned int arilux_rf_last_received_value' previously defined here unsigned long arilux_rf_last_received_value = 0; ^ xdrv_04_light:130: error: redefinition of 'long unsigned int arilux_rf_last_time' unsigned long arilux_rf_last_time = 0; ^ xdrv_01_light:130: error: 'long unsigned int arilux_rf_last_time' previously defined here unsigned long arilux_rf_last_time = 0; ^ xdrv_04_light:131: error: redefinition of 'long unsigned int arilux_rf_lasttime' unsigned long arilux_rf_lasttime = 0; ^ xdrv_01_light:131: error: 'long unsigned int arilux_rf_lasttime' previously defined here unsigned long arilux_rf_lasttime = 0; ^ xdrv_04_light:133: error: redefinition of 'unsigned int arilux_rf_change_count' unsigned int arilux_rf_change_count = 0; ^ xdrv_01_light:133: error: 'unsigned int arilux_rf_change_count' previously defined here unsigned int arilux_rf_change_count = 0; ^ xdrv_04_light:134: error: redefinition of 'unsigned int arilux_rf_repeat_count' unsigned int arilux_rf_repeat_count = 0; ^ xdrv_01_light:134: error: 'unsigned int arilux_rf_repeat_count' previously defined here unsigned int arilux_rf_repeat_count = 0; ^ xdrv_04_light:136: error: redefinition of 'uint8_t arilux_rf_toggle' uint8_t arilux_rf_toggle = 0; ^ xdrv_01_light:136: error: 'uint8_t arilux_rf_toggle' previously defined here uint8_t arilux_rf_toggle = 0; ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void AriluxRfInterrupt()': xdrv_04_light:145: error: redefinition of 'void AriluxRfInterrupt()' void AriluxRfInterrupt() ^ xdrv_01_light:145: error: 'void AriluxRfInterrupt()' previously defined here void AriluxRfInterrupt() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void AriluxRfHandler()': xdrv_04_light:179: error: redefinition of 'void AriluxRfHandler()' void AriluxRfHandler() ^ xdrv_01_light:179: error: 'void AriluxRfHandler()' previously defined here void AriluxRfHandler() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void AriluxRfInit()': xdrv_04_light:240: error: redefinition of 'void AriluxRfInit()' void AriluxRfInit() ^ xdrv_01_light:240: error: 'void AriluxRfInit()' previously defined here void AriluxRfInit() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void AriluxRfDisable()': xdrv_04_light:254: error: redefinition of 'void AriluxRfDisable()' void AriluxRfDisable() ^ xdrv_01_light:254: error: 'void AriluxRfDisable()' previously defined here void AriluxRfDisable() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: At global scope: xdrv_04_light:271: error: redefinition of 'uint8_t light_pdi_pin' uint8_t light_pdi_pin; ^ xdrv_01_light:271: error: 'uint8_t light_pdi_pin' previously declared here uint8_t light_pdi_pin; ^ xdrv_04_light:272: error: redefinition of 'uint8_t light_pdcki_pin' uint8_t light_pdcki_pin; ^ xdrv_01_light:272: error: 'uint8_t light_pdcki_pin' previously declared here uint8_t light_pdcki_pin; ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightDiPulse(uint8_t)': xdrv_04_light:274: error: redefinition of 'void LightDiPulse(uint8_t)' void LightDiPulse(uint8_t times) ^ xdrv_01_light:274: error: 'void LightDiPulse(uint8_t)' previously defined here void LightDiPulse(uint8_t times) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightDckiPulse(uint8_t)': xdrv_04_light:282: error: redefinition of 'void LightDckiPulse(uint8_t)' void LightDckiPulse(uint8_t times) ^ xdrv_01_light:282: error: 'void LightDckiPulse(uint8_t)' previously defined here void LightDckiPulse(uint8_t times) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightMy92x1Write(uint8_t)': xdrv_04_light:290: error: redefinition of 'void LightMy92x1Write(uint8_t)' void LightMy92x1Write(uint8_t data) ^ xdrv_01_light:290: error: 'void LightMy92x1Write(uint8_t)' previously defined here void LightMy92x1Write(uint8_t data) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightMy92x1Init()': xdrv_04_light:304: error: redefinition of 'void LightMy92x1Init()' void LightMy92x1Init() ^ xdrv_01_light:304: error: 'void LightMy92x1Init()' previously defined here void LightMy92x1Init() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightMy92x1Duty(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)': xdrv_04_light:324: error: redefinition of 'void LightMy92x1Duty(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)' void LightMy92x1Duty(uint8_t duty_r, uint8_t duty_g, uint8_t duty_b, uint8_t duty_w, uint8_t duty_c) ^ xdrv_01_light:324: error: 'void LightMy92x1Duty(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)' previously defined here void LightMy92x1Duty(uint8_t duty_r, uint8_t duty_g, uint8_t duty_b, uint8_t duty_w, uint8_t duty_c) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightInit()': xdrv_04_light:342: error: redefinition of 'void LightInit()' void LightInit() ^ xdrv_01_light:342: error: 'void LightInit()' previously defined here void LightInit() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightSetColorTemp(uint16_t)': xdrv_04_light:411: error: redefinition of 'void LightSetColorTemp(uint16_t)' void LightSetColorTemp(uint16_t ct) ^ xdrv_01_light:411: error: 'void LightSetColorTemp(uint16_t)' previously defined here void LightSetColorTemp(uint16_t ct) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'uint16_t LightGetColorTemp()': xdrv_04_light:436: error: redefinition of 'uint16_t LightGetColorTemp()' uint16_t LightGetColorTemp() ^ xdrv_01_light:436: error: 'uint16_t LightGetColorTemp()' previously defined here uint16_t LightGetColorTemp() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightSetDimmer(uint8_t)': xdrv_04_light:451: error: redefinition of 'void LightSetDimmer(uint8_t)' void LightSetDimmer(uint8_t myDimmer) ^ xdrv_01_light:451: error: 'void LightSetDimmer(uint8_t)' previously defined here void LightSetDimmer(uint8_t myDimmer) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightSetColor()': xdrv_04_light:469: error: redefinition of 'void LightSetColor()' void LightSetColor() ^ xdrv_01_light:469: error: 'void LightSetColor()' previously defined here void LightSetColor() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightSetSignal(uint16_t, uint16_t, uint16_t)': xdrv_04_light:487: error: redefinition of 'void LightSetSignal(uint16_t, uint16_t, uint16_t)' void LightSetSignal(uint16_t lo, uint16_t hi, uint16_t value) ^ xdrv_01_light:487: error: 'void LightSetSignal(uint16_t, uint16_t, uint16_t)' previously defined here void LightSetSignal(uint16_t lo, uint16_t hi, uint16_t value) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'char LightGetColor(uint8_t, char)': xdrv_04_light:515: error: redefinition of 'char LightGetColor(uint8_t, char)' char LightGetColor(uint8_t type, char scolor) ^ xdrv_01_light:515: error: 'char LightGetColor(uint8_t, char)' previously defined here char LightGetColor(uint8_t type, char scolor) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightPowerOn()': xdrv_04_light:529: error: redefinition of 'void LightPowerOn()' void LightPowerOn() ^ xdrv_01_light:529: error: 'void LightPowerOn()' previously defined here void LightPowerOn() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightState(uint8_t)': xdrv_04_light:536: error: redefinition of 'void LightState(uint8_t)' void LightState(uint8_t append) ^ xdrv_01_light:536: error: 'void LightState(uint8_t)' previously defined here void LightState(uint8_t append) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightPreparePower()': xdrv_04_light:584: error: redefinition of 'void LightPreparePower()' void LightPreparePower() ^ xdrv_01_light:584: error: 'void LightPreparePower()' previously defined here void LightPreparePower() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightFade()': xdrv_04_light:601: error: redefinition of 'void LightFade()' void LightFade() ^ xdrv_01_light:601: error: 'void LightFade()' previously defined here void LightFade() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightWheel(uint8_t)': xdrv_04_light:627: error: redefinition of 'void LightWheel(uint8_t)' void LightWheel(uint8_t wheel_pos) ^ xdrv_01_light:627: error: 'void LightWheel(uint8_t)' previously defined here void LightWheel(uint8_t wheel_pos) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightCycleColor(int8_t)': xdrv_04_light:654: error: redefinition of 'void LightCycleColor(int8_t)' void LightCycleColor(int8_t direction) ^ xdrv_01_light:654: error: 'void LightCycleColor(int8_t)' previously defined here void LightCycleColor(int8_t direction) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightRandomColor()': xdrv_04_light:664: error: redefinition of 'void LightRandomColor()' void LightRandomColor() ^ xdrv_01_light:664: error: 'void LightRandomColor()' previously defined here void LightRandomColor() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightSetPower()': xdrv_04_light:680: error: redefinition of 'void LightSetPower()' void LightSetPower() ^ xdrv_01_light:680: error: 'void LightSetPower()' previously defined here void LightSetPower() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightAnimate()': xdrv_04_light:693: error: redefinition of 'void LightAnimate()' void LightAnimate() ^ xdrv_01_light:693: error: 'void LightAnimate()' previously defined here void LightAnimate() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: At global scope: xdrv_04_light:811: error: redefinition of 'float light_hue' float light_hue = 0.0; ^ xdrv_01_light:811: error: 'float light_hue' previously defined here float light_hue = 0.0; ^ xdrv_04_light:812: error: redefinition of 'float light_saturation' float light_saturation = 0.0; ^ xdrv_01_light:812: error: 'float light_saturation' previously defined here float light_saturation = 0.0; ^ xdrv_04_light:813: error: redefinition of 'float light_brightness' float light_brightness = 0.0; ^ xdrv_01_light:813: error: 'float light_brightness' previously defined here float light_brightness = 0.0; ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightRgbToHsb()': xdrv_04_light:815: error: redefinition of 'void LightRgbToHsb()' void LightRgbToHsb() ^ xdrv_01_light:815: error: 'void LightRgbToHsb()' previously defined here void LightRgbToHsb() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightHsbToRgb()': xdrv_04_light:846: error: redefinition of 'void LightHsbToRgb()' void LightHsbToRgb() ^ xdrv_01_light:846: error: 'void LightHsbToRgb()' previously defined here void LightHsbToRgb() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightGetHsb(float, float, float)': xdrv_04_light:912: error: redefinition of 'void LightGetHsb(float, float, float)' void LightGetHsb(float hue, float sat, float bri) ^ xdrv_01_light:912: error: 'void LightGetHsb(float, float, float)' previously defined here void LightGetHsb(float hue, float sat, float bri) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'void LightSetHsb(float, float, float, uint16_t)': xdrv_04_light:927: error: redefinition of 'void LightSetHsb(float, float, float, uint16_t)' void LightSetHsb(float hue, float sat, float bri, uint16_t ct) ^ xdrv_01_light:927: error: 'void LightSetHsb(float, float, float, uint16_t)' previously defined here void LightSetHsb(float hue, float sat, float bri, uint16_t ct) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'boolean LightColorEntry(char, uint8_t)': xdrv_04_light:961: error: redefinition of 'boolean LightColorEntry(char, uint8_t)' boolean LightColorEntry(char buffer, uint8_t buffer_length) ^ xdrv_01_light:961: error: 'boolean LightColorEntry(char, uint8_t)' previously defined here boolean LightColorEntry(char buffer, uint8_t buffer_length) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_light.ino: In function 'boolean LightCommand()': xdrv_04_light:1027: error: redefinition of 'boolean LightCommand()' boolean LightCommand() ^ xdrv_01_light:1027: error: 'boolean LightCommand()' previously defined here boolean LightCommand() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_04_snfbridge.ino: In function 'boolean Xdrv04(byte)': xdrv_04_snfbridge:303: error: redefinition of 'boolean Xdrv04(byte)' boolean Xdrv04(byte function) ^ xdrv_04_light:1295: error: 'boolean Xdrv04(byte)' previously defined here boolean Xdrv04(byte function) ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_05_irremote.ino: At global scope: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char kIrRemoteProtocols []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_05_irremote.ino:28:33: note: in expansion of macro 'PROGMEM' const char kIrRemoteProtocols[] PROGMEM = ^ xdrv_02_irremote:28: error: 'const char kIrRemoteProtocols [99]' previously defined here const char kIrRemoteProtocols[] PROGMEM = ^ xdrv_05_irremote:57: error: redefinition of 'IRsend irsend' IRsend irsend = NULL; ^ xdrv_02_irremote:57: error: 'IRsend irsend' previously defined here IRsend irsend = NULL; ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_05_irremote.ino: In function 'void IrSendInit()': xdrv_05_irremote:59: error: redefinition of 'void IrSendInit()' void IrSendInit(void) ^ xdrv_02_irremote:59: error: 'void IrSendInit()' previously defined here void IrSendInit(void) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_05_irremote.ino: At global scope: xdrv_05_irremote:78: error: redefinition of 'IRrecv irrecv' IRrecv irrecv = NULL; ^ xdrv_02_irremote:78: error: 'IRrecv irrecv' previously defined here IRrecv irrecv = NULL; ^ xdrv_05_irremote:79: error: redefinition of 'long unsigned int ir_lasttime' unsigned long ir_lasttime = 0; ^ xdrv_02_irremote:79: error: 'long unsigned int ir_lasttime' previously defined here unsigned long ir_lasttime = 0; ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_05_irremote.ino: In function 'void IrReceiveInit()': xdrv_05_irremote:81: error: redefinition of 'void IrReceiveInit()' void IrReceiveInit(void) ^ xdrv_02_irremote:81: error: 'void IrReceiveInit()' previously defined here void IrReceiveInit(void) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_05_irremote.ino: In function 'void IrReceiveCheck()': xdrv_05_irremote:89: error: redefinition of 'void IrReceiveCheck()' void IrReceiveCheck() ^ xdrv_02_irremote:89: error: 'void IrReceiveCheck()' previously defined here void IrReceiveCheck() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_05_irremote.ino: In function 'boolean IrSendCommand()': xdrv_05_irremote:286: error: redefinition of 'boolean IrSendCommand()' boolean IrSendCommand() ^ xdrv_02_irremote:277: error: 'boolean IrSendCommand()' previously defined here boolean IrSendCommand() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_05_irremote.ino: In function 'boolean Xdrv05(byte)': xdrv_05_irremote:406: error: redefinition of 'boolean Xdrv05(byte)' boolean Xdrv05(byte function) ^ xdrv_05_domoticz:438: error: 'boolean Xdrv05(byte)' previously defined here boolean Xdrv05(byte function) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino: At global scope: xdrv_06_snfbridge:26: error: multiple definition of 'enum SonoffBridgeCommands' enum SonoffBridgeCommands { ^ xdrv_04_snfbridge:26: error: previous definition here enum SonoffBridgeCommands { ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char kSonoffBridgeCommands []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino:28:36: note: in expansion of macro 'PROGMEM' const char kSonoffBridgeCommands[] PROGMEM = ^ xdrv_04_snfbridge:28: error: 'const char kSonoffBridgeCommands [40]' previously defined here const char kSonoffBridgeCommands[] PROGMEM = ^ xdrv_06_snfbridge:31: error: redefinition of 'uint8_t sonoff_bridge_receive_flag' uint8_t sonoff_bridge_receive_flag = 0; ^ xdrv_04_snfbridge:31: error: 'uint8_t sonoff_bridge_receive_flag' previously defined here uint8_t sonoff_bridge_receive_flag = 0; ^ xdrv_06_snfbridge:33: error: redefinition of 'uint8_t sonoff_bridge_learn_key' uint8_t sonoff_bridge_learn_key = 1; ^ xdrv_04_snfbridge:32: error: 'uint8_t sonoff_bridge_learn_key' previously defined here uint8_t sonoff_bridge_learn_key = 1; ^ xdrv_06_snfbridge:34: error: redefinition of 'uint8_t sonoff_bridge_learn_active' uint8_t sonoff_bridge_learn_active = 0; ^ xdrv_04_snfbridge:33: error: 'uint8_t sonoff_bridge_learn_active' previously defined here uint8_t sonoff_bridge_learn_active = 0; ^ xdrv_06_snfbridge:35: error: redefinition of 'uint8_t sonoff_bridge_expected_bytes' uint8_t sonoff_bridge_expected_bytes = 0; ^ xdrv_04_snfbridge:34: error: 'uint8_t sonoff_bridge_expected_bytes' previously defined here uint8_t sonoff_bridge_expected_bytes = 0; ^ xdrv_06_snfbridge:36: error: redefinition of 'uint32_t sonoff_bridge_last_received_id' uint32_t sonoff_bridge_last_received_id = 0; ^ xdrv_04_snfbridge:35: error: 'uint32_t sonoff_bridge_last_received_id' previously defined here uint32_t sonoff_bridge_last_received_id = 0; ^ xdrv_06_snfbridge:37: error: redefinition of 'uint32_t sonoff_bridge_last_send_code' uint32_t sonoff_bridge_last_send_code = 0; ^ xdrv_04_snfbridge:36: error: 'uint32_t sonoff_bridge_last_send_code' previously defined here uint32_t sonoff_bridge_last_send_code = 0; ^ xdrv_06_snfbridge:38: error: redefinition of 'long unsigned int sonoff_bridge_last_time' unsigned long sonoff_bridge_last_time = 0; ^ xdrv_04_snfbridge:37: error: 'long unsigned int sonoff_bridge_last_time' previously defined here unsigned long sonoff_bridge_last_time = 0; ^ xdrv_06_snfbridge:39: error: redefinition of 'long unsigned int sonoff_bridge_last_learn_time' unsigned long sonoff_bridge_last_learn_time = 0; ^ xdrv_04_snfbridge:38: error: 'long unsigned int sonoff_bridge_last_learn_time' previously defined here unsigned long sonoff_bridge_last_learn_time = 0; ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino: In function 'void SonoffBridgeLearnFailed()': xdrv_06_snfbridge:241: error: redefinition of 'void SonoffBridgeLearnFailed()' void SonoffBridgeLearnFailed() ^ xdrv_04_snfbridge:40: error: 'void SonoffBridgeLearnFailed()' previously defined here void SonoffBridgeLearnFailed() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino: In function 'void SonoffBridgeReceived()': xdrv_06_snfbridge:248: error: redefinition of 'void SonoffBridgeReceived()' void SonoffBridgeReceived() ^ xdrv_04_snfbridge:47: error: 'void SonoffBridgeReceived()' previously defined here void SonoffBridgeReceived() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino: In function 'boolean SonoffBridgeSerialInput()': xdrv_06_snfbridge:316: error: redefinition of 'boolean SonoffBridgeSerialInput()' boolean SonoffBridgeSerialInput() ^ xdrv_04_snfbridge:108: error: 'boolean SonoffBridgeSerialInput()' previously defined here boolean SonoffBridgeSerialInput() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino: In function 'void SonoffBridgeSendAck()': xdrv_06_snfbridge:367: error: redefinition of 'void SonoffBridgeSendAck()' void SonoffBridgeSendAck() ^ xdrv_04_snfbridge:136: error: 'void SonoffBridgeSendAck()' previously defined here void SonoffBridgeSendAck() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino: In function 'void SonoffBridgeSendCode(uint32_t)': xdrv_06_snfbridge:374: error: redefinition of 'void SonoffBridgeSendCode(uint32_t)' void SonoffBridgeSendCode(uint32_t code) ^ xdrv_04_snfbridge:143: error: 'void SonoffBridgeSendCode(uint32_t)' previously defined here void SonoffBridgeSendCode(uint32_t code) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino: In function 'void SonoffBridgeSend(uint8_t, uint8_t)': xdrv_06_snfbridge:388: error: redefinition of 'void SonoffBridgeSend(uint8_t, uint8_t)' void SonoffBridgeSend(uint8_t idx, uint8_t key) ^ xdrv_04_snfbridge:157: error: 'void SonoffBridgeSend(uint8_t, uint8_t)' previously defined here void SonoffBridgeSend(uint8_t idx, uint8_t key) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino: In function 'void SonoffBridgeLearn(uint8_t)': xdrv_06_snfbridge:412: error: redefinition of 'void SonoffBridgeLearn(uint8_t)' void SonoffBridgeLearn(uint8_t key) ^ xdrv_04_snfbridge:181: error: 'void SonoffBridgeLearn(uint8_t)' previously defined here void SonoffBridgeLearn(uint8_t key) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_06_snfbridge.ino: In function 'boolean SonoffBridgeCommand()': xdrv_06_snfbridge:426: error: redefinition of 'boolean SonoffBridgeCommand()' boolean SonoffBridgeCommand() ^ xdrv_04_snfbridge:195: error: 'boolean SonoffBridgeCommand()' previously defined here boolean SonoffBridgeCommand() ^ xdrv_06_snfbridge:528: error: 'CMND_RFRAW' was not declared in this scope else if (CMND_RFRAW == command_code) { ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: At global scope: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_DOMOTICZ []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:23:33: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_DOMOTICZ[] PROGMEM = ^ xdrv_05_domoticz:23: error: 'const char HTTP_FORM_DOMOTICZ [152]' previously defined here const char HTTP_FORM_DOMOTICZ[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_DOMOTICZ_RELAY []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:27:39: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_DOMOTICZ_RELAY[] PROGMEM = ^ xdrv_05_domoticz:27: error: 'const char HTTP_FORM_DOMOTICZ_RELAY [271]' previously defined here const char HTTP_FORM_DOMOTICZ_RELAY[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_DOMOTICZ_SWITCH []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:30:42: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_DOMOTICZ_SWITCH[] PROGMEM = ^ xdrv_05_domoticz:30: error: 'const char HTTP_FORM_DOMOTICZ_SWITCH [141]' previously defined here const char HTTP_FORM_DOMOTICZ_SWITCH[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_DOMOTICZ_SENSOR []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:32:40: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_DOMOTICZ_SENSOR[] PROGMEM = ^ xdrv_05_domoticz:32: error: 'const char HTTP_FORM_DOMOTICZ_SENSOR [144]' previously defined here const char HTTP_FORM_DOMOTICZ_SENSOR[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HTTP_FORM_DOMOTICZ_TIMER []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:34:39: note: in expansion of macro 'PROGMEM' const char HTTP_FORM_DOMOTICZ_TIMER[] PROGMEM = ^ xdrv_05_domoticz:34: error: 'const char HTTP_FORM_DOMOTICZ_TIMER [141]' previously defined here const char HTTP_FORM_DOMOTICZ_TIMER[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char DOMOTICZ_MESSAGE []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:38:31: note: in expansion of macro 'PROGMEM' const char DOMOTICZ_MESSAGE[] PROGMEM = "{\"idx\":%d,\"nvalue\":%d,\"svalue\":\"%s\",\"Battery\":%d,\"RSSI\":%d}"; ^ xdrv_05_domoticz:38: error: 'const char DOMOTICZ_MESSAGE [60]' previously defined here const char DOMOTICZ_MESSAGE[] PROGMEM = "{\"idx\":%d,\"nvalue\":%d,\"svalue\":\"%s\",\"Battery\":%d,\"RSSI\":%d}"; ^ xdrv_07_domoticz:40: error: multiple definition of 'enum DomoticzCommands' enum DomoticzCommands { CMND_IDX, CMND_KEYIDX, CMND_SWITCHIDX, CMND_SENSORIDX, CMND_UPDATETIMER }; ^ xdrv_05_domoticz:40: error: previous definition here enum DomoticzCommands { CMND_IDX, CMND_KEYIDX, CMND_SWITCHIDX, CMND_SENSORIDX, CMND_UPDATETIMER }; ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char kDomoticzCommands []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:41:32: note: in expansion of macro 'PROGMEM' const char kDomoticzCommands[] PROGMEM = D_CMND_IDX "|" D_CMND_KEYIDX "|" D_CMND_SWITCHIDX "|" D_CMND_SENSORIDX "|" D_CMND_UPDATETIMER ; ^ xdrv_05_domoticz:41: error: 'const char kDomoticzCommands [43]' previously defined here const char kDomoticzCommands[] PROGMEM = D_CMND_IDX "|" D_CMND_KEYIDX "|" D_CMND_SWITCHIDX "|" D_CMND_SENSORIDX "|" D_CMND_UPDATETIMER ; ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char kDomoticzSensors []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:49:31: note: in expansion of macro 'PROGMEM' const char kDomoticzSensors[] PROGMEM = ^ xdrv_05_domoticz:49: error: 'const char kDomoticzSensors [101]' previously defined here const char kDomoticzSensors[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char S_JSON_DOMOTICZ_COMMAND_INDEX_NVALUE []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:52:51: note: in expansion of macro 'PROGMEM' const char S_JSON_DOMOTICZ_COMMAND_INDEX_NVALUE[] PROGMEM = "{\"" D_CMND_DOMOTICZ "%s%d\":%d}"; ^ xdrv_05_domoticz:52: error: 'const char S_JSON_DOMOTICZ_COMMAND_INDEX_NVALUE [20]' previously defined here const char S_JSON_DOMOTICZ_COMMAND_INDEX_NVALUE[] PROGMEM = "{\"" D_CMND_DOMOTICZ "%s%d\":%d}"; ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char S_JSON_DOMOTICZ_COMMAND_INDEX_LVALUE []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:53:51: note: in expansion of macro 'PROGMEM' const char S_JSON_DOMOTICZ_COMMAND_INDEX_LVALUE[] PROGMEM = "{\"" D_CMND_DOMOTICZ "%s%d\":%lu}"; ^ xdrv_05_domoticz:53: error: 'const char S_JSON_DOMOTICZ_COMMAND_INDEX_LVALUE [21]' previously defined here const char S_JSON_DOMOTICZ_COMMAND_INDEX_LVALUE[] PROGMEM = "{\"" D_CMND_DOMOTICZ "%s%d\":%lu}"; ^ xdrv_07_domoticz:55: error: redefinition of 'char domoticz_in_topic []' char domoticz_in_topic[] = DOMOTICZ_IN_TOPIC; ^ xdrv_05_domoticz:55: error: 'char domoticz_in_topic [12]' previously defined here char domoticz_in_topic[] = DOMOTICZ_IN_TOPIC; ^ xdrv_07_domoticz:56: error: redefinition of 'char domoticz_out_topic []' char domoticz_out_topic[] = DOMOTICZ_OUT_TOPIC; ^ xdrv_05_domoticz:56: error: 'char domoticz_out_topic [13]' previously defined here char domoticz_out_topic[] = DOMOTICZ_OUT_TOPIC; ^ xdrv_07_domoticz:58: error: redefinition of 'boolean domoticz_subscribe' boolean domoticz_subscribe = false; ^ xdrv_05_domoticz:58: error: 'boolean domoticz_subscribe' previously defined here boolean domoticz_subscribe = false; ^ xdrv_07_domoticz:59: error: redefinition of 'int domoticz_update_timer' int domoticz_update_timer = 0; ^ xdrv_05_domoticz:59: error: 'int domoticz_update_timer' previously defined here int domoticz_update_timer = 0; ^ xdrv_07_domoticz:60: error: redefinition of 'byte domoticz_update_flag' byte domoticz_update_flag = 1; ^ xdrv_05_domoticz:60: error: 'byte domoticz_update_flag' previously defined here byte domoticz_update_flag = 1; ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'int DomoticzBatteryQuality()': xdrv_07_domoticz:62: error: redefinition of 'int DomoticzBatteryQuality()' int DomoticzBatteryQuality() ^ xdrv_05_domoticz:62: error: 'int DomoticzBatteryQuality()' previously defined here int DomoticzBatteryQuality() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'int DomoticzRssiQuality()': xdrv_07_domoticz:81: error: redefinition of 'int DomoticzRssiQuality()' int DomoticzRssiQuality() ^ xdrv_05_domoticz:81: error: 'int DomoticzRssiQuality()' previously defined here int DomoticzRssiQuality() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void MqttPublishDomoticzPowerState(byte)': xdrv_07_domoticz:88: error: redefinition of 'void MqttPublishDomoticzPowerState(byte)' void MqttPublishDomoticzPowerState(byte device) ^ xdrv_05_domoticz:88: error: 'void MqttPublishDomoticzPowerState(byte)' previously defined here void MqttPublishDomoticzPowerState(byte device) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void DomoticzUpdatePowerState(byte)': xdrv_07_domoticz:103: error: redefinition of 'void DomoticzUpdatePowerState(byte)' void DomoticzUpdatePowerState(byte device) ^ xdrv_05_domoticz:103: error: 'void DomoticzUpdatePowerState(byte)' previously defined here void DomoticzUpdatePowerState(byte device) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void DomoticzMqttUpdate()': xdrv_07_domoticz:111: error: redefinition of 'void DomoticzMqttUpdate()' void DomoticzMqttUpdate() ^ xdrv_05_domoticz:111: error: 'void DomoticzMqttUpdate()' previously defined here void DomoticzMqttUpdate() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void DomoticzMqttSubscribe()': xdrv_07_domoticz:124: error: redefinition of 'void DomoticzMqttSubscribe()' void DomoticzMqttSubscribe() ^ xdrv_05_domoticz:124: error: 'void DomoticzMqttSubscribe()' previously defined here void DomoticzMqttSubscribe() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'boolean DomoticzMqttData()': xdrv_07_domoticz:156: error: redefinition of 'boolean DomoticzMqttData()' boolean DomoticzMqttData() ^ xdrv_05_domoticz:156: error: 'boolean DomoticzMqttData()' previously defined here boolean DomoticzMqttData() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'boolean DomoticzCommand()': xdrv_07_domoticz:223: error: redefinition of 'boolean DomoticzCommand()' boolean DomoticzCommand() ^ xdrv_05_domoticz:223: error: 'boolean DomoticzCommand()' previously defined here boolean DomoticzCommand() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'boolean DomoticzSendKey(byte, byte, byte, byte)': xdrv_07_domoticz:272: error: redefinition of 'boolean DomoticzSendKey(byte, byte, byte, byte)' boolean DomoticzSendKey(byte key, byte device, byte state, byte svalflg) ^ xdrv_05_domoticz:268: error: 'boolean DomoticzSendKey(byte, byte, byte, byte)' previously defined here boolean DomoticzSendKey(byte key, byte device, byte state, byte svalflg) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'uint8_t DomoticzHumidityState(char)': xdrv_07_domoticz:304: error: redefinition of 'uint8_t DomoticzHumidityState(char)' uint8_t DomoticzHumidityState(char hum) ^ xdrv_05_domoticz:297: error: 'uint8_t DomoticzHumidityState(char)' previously defined here uint8_t DomoticzHumidityState(char hum) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void DomoticzSensor(byte, char)': xdrv_07_domoticz:310: error: redefinition of 'void DomoticzSensor(byte, char)' void DomoticzSensor(byte idx, char data) ^ xdrv_05_domoticz:303: error: 'void DomoticzSensor(byte, char)' previously defined here void DomoticzSensor(byte idx, char data) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void DomoticzSensor(byte, uint32_t)': xdrv_07_domoticz:328: error: redefinition of 'void DomoticzSensor(byte, uint32_t)' void DomoticzSensor(byte idx, uint32_t value) ^ xdrv_05_domoticz:321: error: 'void DomoticzSensor(byte, uint32_t)' previously defined here void DomoticzSensor(byte idx, uint32_t value) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void DomoticzTempHumSensor(char, char)': xdrv_07_domoticz:335: error: redefinition of 'void DomoticzTempHumSensor(char, char)' void DomoticzTempHumSensor(char temp, char hum) ^ xdrv_05_domoticz:328: error: 'void DomoticzTempHumSensor(char, char)' previously defined here void DomoticzTempHumSensor(char temp, char hum) ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void DomoticzTempHumPressureSensor(char, char, char)': xdrv_07_domoticz:342: error: redefinition of 'void DomoticzTempHumPressureSensor(char, char, char)' void DomoticzTempHumPressureSensor(char temp, char hum, char baro) ^ xdrv_05_domoticz:335: error: 'void DomoticzTempHumPressureSensor(char, char, char)' previously defined here void DomoticzTempHumPressureSensor(char temp, char hum, char *baro) ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: At global scope: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char S_CONFIGURE_DOMOTICZ []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino:361:35: note: in expansion of macro 'PROGMEM' const char S_CONFIGURE_DOMOTICZ[] PROGMEM = D_CONFIGURE_DOMOTICZ; ^ xdrv_05_domoticz:354: error: 'const char S_CONFIGURE_DOMOTICZ [19]' previously defined here const char S_CONFIGURE_DOMOTICZ[] PROGMEM = D_CONFIGURE_DOMOTICZ; ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void HandleDomoticzConfiguration()': xdrv_07_domoticz:363: error: redefinition of 'void HandleDomoticzConfiguration()' void HandleDomoticzConfiguration() ^ xdrv_05_domoticz:356: error: 'void HandleDomoticzConfiguration()' previously defined here void HandleDomoticzConfiguration() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_domoticz.ino: In function 'void DomoticzSaveSettings()': xdrv_07_domoticz:403: error: redefinition of 'void DomoticzSaveSettings()' void DomoticzSaveSettings() ^ xdrv_05_domoticz:396: error: 'void DomoticzSaveSettings()' previously defined here void DomoticzSaveSettings() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_07_home_assistant.ino: In function 'boolean Xdrv07(byte)': xdrv_07_home_assistant:213: error: redefinition of 'boolean Xdrv07(byte)' boolean Xdrv07(byte function) ^ xdrv_07_domoticz:445: error: 'boolean Xdrv07(byte)' previously defined here boolean Xdrv07(byte function) ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_12_home_assistant.ino: At global scope: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HASS_DISCOVER_SWITCH []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_12_home_assistant.ino:22:35: note: in expansion of macro 'PROGMEM' const char HASS_DISCOVER_SWITCH[] PROGMEM = ^ xdrv_07_home_assistant:22: error: 'const char HASS_DISCOVER_SWITCH [216]' previously defined here const char HASS_DISCOVER_SWITCH[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HASS_DISCOVER_BUTTON []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_12_home_assistant.ino:34:35: note: in expansion of macro 'PROGMEM' const char HASS_DISCOVER_BUTTON[] PROGMEM = ^ xdrv_07_home_assistant:34: error: 'const char HASS_DISCOVER_BUTTON [139]' previously defined here const char HASS_DISCOVER_BUTTON[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HASS_DISCOVER_LIGHT_DIMMER []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_12_home_assistant.ino:44:41: note: in expansion of macro 'PROGMEM' const char HASS_DISCOVER_LIGHT_DIMMER[] PROGMEM = ^ xdrv_07_home_assistant:44: error: 'const char HASS_DISCOVER_LIGHT_DIMMER [171]' previously defined here const char HASS_DISCOVER_LIGHT_DIMMER[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HASS_DISCOVER_LIGHT_COLOR []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_12_home_assistant.ino:51:40: note: in expansion of macro 'PROGMEM' const char HASS_DISCOVER_LIGHT_COLOR[] PROGMEM = ^ xdrv_07_home_assistant:51: error: 'const char HASS_DISCOVER_LIGHT_COLOR [95]' previously defined here const char HASS_DISCOVER_LIGHT_COLOR[] PROGMEM = ^ In file included from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/esp8266_peri.h:24:0, from /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/Arduino.h:38, from sketch/sonoff.ino.cpp:1: /home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/tools/sdk/include/c_types.h:89:66: error: redefinition of 'const char HASS_DISCOVER_LIGHT_CT []'

define ICACHE_RODATA_ATTR attribute((section(".irom.text")))

                                                              ^

/home/thorsten/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores/esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'

define PROGMEM ICACHE_RODATA_ATTR

                 ^

/home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_12_home_assistant.ino:57:37: note: in expansion of macro 'PROGMEM' const char HASS_DISCOVER_LIGHT_CT[] PROGMEM = ^ xdrv_07_home_assistant:57: error: 'const char HASS_DISCOVER_LIGHT_CT [113]' previously defined here const char HASS_DISCOVER_LIGHT_CT[] PROGMEM = ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_12_home_assistant.ino: In function 'void HAssDiscoverRelay()': xdrv_12_home_assistant:69: error: redefinition of 'void HAssDiscoverRelay()' void HAssDiscoverRelay() ^ xdrv_07_home_assistant:69: error: 'void HAssDiscoverRelay()' previously defined here void HAssDiscoverRelay() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_12_home_assistant.ino: In function 'void HAssDiscoverButton()': xdrv_12_home_assistant:138: error: redefinition of 'void HAssDiscoverButton()' void HAssDiscoverButton() ^ xdrv_07_home_assistant:136: error: 'void HAssDiscoverButton()' previously defined here void HAssDiscoverButton() ^ /home/thorsten/Downloads/Sonoff-Tasmota/sonoff/xdrv_12_home_assistant.ino: In function 'void HAssDiscovery(uint8_t)': xdrv_12_home_assistant:188: error: redefinition of 'void HAssDiscovery(uint8_t)' void HAssDiscovery(uint8_t mode) ^ xdrv_07_home_assistant:186: error: 'void HAssDiscovery(uint8_t)' previously defined here void HAssDiscovery(uint8_t mode) ^ exit status 1 too few arguments to function 'void ExecuteCommandPower(byte, byte, int)'



**(Please, remember to close the issue when the problem has been addressed)**
thundergreen commented 6 years ago

nonsense.. works with release code