diff --git a/tasmota/StackThunk_light.cpp b/tasmota/StackThunk_light.cpp index 1e5fd445a..aea7ae438 100644 --- a/tasmota/StackThunk_light.cpp +++ b/tasmota/StackThunk_light.cpp @@ -7,7 +7,7 @@ between a secondary, user-allocated stack on the heap and the real stack. - Copyright (c) 2017 Earle F. Philhower, III. All rights reserved. + Copyright (C) 2021 Earle F. Philhower, III. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/tasmota/StackThunk_light.h b/tasmota/StackThunk_light.h index 164417000..9fa562655 100644 --- a/tasmota/StackThunk_light.h +++ b/tasmota/StackThunk_light.h @@ -7,7 +7,7 @@ between a secondary, user-allocated stack on the heap and the real stack. - Copyright (c) 2017 Earle F. Philhower, III. All rights reserved. + Copyright (C) 2021 Earle F. Philhower, III. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/tasmota/WiFiClientSecureLightBearSSL.cpp b/tasmota/WiFiClientSecureLightBearSSL.cpp index 7d9d51a35..f91d96cfc 100755 --- a/tasmota/WiFiClientSecureLightBearSSL.cpp +++ b/tasmota/WiFiClientSecureLightBearSSL.cpp @@ -3,7 +3,7 @@ - Mostly compatible with Arduino WiFi shield library and standard WiFiClient/ServerSecure (except for certificate handling). - Copyright (c) 2018 Earle F. Philhower, III + Copyright (C) 2021 Earle F. Philhower, III This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/tasmota/WiFiClientSecureLightBearSSL.h b/tasmota/WiFiClientSecureLightBearSSL.h index ed6ced416..f480a9d42 100755 --- a/tasmota/WiFiClientSecureLightBearSSL.h +++ b/tasmota/WiFiClientSecureLightBearSSL.h @@ -3,7 +3,7 @@ - Mostly compatible with Arduino WiFi shield library and standard WiFiClient/ServerSecure (except for certificate handling). - Copyright (c) 2018 Earle F. Philhower, III + Copyright (C) 2021 Earle F. Philhower, III This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/tasmota/i18n.h b/tasmota/i18n.h index 3fd70be4e..0d18f016a 100644 --- a/tasmota/i18n.h +++ b/tasmota/i18n.h @@ -1,7 +1,7 @@ /* i18n.h - internationalization for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/af_AF.h b/tasmota/language/af_AF.h index ce3da91a0..bfd4177e3 100644 --- a/tasmota/language/af_AF.h +++ b/tasmota/language/af_AF.h @@ -1,7 +1,7 @@ /* af_AF.h - localization for Afrikaans - Afrikaans for Tasmota - Copyright (C) 2020 Christiaan Heerze + Copyright (C) 2021 Christiaan Heerze This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/bg_BG.h b/tasmota/language/bg_BG.h index f91454097..f8e3c705c 100644 --- a/tasmota/language/bg_BG.h +++ b/tasmota/language/bg_BG.h @@ -1,7 +1,7 @@ /* bg-BG.h - localization for Bulgaria - Bulgarian for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/cs_CZ.h b/tasmota/language/cs_CZ.h index c4beb0341..983524bbf 100644 --- a/tasmota/language/cs_CZ.h +++ b/tasmota/language/cs_CZ.h @@ -1,7 +1,7 @@ /* cs-CZ.h - localization for Czech with diacritics - Czech for Tasmota - Copyright (C) 2020 Vladimír Synek + Copyright (C) 2021 Vladimír Synek This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/de_DE.h b/tasmota/language/de_DE.h index e8449f9e7..f1bad46a7 100644 --- a/tasmota/language/de_DE.h +++ b/tasmota/language/de_DE.h @@ -1,7 +1,7 @@ /* de-DE.h - localization for German - Germany for Tasmota - Copyright (C) 2020 VinceMasuka + Copyright (C) 2021 VinceMasuka This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/el_GR.h b/tasmota/language/el_GR.h index 635aa5b27..5820512d6 100644 --- a/tasmota/language/el_GR.h +++ b/tasmota/language/el_GR.h @@ -1,7 +1,7 @@ /* el-GR.h - localization for Greek - Greece for Tasmota - Copyright (C) 2020 Theo Arends, translated by Nick Galfas + Copyright (C) 2021 Theo Arends, translated by Nick Galfas This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/en_GB.h b/tasmota/language/en_GB.h index 20d0902a3..77a325d30 100644 --- a/tasmota/language/en_GB.h +++ b/tasmota/language/en_GB.h @@ -1,7 +1,7 @@ /* en-GB.h - localization for English - United Kingdom for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/es_ES.h b/tasmota/language/es_ES.h index ab84086ad..e04f2b256 100644 --- a/tasmota/language/es_ES.h +++ b/tasmota/language/es_ES.h @@ -1,7 +1,7 @@ /* es-ES.h - localization for Spanish - Spain for Tasmota - Copyright (C) 2020 Adrian Scillato + Copyright (C) 2021 Adrian Scillato This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/fr_FR.h b/tasmota/language/fr_FR.h index 0255d49e2..65c14a58d 100644 --- a/tasmota/language/fr_FR.h +++ b/tasmota/language/fr_FR.h @@ -1,6 +1,6 @@ /* fr-FR.h - localization for French - France for Tasmota - Copyright (C) 2020 Olivier Francais + Copyright (C) 2021 Olivier Francais This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or diff --git a/tasmota/language/he_HE.h b/tasmota/language/he_HE.h index d92bab299..6e9a6ef8e 100644 --- a/tasmota/language/he_HE.h +++ b/tasmota/language/he_HE.h @@ -1,7 +1,7 @@ /* he-HE.h - localization for Hebrew - Israel for Tasmota - Copyright (C) 2020 Yuval Mejahez + Copyright (C) 2021 Yuval Mejahez This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/hu_HU.h b/tasmota/language/hu_HU.h index ff6c40498..82fe0b4a4 100644 --- a/tasmota/language/hu_HU.h +++ b/tasmota/language/hu_HU.h @@ -1,7 +1,7 @@ /* hu-HU.h - localization for Hungarian in Hungary for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/it_IT.h b/tasmota/language/it_IT.h index 74f6b1090..91ae9a830 100644 --- a/tasmota/language/it_IT.h +++ b/tasmota/language/it_IT.h @@ -1,7 +1,7 @@ /* it-IT.h - localization for Italian - Italy for Tasmota - Copyright (C) 2020 Gennaro Tortone - some mods by Antonio Fragola - Updated by bovirus - rev. 24.12.2020 + Copyright (C) 2021 Gennaro Tortone - some mods by Antonio Fragola - Updated by bovirus - rev. 24.12.2020 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/ko_KO.h b/tasmota/language/ko_KO.h index 4da9f1303..6ab2f1421 100644 --- a/tasmota/language/ko_KO.h +++ b/tasmota/language/ko_KO.h @@ -1,7 +1,7 @@ /* ko-KO.h - localization for Korean - Korean for Tasmota - Copyright (C) 2020 Theo Arends (translated by NyaamZ) + Copyright (C) 2021 Theo Arends (translated by NyaamZ) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/nl_NL.h b/tasmota/language/nl_NL.h index 0be25c2e4..682fbec90 100644 --- a/tasmota/language/nl_NL.h +++ b/tasmota/language/nl_NL.h @@ -1,7 +1,7 @@ /* nl-NL.h - localization for Dutch - Nederland for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/pl_PL.h b/tasmota/language/pl_PL.h index ad522652f..f5497d91d 100644 --- a/tasmota/language/pl_PL.h +++ b/tasmota/language/pl_PL.h @@ -1,7 +1,7 @@ /* pl-PL-d.h - localization for Polish with diacritics - Poland for Tasmota - Copyright (C) 2020 Theo Arends (translated by roblad - Robert L., upgraded by R. Turala) + Copyright (C) 2021 Theo Arends (translated by roblad - Robert L., upgraded by R. Turala) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/pt_BR.h b/tasmota/language/pt_BR.h index fc50f160f..99d38f192 100644 --- a/tasmota/language/pt_BR.h +++ b/tasmota/language/pt_BR.h @@ -1,7 +1,7 @@ /* pt-BR.h - localization for Portuguese - Brazil for Tasmota - Copyright (C) 2020 Fabiano Bovo + Copyright (C) 2021 Fabiano Bovo This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/pt_PT.h b/tasmota/language/pt_PT.h index 67e3b6e6b..5e7c74f36 100644 --- a/tasmota/language/pt_PT.h +++ b/tasmota/language/pt_PT.h @@ -1,7 +1,7 @@ /* pt-PT.h - localization for Portuguese - Portugal for Tasmota - Copyright (C) 2020 Paulo Paiva + Copyright (C) 2021 Paulo Paiva This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/ro_RO.h b/tasmota/language/ro_RO.h index 6464e7af2..bb1a09185 100644 --- a/tasmota/language/ro_RO.h +++ b/tasmota/language/ro_RO.h @@ -1,7 +1,7 @@ /* ro-RO.h - localization for Romanian - Romania and Moldova for Tasmota - Copyright (C) 2020 Augustin Marti + Copyright (C) 2021 Augustin Marti This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/ru_RU.h b/tasmota/language/ru_RU.h index da5998e15..df1d5b50e 100644 --- a/tasmota/language/ru_RU.h +++ b/tasmota/language/ru_RU.h @@ -1,7 +1,7 @@ /* ru-RU.h - localization for Russian - Rissia for Tasmota - Copyright (C) 2020 Theo Arends / roman-vn + Copyright (C) 2021 Theo Arends / roman-vn This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/sk_SK.h b/tasmota/language/sk_SK.h index b162e992b..8f5490a19 100644 --- a/tasmota/language/sk_SK.h +++ b/tasmota/language/sk_SK.h @@ -1,7 +1,7 @@ /* sk-SK.h - localization for Slovak with diacritics - Slovak for Tasmota - Copyright (C) 2020 Vladimír Jendroľ + Copyright (C) 2021 Vladimír Jendroľ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/sv_SE.h b/tasmota/language/sv_SE.h index c15f911e4..6935fa102 100644 --- a/tasmota/language/sv_SE.h +++ b/tasmota/language/sv_SE.h @@ -1,7 +1,7 @@ /* sv-SE.h - localization for Swedish - Svenska for Tasmota - Copyright (C) 2020 Gunnar Norin + Copyright (C) 2021 Gunnar Norin This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/tr_TR.h b/tasmota/language/tr_TR.h index ac8e34ff0..01b73bc75 100644 --- a/tasmota/language/tr_TR.h +++ b/tasmota/language/tr_TR.h @@ -1,7 +1,7 @@ /* tr-TR.h - localization for Turkish - Turkey for Tasmota - Copyright (C) 2020 Ali Sait Teke and Theo Arends + Copyright (C) 2021 Ali Sait Teke and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/uk_UA.h b/tasmota/language/uk_UA.h index f3d455f72..11fbdac99 100644 --- a/tasmota/language/uk_UA.h +++ b/tasmota/language/uk_UA.h @@ -1,7 +1,7 @@ /* uk-UA.h - localization for Ukrainian - Ukraine for Tasmota - Copyright (C) 2020 Theo Arends / vadym-adik + Copyright (C) 2021 Theo Arends / vadym-adik This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/vi_VN.h b/tasmota/language/vi_VN.h index cf642b6dc..cc666ec82 100644 --- a/tasmota/language/vi_VN.h +++ b/tasmota/language/vi_VN.h @@ -1,7 +1,7 @@ /* vi-VN.h - localization for Vietnam for Tasmota - Copyright (C) 2020 translateb by Tâm.NT + Copyright (C) 2021 translateb by Tâm.NT This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/zh_CN.h b/tasmota/language/zh_CN.h index 8b2eb080c..2e6baa64d 100644 --- a/tasmota/language/zh_CN.h +++ b/tasmota/language/zh_CN.h @@ -1,7 +1,7 @@ /* zh-CN.h - localization for Chinese (Simplified) - China for Tasmota - Copyright (C) 2020 Theo Arends (translated by killadm) + Copyright (C) 2021 Theo Arends (translated by killadm) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/language/zh_TW.h b/tasmota/language/zh_TW.h index 6b79def35..2a2078266 100644 --- a/tasmota/language/zh_TW.h +++ b/tasmota/language/zh_TW.h @@ -1,7 +1,7 @@ /* zh-TW.h - localization for Chinese (Traditional) - Taiwan for Tasmota - Copyright (C) 2020 Theo Arends (translated by dannydu) + Copyright (C) 2021 Theo Arends (translated by dannydu) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index cc75735cf..59cef587c 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -1,7 +1,7 @@ /* my_user_config.h - user specific configuration for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/settings.h b/tasmota/settings.h index 72d0477ce..4842103b4 100644 --- a/tasmota/settings.h +++ b/tasmota/settings.h @@ -1,7 +1,7 @@ /* settings.h - setting variables for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/settings.ino b/tasmota/settings.ino index 859960472..465789eb8 100644 --- a/tasmota/settings.ino +++ b/tasmota/settings.ino @@ -1,7 +1,7 @@ /* settings.ino - user settings for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support.ino b/tasmota/support.ino index 215c8ea1d..3d8634e3e 100644 --- a/tasmota/support.ino +++ b/tasmota/support.ino @@ -1,7 +1,7 @@ /* support.ino - support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_button.ino b/tasmota/support_button.ino index 749509b69..53fb218ba 100644 --- a/tasmota/support_button.ino +++ b/tasmota/support_button.ino @@ -1,7 +1,7 @@ /* support_button.ino - button support for Tasmota - Copyright (C) 2020 Federico Leoni and Theo Arends + Copyright (C) 2021 Federico Leoni and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_command.ino b/tasmota/support_command.ino index bc1121123..59d3f3e41 100644 --- a/tasmota/support_command.ino +++ b/tasmota/support_command.ino @@ -1,7 +1,7 @@ /* support_command.ino - command support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_cores.ino b/tasmota/support_cores.ino index 855768bbf..547b776dc 100644 --- a/tasmota/support_cores.ino +++ b/tasmota/support_cores.ino @@ -1,7 +1,7 @@ /* support_cores.ino - Arduino core support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_crash_recorder.ino b/tasmota/support_crash_recorder.ino index aa1d17a15..b9d81b53f 100644 --- a/tasmota/support_crash_recorder.ino +++ b/tasmota/support_crash_recorder.ino @@ -1,7 +1,7 @@ /* support_crash_recorder.ino - record the call stack in RTC in case of crash - Copyright (C) 2020 Stephan Hadinger, Theo Arends, + Copyright (C) 2021 Stephan Hadinger, Theo Arends, This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_device_groups.ino b/tasmota/support_device_groups.ino index becb20c5b..7e589e15e 100644 --- a/tasmota/support_device_groups.ino +++ b/tasmota/support_device_groups.ino @@ -1,7 +1,7 @@ /* support_device_groups.ino - device groups support for Tasmota - Copyright (C) 2020 Paul C Diem + Copyright (C) 2021 Paul C Diem Device group allow multiple devices to be in a group with power, light brightness, fade and speed settings and other module-specific settings diff --git a/tasmota/support_eeprom.ino b/tasmota/support_eeprom.ino index 467459354..10828fe16 100644 --- a/tasmota/support_eeprom.ino +++ b/tasmota/support_eeprom.ino @@ -1,7 +1,7 @@ /* support_eeprom.ino - eeprom support for Sonoff-Tasmota - Copyright (C) 2020 Theo Arends & Gerhard Mutz + Copyright (C) 2021 Theo Arends & Gerhard Mutz This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_esp32.ino b/tasmota/support_esp32.ino index 3018b9de8..275064204 100644 --- a/tasmota/support_esp32.ino +++ b/tasmota/support_esp32.ino @@ -1,7 +1,7 @@ /* support_esp32.ino - ESP32 specific code for Tasmota - Copyright (C) 2020 Theo Arends / Jörg Schüler-Maroldt + Copyright (C) 2021 Theo Arends / Jörg Schüler-Maroldt This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_esptool.ino b/tasmota/support_esptool.ino index efde513fc..f100a4706 100644 --- a/tasmota/support_esptool.ino +++ b/tasmota/support_esptool.ino @@ -1,7 +1,7 @@ /* support_esptool.ino - esptool support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_features.ino b/tasmota/support_features.ino index 7a5d6cbcb..29ef7a15c 100644 --- a/tasmota/support_features.ino +++ b/tasmota/support_features.ino @@ -1,7 +1,7 @@ /* support_features.ino - feature support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_filesystem.ino b/tasmota/support_filesystem.ino index 94b69fea2..445c34ae4 100644 --- a/tasmota/support_filesystem.ino +++ b/tasmota/support_filesystem.ino @@ -1,7 +1,7 @@ /* support_filesystem.ino - Filesystem support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_flash_log.ino b/tasmota/support_flash_log.ino index a1bdd5012..58a8c2dc0 100644 --- a/tasmota/support_flash_log.ino +++ b/tasmota/support_flash_log.ino @@ -1,7 +1,7 @@ /* support_flash_log.ino - log to flash support for Sonoff-Tasmota - Copyright (C) 2020 Theo Arends & Christian Baars + Copyright (C) 2021 Theo Arends & Christian Baars This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_float.ino b/tasmota/support_float.ino index 1e2edc3f2..2bdf32ef2 100644 --- a/tasmota/support_float.ino +++ b/tasmota/support_float.ino @@ -1,7 +1,7 @@ /* support_float.ino - Small floating point support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_jpeg.ino b/tasmota/support_jpeg.ino index e9d0b2813..4669b9ad7 100644 --- a/tasmota/support_jpeg.ino +++ b/tasmota/support_jpeg.ino @@ -1,7 +1,7 @@ /* jpeg_utils.c - Version header file for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_light_list.ino b/tasmota/support_light_list.ino index 316f3f64e..eaaea1322 100644 --- a/tasmota/support_light_list.ino +++ b/tasmota/support_light_list.ino @@ -1,7 +1,7 @@ /* support_light_list.ino - Lightweight Linked List for simple objects - optimized for low code size and low memory - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,9 +18,9 @@ */ /*********************************************************************************************\ - * + * * private class for Linked List element - * + * \*********************************************************************************************/ template class LList; @@ -43,9 +43,9 @@ protected: }; /*********************************************************************************************\ - * + * * Lightweight Linked List - optimized for low code size - * + * \*********************************************************************************************/ template class LList { diff --git a/tasmota/support_network.ino b/tasmota/support_network.ino index f50705272..56ac7d799 100644 --- a/tasmota/support_network.ino +++ b/tasmota/support_network.ino @@ -1,7 +1,7 @@ /* support_network.ino - Network support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_rotary.ino b/tasmota/support_rotary.ino index f38d8fb9f..7470a0985 100644 --- a/tasmota/support_rotary.ino +++ b/tasmota/support_rotary.ino @@ -1,7 +1,7 @@ /* support_rotary.ino - rotary switch support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_rtc.ino b/tasmota/support_rtc.ino index 294303026..fc8a14042 100644 --- a/tasmota/support_rtc.ino +++ b/tasmota/support_rtc.ino @@ -1,7 +1,7 @@ /* support_rtc.ino - Real Time Clock support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_static_buffer.ino b/tasmota/support_static_buffer.ino index 9504ba3dd..2c3b8887c 100644 --- a/tasmota/support_static_buffer.ino +++ b/tasmota/support_static_buffer.ino @@ -1,7 +1,7 @@ /* support_buffer.ino - Static binary buffer for Zigbee on Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_statistics.ino b/tasmota/support_statistics.ino index 59318e575..e899ae604 100644 --- a/tasmota/support_statistics.ino +++ b/tasmota/support_statistics.ino @@ -1,7 +1,7 @@ /* support_statistics.ino - gather statistics for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_switch.ino b/tasmota/support_switch.ino index 36dc2bb39..3bf500b02 100644 --- a/tasmota/support_switch.ino +++ b/tasmota/support_switch.ino @@ -1,7 +1,7 @@ /* support_switch.ino - switch support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_tasmota.ino b/tasmota/support_tasmota.ino index b6178f4bc..dedb28f6d 100644 --- a/tasmota/support_tasmota.ino +++ b/tasmota/support_tasmota.ino @@ -1,7 +1,7 @@ /* support_tasmota.ino - Core support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_udp.ino b/tasmota/support_udp.ino index f83788a59..7c13c86ba 100644 --- a/tasmota/support_udp.ino +++ b/tasmota/support_udp.ino @@ -1,7 +1,7 @@ /* support_udp.ino - Udp support for Tasmota - Copyright (C) 2020 Heiko Krupp and Theo Arends + Copyright (C) 2021 Heiko Krupp and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/support_wifi.ino b/tasmota/support_wifi.ino index 6cba8a053..d70e9afd3 100644 --- a/tasmota/support_wifi.ino +++ b/tasmota/support_wifi.ino @@ -1,7 +1,7 @@ /* support_wifi.ino - wifi support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/tasmota.h b/tasmota/tasmota.h index 20f150f69..e01de2d3f 100644 --- a/tasmota/tasmota.h +++ b/tasmota/tasmota.h @@ -1,7 +1,7 @@ /* tasmota.h - Master header file for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index 183606909..7dcc7e7ef 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -1,7 +1,7 @@ /* tasmota.ino - Tasmota firmware for iTead Sonoff, Wemos and NodeMCU hardware - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/tasmota_ca.ino b/tasmota/tasmota_ca.ino index 990a0f970..97b79614b 100644 --- a/tasmota/tasmota_ca.ino +++ b/tasmota/tasmota_ca.ino @@ -1,7 +1,7 @@ /* tasmota_ca.ino - Certificate authorities for Tasmota, LetsEncrypt and AWS - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/tasmota_compat.h b/tasmota/tasmota_compat.h index 598ca5619..4a75ec3a8 100644 --- a/tasmota/tasmota_compat.h +++ b/tasmota/tasmota_compat.h @@ -1,3 +1,22 @@ +/* + tasmota_compat.h - ESP32 support for Tasmota + + Copyright (C) 2021 Jörg Schüler-Maroldt and Theo Arends + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #pragma once #ifdef ESP32 diff --git a/tasmota/tasmota_configurations.h b/tasmota/tasmota_configurations.h index 6e4169e82..9a4e26e4d 100644 --- a/tasmota/tasmota_configurations.h +++ b/tasmota/tasmota_configurations.h @@ -1,7 +1,7 @@ /* tasmota_configurations.h - Configurations for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/tasmota_configurations_ESP32.h b/tasmota/tasmota_configurations_ESP32.h index 2f21ed0aa..3ce9881f6 100644 --- a/tasmota/tasmota_configurations_ESP32.h +++ b/tasmota/tasmota_configurations_ESP32.h @@ -1,7 +1,7 @@ /* tasmota_configurations_ESP32.h - ESP32 only Configurations for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/tasmota_globals.h b/tasmota/tasmota_globals.h index 7ef12bb8d..70a8e1745 100644 --- a/tasmota/tasmota_globals.h +++ b/tasmota/tasmota_globals.h @@ -1,7 +1,7 @@ /* tasmota_globals.h - Function prototypes and global configurations for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/tasmota_template.h b/tasmota/tasmota_template.h index 786eeed08..714ca0f77 100644 --- a/tasmota/tasmota_template.h +++ b/tasmota/tasmota_template.h @@ -1,7 +1,7 @@ /* tasmota_template.h - template settings for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/tasmota_template_legacy.h b/tasmota/tasmota_template_legacy.h index 153a6801b..4d5f2c507 100644 --- a/tasmota/tasmota_template_legacy.h +++ b/tasmota/tasmota_template_legacy.h @@ -1,7 +1,7 @@ /* tasmota_template_legacy.h - template settings for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/tasmota_version.h b/tasmota/tasmota_version.h index 490f68bd8..c61d7dbaa 100644 --- a/tasmota/tasmota_version.h +++ b/tasmota/tasmota_version.h @@ -1,7 +1,7 @@ /* tasmota_version.h - Version header file for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/user_config_override_sample.h b/tasmota/user_config_override_sample.h index b04b979fe..d33e5fc75 100644 --- a/tasmota/user_config_override_sample.h +++ b/tasmota/user_config_override_sample.h @@ -1,7 +1,7 @@ /* user_config_override.h - user configuration overrides my_user_config.h for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_01_webserver.ino b/tasmota/xdrv_01_webserver.ino index ba105332c..56389ea9a 100644 --- a/tasmota/xdrv_01_webserver.ino +++ b/tasmota/xdrv_01_webserver.ino @@ -1,7 +1,7 @@ /* xdrv_01_webserver.ino - webserver for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_02_mqtt.ino b/tasmota/xdrv_02_mqtt.ino index a0bc0f494..81de886f4 100644 --- a/tasmota/xdrv_02_mqtt.ino +++ b/tasmota/xdrv_02_mqtt.ino @@ -1,7 +1,7 @@ /* xdrv_02_mqtt.ino - mqtt support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_03_energy.ino b/tasmota/xdrv_03_energy.ino index 18c57b371..e7b52b9ab 100644 --- a/tasmota/xdrv_03_energy.ino +++ b/tasmota/xdrv_03_energy.ino @@ -1,7 +1,7 @@ /* xdrv_03_energy.ino - Energy sensor support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_04_light.ino b/tasmota/xdrv_04_light.ino index f0b94bcec..5443a8a55 100644 --- a/tasmota/xdrv_04_light.ino +++ b/tasmota/xdrv_04_light.ino @@ -1,7 +1,7 @@ /* xdrv_04_light.ino - PWM, WS2812 and sonoff led support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -134,7 +134,7 @@ const char kLightCommands[] PROGMEM = "|" // No prefix D_CMND_WHITE "|" D_CMND_CHANNEL "|" D_CMND_HSBCOLOR "|" D_CMND_CTRANGE #ifdef USE_LIGHT_VIRTUAL_CT - "|" D_CMND_VIRTUALCT + "|" D_CMND_VIRTUALCT #endif // USE_LIGHT_VIRTUAL_CT #ifdef USE_LIGHT_PALETTE "|" D_CMND_PALETTE @@ -2385,7 +2385,7 @@ bool calcGammaBulbs(uint16_t cur_col_10[5]) { } } #endif // ESP8266 - + // Now see if we need to mix RGB and White // Valid only for LST_RGBW, LST_RGBCW, SetOption105 1, and white is zero (see doc) if ((LST_RGBW <= Light.subtype) && (Settings.flag4.white_blend_mode) && (0 == cur_col_10[3]+cur_col_10[4])) { @@ -2400,7 +2400,7 @@ bool calcGammaBulbs(uint16_t cur_col_10[5]) { white_bri10 = (white_bri10 > 1023) ? 1023 : white_bri10; // max 1023 rgbwwtable_applied_white = true; } - + #ifdef USE_LIGHT_VIRTUAL_CT // compute virtual CT, which is suppsed to be compatible with white_blend_mode if (Light.virtual_ct && (!white_free_cw) && (LST_RGBW <= Light.subtype)) { // any light with a white channel @@ -2444,7 +2444,7 @@ bool calcGammaBulbs(uint16_t cur_col_10[5]) { cur_col_10[3] = white_bri10; // simple case, we set the White level to the required brightness } else if ((LST_COLDWARM == Light.subtype) || (LST_RGBCW == Light.subtype)) { // if sum of both channels is > 255, then channels are probably uncorrelated - if (!white_free_cw) { + if (!white_free_cw) { // then we split the total energy among the cold and warm leds cur_col_10[cw0+1] = changeUIntScale(ct_10, 0, 1023, 0, white_bri10); cur_col_10[cw0] = white_bri10 - cur_col_10[cw0+1]; diff --git a/tasmota/xdrv_05_irremote.ino b/tasmota/xdrv_05_irremote.ino index efa048465..44304c550 100644 --- a/tasmota/xdrv_05_irremote.ino +++ b/tasmota/xdrv_05_irremote.ino @@ -1,7 +1,7 @@ /* xdrv_05_irremote.ino - infra red support for Tasmota - Copyright (C) 2020 Heiko Krupp, Lazar Obradovic and Theo Arends + Copyright (C) 2021 Heiko Krupp, Lazar Obradovic and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_05_irremote_full.ino b/tasmota/xdrv_05_irremote_full.ino index 4bfd00da2..bed0e8199 100644 --- a/tasmota/xdrv_05_irremote_full.ino +++ b/tasmota/xdrv_05_irremote_full.ino @@ -1,7 +1,7 @@ /* xdrv_05_irremote_full.ino - complete integration of IRremoteESP8266 for Tasmota - Copyright (C) 2020 Heiko Krupp, Lazar Obradovic, Theo Arends, Stephan Hadinger + Copyright (C) 2021 Heiko Krupp, Lazar Obradovic, Theo Arends, Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_06_snfbridge.ino b/tasmota/xdrv_06_snfbridge.ino index 735913ed4..bb77d64c2 100644 --- a/tasmota/xdrv_06_snfbridge.ino +++ b/tasmota/xdrv_06_snfbridge.ino @@ -1,7 +1,7 @@ /* xdrv_06_snfbridge.ino - sonoff RF bridge 433 support for Tasmota - Copyright (C) 2020 Theo Arends and Erik Andrén Zachrisson (fw update) + Copyright (C) 2021 Theo Arends and Erik Andrén Zachrisson (fw update) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_07_domoticz.ino b/tasmota/xdrv_07_domoticz.ino index e43ed1ce4..82b769963 100644 --- a/tasmota/xdrv_07_domoticz.ino +++ b/tasmota/xdrv_07_domoticz.ino @@ -1,7 +1,7 @@ /* xdrv_07_domoticz.ino - domoticz support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_08_serial_bridge.ino b/tasmota/xdrv_08_serial_bridge.ino index 01e1cc5f0..eda328719 100644 --- a/tasmota/xdrv_08_serial_bridge.ino +++ b/tasmota/xdrv_08_serial_bridge.ino @@ -1,7 +1,7 @@ /* xdrv_08_serial_bridge.ino - serial bridge support for Tasmota - Copyright (C) 2020 Theo Arends and Dániel Zoltán Tolnai + Copyright (C) 2021 Theo Arends and Dániel Zoltán Tolnai This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_09_timers.ino b/tasmota/xdrv_09_timers.ino index 543da7d25..e2a66cfd0 100644 --- a/tasmota/xdrv_09_timers.ino +++ b/tasmota/xdrv_09_timers.ino @@ -1,7 +1,7 @@ /* xdrv_09_timers.ino - timer support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_10_rules.ino b/tasmota/xdrv_10_rules.ino index 9a91c9a38..8d8fefc13 100644 --- a/tasmota/xdrv_10_rules.ino +++ b/tasmota/xdrv_10_rules.ino @@ -1,7 +1,7 @@ /* xdrv_10_rules.ino - rule support for Tasmota - Copyright (C) 2020 ESP Easy Group and Theo Arends + Copyright (C) 2021 ESP Easy Group and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_10_scripter.ino b/tasmota/xdrv_10_scripter.ino index 6f7351c7d..d9a178e2b 100755 --- a/tasmota/xdrv_10_scripter.ino +++ b/tasmota/xdrv_10_scripter.ino @@ -1,7 +1,7 @@ /* xdrv_10_scripter.ino - script support for Tasmota - Copyright (C) 2020 Gerhard Mutz and Theo Arends + Copyright (C) 2021 Gerhard Mutz and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_11_knx.ino b/tasmota/xdrv_11_knx.ino index 6aaf73715..0a8442e3b 100644 --- a/tasmota/xdrv_11_knx.ino +++ b/tasmota/xdrv_11_knx.ino @@ -1,7 +1,7 @@ /* xdrv_11_knx.ino - KNX IP Protocol support for Tasmota - Copyright (C) 2020 Adrian Scillato (https://github.com/ascillato) + Copyright (C) 2021 Adrian Scillato (https://github.com/ascillato) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -590,7 +590,7 @@ void KNX_CB_Action(message_t const &msg, void *arg) else if ((chan->type >= KNX_SLOT1) && (chan->type <= KNX_SLOT5)) // KNX RX SLOTs (write command) { if (!toggle_inhibit) { - char command[35]; //4294967295.00 13chars + 17 + char command[35]; //4294967295.00 13chars + 17 if (msg.data_len == 1) { // Command received snprintf_P(command, sizeof(command), PSTR("event KNXRX_CMND%d=%d"), ((chan->type) - KNX_SLOT1 + 1 ), msg.data[0]); diff --git a/tasmota/xdrv_12_home_assistant.ino b/tasmota/xdrv_12_home_assistant.ino index cd92e2e32..e61ec7938 100644 --- a/tasmota/xdrv_12_home_assistant.ino +++ b/tasmota/xdrv_12_home_assistant.ino @@ -1,7 +1,7 @@ /* xdrv_12_home_assistant.ino - home assistant support for Tasmota - Copyright (C) 2020 Erik Montnemery, Federico Leoni and Theo Arends + Copyright (C) 2021 Erik Montnemery, Federico Leoni and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_13_display.ino b/tasmota/xdrv_13_display.ino index 2fa7d95d8..00a2ac8a5 100644 --- a/tasmota/xdrv_13_display.ino +++ b/tasmota/xdrv_13_display.ino @@ -1,7 +1,7 @@ /* xdrv_13_display.ino - Display support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_14_mp3.ino b/tasmota/xdrv_14_mp3.ino index ed6beee63..b0af75e57 100644 --- a/tasmota/xdrv_14_mp3.ino +++ b/tasmota/xdrv_14_mp3.ino @@ -1,7 +1,7 @@ /* xdrv_14_mp3.ino - MP3 support for Tasmota - Copyright (C) 2020 gemu2015, mike2nl and Theo Arends + Copyright (C) 2021 gemu2015, mike2nl and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_15_pca9685.ino b/tasmota/xdrv_15_pca9685.ino index f57a10fd2..950a7df2b 100644 --- a/tasmota/xdrv_15_pca9685.ino +++ b/tasmota/xdrv_15_pca9685.ino @@ -1,7 +1,7 @@ /* xdrv_15_pca9685.ino - Support for I2C PCA9685 12bit 16 pin hardware PWM driver on Tasmota - Copyright (C) 2020 Andre Thomas and Theo Arends + Copyright (C) 2021 Andre Thomas and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_16_tuyamcu.ino b/tasmota/xdrv_16_tuyamcu.ino index 51a0a9c5b..ba8766b98 100644 --- a/tasmota/xdrv_16_tuyamcu.ino +++ b/tasmota/xdrv_16_tuyamcu.ino @@ -1,7 +1,7 @@ /* xdrv_16_tuyamcu.ino - Tuya MCU support for Tasmota - Copyright (C) 2020 Federico Leoni, digiblur, Joel Stein and Theo Arends + Copyright (C) 2021 Federico Leoni, digiblur, Joel Stein and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_17_rcswitch.ino b/tasmota/xdrv_17_rcswitch.ino index 3930dd8cd..8877544df 100644 --- a/tasmota/xdrv_17_rcswitch.ino +++ b/tasmota/xdrv_17_rcswitch.ino @@ -1,7 +1,7 @@ /* xdrv_17_rcswitch.ino - RF transceiver using RcSwitch library for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_18_armtronix_dimmers.ino b/tasmota/xdrv_18_armtronix_dimmers.ino index a2fa782f5..14fba8c7b 100644 --- a/tasmota/xdrv_18_armtronix_dimmers.ino +++ b/tasmota/xdrv_18_armtronix_dimmers.ino @@ -1,7 +1,7 @@ /* xdrv_18_armtronix_dimmers.ino - Armtronix dimmers support for Tasmota - Copyright (C) 2020 wvdv2002 and Theo Arends + Copyright (C) 2021 wvdv2002 and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_19_ps16dz_dimmer.ino b/tasmota/xdrv_19_ps16dz_dimmer.ino index f3cb9ef5f..b44a6da1b 100644 --- a/tasmota/xdrv_19_ps16dz_dimmer.ino +++ b/tasmota/xdrv_19_ps16dz_dimmer.ino @@ -1,7 +1,7 @@ /* xdrv_19_ps16dz.dimmer.ino - PS_16_DZ dimmer support for Tasmota - Copyright (C) 2020 Joel Stein and Theo Arends + Copyright (C) 2021 Joel Stein and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_20_hue.ino b/tasmota/xdrv_20_hue.ino index e7289af7f..b0a18d16a 100644 --- a/tasmota/xdrv_20_hue.ino +++ b/tasmota/xdrv_20_hue.ino @@ -1,7 +1,7 @@ /* xdrv_20_hue.ino - Philips Hue support for Tasmota - Copyright (C) 2020 Heiko Krupp and Theo Arends + Copyright (C) 2021 Heiko Krupp and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_21_wemo.ino b/tasmota/xdrv_21_wemo.ino index b63c89e89..96e937d21 100644 --- a/tasmota/xdrv_21_wemo.ino +++ b/tasmota/xdrv_21_wemo.ino @@ -1,7 +1,7 @@ /* xdrv_21_wemo.ino - wemo support for Tasmota - Copyright (C) 2020 Heiko Krupp and Theo Arends + Copyright (C) 2021 Heiko Krupp and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_21_wemo_multi.ino b/tasmota/xdrv_21_wemo_multi.ino index 09c05b718..ec3fb7d42 100644 --- a/tasmota/xdrv_21_wemo_multi.ino +++ b/tasmota/xdrv_21_wemo_multi.ino @@ -1,7 +1,7 @@ /* xdrv_21_wemo_multi.ino - multiple wemo support for Tasmota - Copyright (C) 2020 Magic73, Heiko Krupp and Theo Arends + Copyright (C) 2021 Magic73, Heiko Krupp and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_22_sonoff_ifan.ino b/tasmota/xdrv_22_sonoff_ifan.ino index 5ea74c792..4ee897020 100644 --- a/tasmota/xdrv_22_sonoff_ifan.ino +++ b/tasmota/xdrv_22_sonoff_ifan.ino @@ -1,7 +1,7 @@ /* xdrv_22_sonoff_ifan.ino - sonoff iFan02 and iFan03 support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_0_constants.ino b/tasmota/xdrv_23_zigbee_0_constants.ino index 50c9e4eee..f29c787c6 100644 --- a/tasmota/xdrv_23_zigbee_0_constants.ino +++ b/tasmota/xdrv_23_zigbee_0_constants.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_constants.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1165,11 +1165,11 @@ String getEmberStatus(uint8_t status) { 0x39, 0x3A, 0x3D, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x40, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x58, 0x59, 0x5A, 0x66, 0x69, 0x6A, 0x6C, - 0x70, 0x71, 0x72, 0x74, 0x75, 0x76, - 0x80, 0x81, 0x82, 0x84, 0x85, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F, + 0x70, 0x71, 0x72, 0x74, 0x75, 0x76, + 0x80, 0x81, 0x82, 0x84, 0x85, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F, 0x90, 0x91, 0x94, 0x96, 0x98, 0x99, 0x9A, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF, - 0x93, 0x95, 0xA1, 0xA3, 0xA4, 0xA5, 0xA6, 0xA8, - 0xB3, 0xB7, 0xB8, 0xBB, 0xBD, 0xA9, 0xAA, + 0x93, 0x95, 0xA1, 0xA3, 0xA4, 0xA5, 0xA6, 0xA8, + 0xB3, 0xB7, 0xB8, 0xBB, 0xBD, 0xA9, 0xAA, 0xB0, 0xB1, 0xB4, 0xB6, 0xB5, 0xBA }; char msg[32]; diff --git a/tasmota/xdrv_23_zigbee_1_headers.ino b/tasmota/xdrv_23_zigbee_1_headers.ino index 33ca5381e..3b9c73536 100644 --- a/tasmota/xdrv_23_zigbee_1_headers.ino +++ b/tasmota/xdrv_23_zigbee_1_headers.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_1_headers.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_1z_libs.ino b/tasmota/xdrv_23_zigbee_1z_libs.ino index 65ea266d2..4e018a21e 100644 --- a/tasmota/xdrv_23_zigbee_1z_libs.ino +++ b/tasmota/xdrv_23_zigbee_1z_libs.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_1z_libs.ino - zigbee support for Tasmota, JSON replacement libs - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -45,9 +45,9 @@ int strcmp_PP(const char *p1, const char *p2) { } /*********************************************************************************************\ - * + * * Variables for Rules from last Zigbee message received - * + * \*********************************************************************************************/ typedef struct Z_LastMessageVars { @@ -65,9 +65,9 @@ uint16_t Z_GetLastCluster(void) { return gZbLastMessage.cluster; } uint8_t Z_GetLastEndpoint(void) { return gZbLastMessage.endpoint; } /*********************************************************************************************\ - * + * * Class for single attribute - * + * \*********************************************************************************************/ enum class Za_type : uint8_t { @@ -126,7 +126,7 @@ public: attr_type(0xFF), attr_multiplier(1) {}; - + Z_attribute(const Z_attribute & rhs) { deepCopy(rhs); } @@ -213,9 +213,9 @@ protected: }; /*********************************************************************************************\ - * + * * Class for attribute ordered list - * + * \*********************************************************************************************/ @@ -309,9 +309,9 @@ Z_attribute & Z_attribute_list::addAttributePMEM(const char * name) { } /*********************************************************************************************\ - * + * * Implementation for Z_attribute - * + * \*********************************************************************************************/ // free any allocated memoruy for keys @@ -719,9 +719,9 @@ void Z_attribute::deepCopy(const Z_attribute & rhs) { } /*********************************************************************************************\ - * + * * Implementation for Z_attribute_list - * + * \*********************************************************************************************/ // add a cluster/attr_id attribute at the end of the list Z_attribute & Z_attribute_list::addAttribute(uint16_t cluster, uint16_t attr_id, uint8_t suffix) { diff --git a/tasmota/xdrv_23_zigbee_2_devices.ino b/tasmota/xdrv_23_zigbee_2_devices.ino index c319bb26f..e03e27d3d 100644 --- a/tasmota/xdrv_23_zigbee_2_devices.ino +++ b/tasmota/xdrv_23_zigbee_2_devices.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -235,7 +235,7 @@ public: inline void setCT(uint16_t _ct) { ct = _ct; } inline void setX(uint16_t _x) { x = _x; } inline void setY(uint16_t _y) { y = _y; } - + static const Z_Data_Type type = Z_Data_Type::Z_Light; // 12 bytes uint8_t colormode; // 0x00: Hue/Sat, 0x01: XY, 0x02: CT | 0xFF not set, default 0x01 @@ -248,7 +248,7 @@ public: /*********************************************************************************************\ * Device specific: PIR - * + * // List of occupancy time-outs: // 0xF = default (90 s) // 0x0 = no time-out @@ -274,7 +274,7 @@ public: inline uint8_t getOccupancy(void) const { return occupancy; } inline uint16_t getIlluminance(void) const { return illuminance; } - + inline void setOccupancy(uint8_t _occupancy) { occupancy = _occupancy; } inline void setIlluminance(uint16_t _illuminance) { illuminance = _illuminance; } @@ -429,7 +429,7 @@ public: } void convertZoneStatus(Z_attribute_list & attr_list, uint16_t val) const; - + // 4 bytes uint16_t zone_status; // last known state for sensor 1 & 2 uint16_t zone_type; // mapped to the Zigbee standard @@ -503,7 +503,7 @@ void Z_Data_Alarm::convertZoneStatus(Z_attribute_list & attr_list, uint16_t val) /*********************************************************************************************\ * Mode - * + * // List of modes // 0x1 = Tuya Zigbee mode // 0xF (default) = ZCL standard mode @@ -524,7 +524,7 @@ public: }; /*********************************************************************************************\ - * + * \*********************************************************************************************/ const uint8_t Z_Data_Type_len[] PROGMEM = { 0, // 0x00 Z_Data_Type::Z_Unknown @@ -556,9 +556,9 @@ size_t Z_Data::DataTypeToLength(Z_Data_Type t) { /*********************************************************************************************\ - * + * * Device specific Linked List - * + * \*********************************************************************************************/ class Z_Data_Set : public LList { public: @@ -886,7 +886,7 @@ public: Z_Device & isKnownLongAddrDevice(uint64_t longaddr) const; Z_Device & isKnownIndexDevice(uint32_t index) const; Z_Device & isKnownFriendlyNameDevice(const char * name) const; - + Z_Device & findShortAddr(uint16_t shortaddr); const Z_Device & findShortAddr(uint16_t shortaddr) const; Z_Device & findLongAddr(uint64_t longaddr); diff --git a/tasmota/xdrv_23_zigbee_2a_devices_impl.ino b/tasmota/xdrv_23_zigbee_2a_devices_impl.ino index b54f2aff1..0a97a9938 100644 --- a/tasmota/xdrv_23_zigbee_2a_devices_impl.ino +++ b/tasmota/xdrv_23_zigbee_2a_devices_impl.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_2a_devices_impl.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_3_hue.ino b/tasmota/xdrv_23_zigbee_3_hue.ino index 2939e75b5..100faef9c 100644 --- a/tasmota/xdrv_23_zigbee_3_hue.ino +++ b/tasmota/xdrv_23_zigbee_3_hue.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_4_persistence.ino b/tasmota/xdrv_23_zigbee_4_persistence.ino index 91c516194..35d25922b 100644 --- a/tasmota/xdrv_23_zigbee_4_persistence.ino +++ b/tasmota/xdrv_23_zigbee_4_persistence.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_4a_nano_fs.ino b/tasmota/xdrv_23_zigbee_4a_nano_fs.ino index 2c9ea9ec7..007615c1b 100644 --- a/tasmota/xdrv_23_zigbee_4a_nano_fs.ino +++ b/tasmota/xdrv_23_zigbee_4a_nano_fs.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_4a_eeprom.ino - zigbee support for Tasmota - nano filesystem for EEPROM, with anti-weavering - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -93,9 +93,9 @@ // - only file size actually changes /*********************************************************************************************\ - * + * * Constants - * + * \*********************************************************************************************/ const size_t ZFS_BLOCK_SIZE = 256; const size_t ZFS_ENTRY_SIZE = 8; // each entry is 32 bytes @@ -124,7 +124,7 @@ public: blk_start(0), reserved(0) {} - + inline static bool validIdx(uint8_t blk_start) { return ((blk_start != 0x00) && (blk_start != 0x01) && (blk_start != 0xFF)); }; static uint16_t getAddress(uint8_t entry_idx); void read(uint8_t entry_idx); @@ -190,9 +190,9 @@ public: }; /*********************************************************************************************\ - * + * * Formatting implementations - * + * \*********************************************************************************************/ void ZFS_Dir_Block::format(void) { @@ -229,9 +229,9 @@ void ZFS_Map::format(void) { } /*********************************************************************************************\ - * + * * Writing a file - * + * \*********************************************************************************************/ class ZFS_Write_File { @@ -256,9 +256,9 @@ protected: /*********************************************************************************************\ - * + * * Check that the EEPROM is formatted - * + * \*********************************************************************************************/ // Main class for the Zigbee filesystem @@ -277,9 +277,9 @@ public: }; /*********************************************************************************************\ - * + * * Check that the EEPROM is formatted - * + * \*********************************************************************************************/ bool ZFS::findFileEntry(uint32_t name, ZFS_File_Entry & entry, uint8_t * _entry_idx) { @@ -317,9 +317,9 @@ void ZFS::erase(void) { } /*********************************************************************************************\ - * + * * Reading a file - * + * \*********************************************************************************************/ int32_t ZFS::readBytes(uint32_t name, void* buffer, size_t buffer_len, uint16_t read_start, uint16_t read_len) { if (!zigbee.eeprom_ready) { return -1; } @@ -349,9 +349,9 @@ int32_t ZFS::readBytes(uint32_t name, void* buffer, size_t buffer_len, uint16_t } /*********************************************************************************************\ - * + * * Check that the EEPROM is formatted - * + * \*********************************************************************************************/ void ZFS::initOrFormat(void) { @@ -386,7 +386,7 @@ void ZFS::initOrFormat(void) { format(); } delete dir; - + zigbee.eeprom_ready = true; } @@ -408,7 +408,7 @@ void ZFS::format(void) { zigbee.eeprom.writeBytes(0x0100, 256, (byte*) map); delete map; - // Dir + // Dir ZFS_Dir_Block * dir = new ZFS_Dir_Block(); dir->format(); zigbee.eeprom.writeBytes(0x0000, 256, (byte*) dir); diff --git a/tasmota/xdrv_23_zigbee_4b_eeprom.ino b/tasmota/xdrv_23_zigbee_4b_eeprom.ino index 360efb59d..88fa1e391 100644 --- a/tasmota/xdrv_23_zigbee_4b_eeprom.ino +++ b/tasmota/xdrv_23_zigbee_4b_eeprom.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_4a_eeprom.ino - zigbee support for Tasmota - saving configuration in I2C Eeprom of ZBBridge - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -107,9 +107,9 @@ int32_t hydrateSingleDevice(const class SBuffer & buf, size_t start, size_t len) } /*********************************************************************************************\ - * + * * Hydrate data from the EEPROM - * + * \*********************************************************************************************/ // Parse the entire blob // return true if ok @@ -200,9 +200,9 @@ class SBuffer hibernateDeviceData(const struct Z_Device & device, bool mqtt = fa } /*********************************************************************************************\ - * + * * Hibernate data to the EEPROM - * + * \*********************************************************************************************/ void hibernateAllData(void) { #ifdef USE_ZIGBEE_EZSP @@ -255,7 +255,7 @@ bool hibernateDevicesInEEPROM(void) { if (!zigbee.eeprom_ready) { return false; } ZFS_Write_File write_data(ZIGB_NAME2); - + // first prefix is number of devices uint8_t devices_size = zigbee_devices.devicesSize(); if (devices_size > 64) { devices_size = 64; } // arbitrarily limit to 64 devices in EEPROM instead of 32 in Flash diff --git a/tasmota/xdrv_23_zigbee_5__constants.ino b/tasmota/xdrv_23_zigbee_5__constants.ino index dd7e9234c..fdd161c50 100644 --- a/tasmota/xdrv_23_zigbee_5__constants.ino +++ b/tasmota/xdrv_23_zigbee_5__constants.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_5__constants.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -40,30 +40,30 @@ def clean(s): def strings_to_pmem(arg): #strings = arg.split("\n") strings = re.findall(pat, arg) - + # do some basic cleaning strings_cleaned = [ clean(x) for x in strings if clean(x) != ""] - + # remove duplicates strings_cleaned = list(dict.fromkeys(strings_cleaned)) - + out_s = "const char Z_strings[] PROGMEM = \n" out_i = "enum Z_offsets {\n" - + index = 0; # add a first empty string out_s += " \"\\x00\"\n" out_i += " Zo_ = " + str(index) + ",\n" index += 1 - + for s in strings_cleaned: out_s += " \"" + s + "\" \"\\x00\"\n" out_i += " Zo_" + s + " = " + str(index) + ",\n" index += len(s) + 1 # add one for null char - + out_s += " \"\\x00\";" out_i += "};" - + return ("", out_s, out_i) @@ -73,7 +73,7 @@ def strings_to_pmem(arg): DO NOT EDIT */ -const char Z_strings[] PROGMEM = +const char Z_strings[] PROGMEM = "\x00" "ZCLVersion" "\x00" "AppVersion" "\x00" diff --git a/tasmota/xdrv_23_zigbee_5_converters.ino b/tasmota/xdrv_23_zigbee_5_converters.ino index 06c59ece8..8af9ee7fa 100644 --- a/tasmota/xdrv_23_zigbee_5_converters.ino +++ b/tasmota/xdrv_23_zigbee_5_converters.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_converters.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1624,7 +1624,7 @@ void ZCLFrame::parseClusterSpecificCommand(Z_attribute_list& attr_list) { void ZCLFrame::syntheticAnalogValue(Z_attribute_list &attr_list, class Z_attribute &attr) { const char * modelId_c = zigbee_devices.getModelId(_srcaddr); // null if unknown String modelId((char*) modelId_c); - + if (modelId.startsWith(F("lumi.sensor_cube"))) { attr.setKeyId(0x000C, 0xFF55); // change to AqaraRotate } diff --git a/tasmota/xdrv_23_zigbee_6_commands.ino b/tasmota/xdrv_23_zigbee_6_commands.ino index 63ea80869..89e3a6e65 100644 --- a/tasmota/xdrv_23_zigbee_6_commands.ino +++ b/tasmota/xdrv_23_zigbee_6_commands.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_converters.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_7_0_statemachine.ino b/tasmota/xdrv_23_zigbee_7_0_statemachine.ino index d314e86b4..7c00cfb42 100644 --- a/tasmota/xdrv_23_zigbee_7_0_statemachine.ino +++ b/tasmota/xdrv_23_zigbee_7_0_statemachine.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_7_5_map.ino b/tasmota/xdrv_23_zigbee_7_5_map.ino index 17c79d5e5..790720320 100644 --- a/tasmota/xdrv_23_zigbee_7_5_map.ino +++ b/tasmota/xdrv_23_zigbee_7_5_map.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_7_5_map.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_8_parsers.ino b/tasmota/xdrv_23_zigbee_8_parsers.ino index 32709c7dc..4fc3d4f1b 100644 --- a/tasmota/xdrv_23_zigbee_8_parsers.ino +++ b/tasmota/xdrv_23_zigbee_8_parsers.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_9_serial.ino b/tasmota/xdrv_23_zigbee_9_serial.ino index b3600c151..e2c5550a4 100644 --- a/tasmota/xdrv_23_zigbee_9_serial.ino +++ b/tasmota/xdrv_23_zigbee_9_serial.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_9_serial.ino - zigbee: serial communication with MCU - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_9a_upload.ino b/tasmota/xdrv_23_zigbee_9a_upload.ino index d3fff537d..b946848a3 100644 --- a/tasmota/xdrv_23_zigbee_9a_upload.ino +++ b/tasmota/xdrv_23_zigbee_9a_upload.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee_9a_upload.ino - zigbee: serial xmodem upload to MCU - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_23_zigbee_A_impl.ino b/tasmota/xdrv_23_zigbee_A_impl.ino index 61d8e2963..799274dd0 100644 --- a/tasmota/xdrv_23_zigbee_A_impl.ino +++ b/tasmota/xdrv_23_zigbee_A_impl.ino @@ -1,7 +1,7 @@ /* xdrv_23_zigbee.ino - zigbee support for Tasmota - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -2072,7 +2072,7 @@ void ZigbeeShow(bool json) WSContentSend_P(msg[ZB_WEB_LINE_END]); // Terminate current multi column table and open new table if (zigbee.permit_end_time) { // PermitJoin in progress - + WSContentSend_P(msg[ZB_WEB_PERMITJOIN_ACTIVE], D_ZIGBEE_PERMITJOIN_ACTIVE); } #endif @@ -2085,7 +2085,7 @@ void ZigbeeMapRefresh(void) { ZigbeeMapAllDevices(); } Webserver->sendHeader("Location","/zbm"); // Add a header to respond with a new location for the browser to go to the home page again - Webserver->send(302); + Webserver->send(302); } // Display a graphical representation of the Zigbee map using vis.js network diff --git a/tasmota/xdrv_24_buzzer.ino b/tasmota/xdrv_24_buzzer.ino index 8dcb949c9..e6665e21f 100644 --- a/tasmota/xdrv_24_buzzer.ino +++ b/tasmota/xdrv_24_buzzer.ino @@ -1,7 +1,7 @@ /* xdrv_24_Buzzer.ino - buzzer support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_25_A4988_Stepper.ino b/tasmota/xdrv_25_A4988_Stepper.ino index f70ed76f0..50e9997b1 100644 --- a/tasmota/xdrv_25_A4988_Stepper.ino +++ b/tasmota/xdrv_25_A4988_Stepper.ino @@ -2,7 +2,7 @@ /* xdrv_25_a4988_stepper.ino - A4988 StepMotorDriverCircuit- support for Tasmota - Copyright (C) 2020 Tim Leuscher and Theo Arends + Copyright (C) 2021 Tim Leuscher and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_26_ariluxrf.ino b/tasmota/xdrv_26_ariluxrf.ino index dc0010ac1..fca693c8d 100644 --- a/tasmota/xdrv_26_ariluxrf.ino +++ b/tasmota/xdrv_26_ariluxrf.ino @@ -1,7 +1,7 @@ /* xdrv_26_ariluxrf.ino - Arilux Rf support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_27_shutter.ino b/tasmota/xdrv_27_shutter.ino index e46dbbca7..ed6e72c57 100644 --- a/tasmota/xdrv_27_shutter.ino +++ b/tasmota/xdrv_27_shutter.ino @@ -1,7 +1,7 @@ /* xdrv_27_Shutter[i].ino - Shutter/Blind support for Tasmota - Copyright (C) 2020 Stefan Bode + Copyright (C) 2021 Stefan Bode This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -984,7 +984,7 @@ void CmndShutterStop(void) AddLog_P(LOG_LEVEL_DEBUG, PSTR("SHT: Stop moving %d: dir: %d"), XdrvMailbox.index, Shutter[i].direction); Shutter[i].target_position = Shutter[i].real_position; - } + } if (XdrvMailbox.command) ResponseCmndDone(); } else { diff --git a/tasmota/xdrv_28_pcf8574.ino b/tasmota/xdrv_28_pcf8574.ino index f7939a815..58bb5239c 100644 --- a/tasmota/xdrv_28_pcf8574.ino +++ b/tasmota/xdrv_28_pcf8574.ino @@ -1,7 +1,7 @@ /* xdrv_28_pcf8574.ino - PCF8574 I2C support for Tasmota - Copyright (C) 2020 Stefan Bode + Copyright (C) 2021 Stefan Bode This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_29_deepsleep.ino b/tasmota/xdrv_29_deepsleep.ino index 43ad54c6b..3e28a9d31 100644 --- a/tasmota/xdrv_29_deepsleep.ino +++ b/tasmota/xdrv_29_deepsleep.ino @@ -1,7 +1,7 @@ /* xdrv_29_deepsleep.ino - DeepSleep support for Tasmota - Copyright (C) 2020 Stefan Bode + Copyright (C) 2021 Stefan Bode This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_30_exs_dimmer.ino b/tasmota/xdrv_30_exs_dimmer.ino index 84b051c68..b704d616d 100644 --- a/tasmota/xdrv_30_exs_dimmer.ino +++ b/tasmota/xdrv_30_exs_dimmer.ino @@ -1,7 +1,7 @@ /* xdrv_30_exs_dimmer.ino - ex-store dimmer support for Tasmota - Copyright (C) 2020 Andreas Schultz + Copyright (C) 2021 Andreas Schultz This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_31_tasmota_client.ino b/tasmota/xdrv_31_tasmota_client.ino index cac38cf01..bf4426b61 100644 --- a/tasmota/xdrv_31_tasmota_client.ino +++ b/tasmota/xdrv_31_tasmota_client.ino @@ -1,7 +1,7 @@ /* xdrv_31_tasmota_client.ino - Support for external microcontroller on serial - Copyright (C) 2020 Andre Thomas and Theo Arends + Copyright (C) 2021 Andre Thomas and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_32_hotplug.ino b/tasmota/xdrv_32_hotplug.ino index bfdafbd4b..e7dc4ac69 100644 --- a/tasmota/xdrv_32_hotplug.ino +++ b/tasmota/xdrv_32_hotplug.ino @@ -1,7 +1,7 @@ /* xdrv_32_hotplug.ino - HotPlug support for sensors - Copyright (C) 2020 Leonid Myravjev + Copyright (C) 2021 Leonid Myravjev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_33_nrf24l01.ino b/tasmota/xdrv_33_nrf24l01.ino index b1e8d43c4..e992c398b 100644 --- a/tasmota/xdrv_33_nrf24l01.ino +++ b/tasmota/xdrv_33_nrf24l01.ino @@ -1,7 +1,7 @@ /* xdrv_33_nrf24l01.ino - nrf24l01 support for Tasmota - Copyright (C) 2020 Christian Baars and Theo Arends + Copyright (C) 2021 Christian Baars and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_34_wemos_motor_v1.ino b/tasmota/xdrv_34_wemos_motor_v1.ino index 9e6c0a967..cfd9de2d2 100644 --- a/tasmota/xdrv_34_wemos_motor_v1.ino +++ b/tasmota/xdrv_34_wemos_motor_v1.ino @@ -1,7 +1,7 @@ /* xdrv_34_wemos_motor_v1.ino - Support for I2C WEMOS motor shield (6612FNG) - Copyright (C) 2020 Denis Sborets and Theo Arends + Copyright (C) 2021 Denis Sborets and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_35_pwm_dimmer.ino b/tasmota/xdrv_35_pwm_dimmer.ino index c54d071f1..3bca88477 100644 --- a/tasmota/xdrv_35_pwm_dimmer.ino +++ b/tasmota/xdrv_35_pwm_dimmer.ino @@ -1,7 +1,7 @@ /* xdrv_35_pwm_dimmer.ino - PWM Dimmer Switch support for Tasmota - Copyright (C) 2020 Paul C Diem + Copyright (C) 2021 Paul C Diem This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -99,7 +99,7 @@ void PWMModulePreInit(void) // determine how long a button is held before a reset command is executed. If SetOption32 is // still 5, change it to 40 (the default). if (Settings.param[P_HOLD_TIME] == 5) Settings.param[P_HOLD_TIME] = 40; - + // Make sure the brightness level settings are sensible. if (!Settings.bri_power_on) Settings.bri_power_on = 128; if (!Settings.bri_preset_low) Settings.bri_preset_low = 10; @@ -286,7 +286,7 @@ void PWMDimmerHandleButton(uint32_t button_index, bool pressed) uint32_t now = millis(); // If the button was pressed and released but was not processed by support_button because the - // button interval had not elapsed, + // button interval had not elapsed, if (button_unprocessed[button_index]) { mqtt_trigger = 5; #ifdef USE_PWM_DIMMER_REMOTE diff --git a/tasmota/xdrv_36_keeloq.ino b/tasmota/xdrv_36_keeloq.ino index a1a392897..4a0f33a83 100644 --- a/tasmota/xdrv_36_keeloq.ino +++ b/tasmota/xdrv_36_keeloq.ino @@ -1,7 +1,7 @@ /* xdrv_36_keeloq.ino - Jarolift Keeloq shutter support for Tasmota - Copyright (C) 2020 he-so + Copyright (C) 2021 he-so This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_37_sonoff_d1.ino b/tasmota/xdrv_37_sonoff_d1.ino index 30b061775..5abefd452 100644 --- a/tasmota/xdrv_37_sonoff_d1.ino +++ b/tasmota/xdrv_37_sonoff_d1.ino @@ -1,7 +1,7 @@ /* xdrv_37_sonoff_d1.ino - sonoff D1 dimmer support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_38_ping.ino b/tasmota/xdrv_38_ping.ino index d4d5ea5d9..3f87a54bb 100644 --- a/tasmota/xdrv_38_ping.ino +++ b/tasmota/xdrv_38_ping.ino @@ -1,7 +1,7 @@ /* xdrv_38_ping.ino - support for ICMP Ping - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_39_thermostat.ino b/tasmota/xdrv_39_thermostat.ino index d8cd0f11c..455e45f13 100644 --- a/tasmota/xdrv_39_thermostat.ino +++ b/tasmota/xdrv_39_thermostat.ino @@ -1,7 +1,7 @@ /* xdrv_39_thermostat.ino - Thermostat controller for Tasmota - Copyright (C) 2020 Javier Arigita + Copyright (C) 2021 Javier Arigita This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_40_telegram.ino b/tasmota/xdrv_40_telegram.ino index 628ae0782..a96842065 100644 --- a/tasmota/xdrv_40_telegram.ino +++ b/tasmota/xdrv_40_telegram.ino @@ -1,7 +1,7 @@ /* xdrv_40_telegram.ino - telegram for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_41_tcp_bridge.ino b/tasmota/xdrv_41_tcp_bridge.ino index 3bd1e045c..7533e7d6d 100644 --- a/tasmota/xdrv_41_tcp_bridge.ino +++ b/tasmota/xdrv_41_tcp_bridge.ino @@ -1,7 +1,7 @@ /* xdrv_41_tcp_bridge.ino - TCP to serial bridge - Copyright (C) 2020 Theo Arends and Stephan Hadinger + Copyright (C) 2021 Theo Arends and Stephan Hadinger This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_42_i2s_audio.ino b/tasmota/xdrv_42_i2s_audio.ino index 0bb02e652..1e468593b 100644 --- a/tasmota/xdrv_42_i2s_audio.ino +++ b/tasmota/xdrv_42_i2s_audio.ino @@ -1,7 +1,7 @@ /* xdrv_42_i2s_audio.ino - audio dac support for Tasmota - Copyright (C) 2020 Gerhard Mutz and Theo Arends + Copyright (C) 2021 Gerhard Mutz and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_43_mlx90640.ino b/tasmota/xdrv_43_mlx90640.ino index a95b0f1e0..18255c079 100644 --- a/tasmota/xdrv_43_mlx90640.ino +++ b/tasmota/xdrv_43_mlx90640.ino @@ -1,7 +1,7 @@ /* xdrv_43_mlx90640.ino - MLX90640 support for Tasmota - Copyright (C) 2020 Christian Baars and Theo Arends + Copyright (C) 2021 Christian Baars and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_44_miel_hvac.ino b/tasmota/xdrv_44_miel_hvac.ino index aad4205bd..680d9d72f 100644 --- a/tasmota/xdrv_44_miel_hvac.ino +++ b/tasmota/xdrv_44_miel_hvac.ino @@ -1,7 +1,7 @@ /* xdrv_44_miel_hvac.ino - Mitsubishi Electric HVAC support for Tasmota - Copyright (C) 2020 David Gwynne + Copyright (C) 2021 David Gwynne This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_45_shelly_dimmer.ino b/tasmota/xdrv_45_shelly_dimmer.ino index b4785291e..0b44cde96 100644 --- a/tasmota/xdrv_45_shelly_dimmer.ino +++ b/tasmota/xdrv_45_shelly_dimmer.ino @@ -1,7 +1,7 @@ /* xdrv_45_shelly_dimmer.ino - shelly dimmer support for Tasmota - Copyright (C) 2020 James Turton + Copyright (C) 2021 James Turton This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xdrv_46_ccloader.ino b/tasmota/xdrv_46_ccloader.ino index 32901adc6..3675ca676 100644 --- a/tasmota/xdrv_46_ccloader.ino +++ b/tasmota/xdrv_46_ccloader.ino @@ -1,7 +1,7 @@ /* xdrv_46_ccloader.ino - CCLoader for Tasmota - Copyright (C) 2020 Christian Baars and Theo Arends + Copyright (C) 2021 Christian Baars and Theo Arends based on CCLoader - Copyright (c) 2012-2014 RedBearLab @@ -25,14 +25,14 @@ 0.9.0.0 20191124 started - further development by Christian Baars forked - CCLoader - Copyright (c) 2012-2014 RedBearLab - + */ #ifdef USE_CCLOADER /*********************************************************************************************\ * CCLOader * -* Usage: +* Usage: \*********************************************************************************************/ #define XDRV_46 46 @@ -123,7 +123,7 @@ struct { bool init = false; } CCL; -const char CCLtype[] PROGMEM = "CCL"; +const char CCLtype[] PROGMEM = "CCL"; // Debug control pins & the indicate LED int CCL_RESET = 14; //GPIO14=D5 on NodeMCU/WeMos D1 Mini @@ -175,7 +175,7 @@ unsigned char CCLread_debug_byte(void) if(HIGH == digitalRead(CCL_DD)) { data |= 0x01; - } + } digitalWrite(CCL_DC, LOW); // DC low } return data; @@ -604,23 +604,23 @@ bool CLLFlashFirmware(uint8_t* data, uint32_t size) // Enable DMA (Disable DMA_PAUSE bit in debug configuration) debug_config = 0x22; CCLdebug_command(CCL_CMD_WR_CONFIG, &debug_config, 1); - - unsigned char rxBuf[512]; - uint32_t block = 0; + + unsigned char rxBuf[512]; + uint32_t block = 0; unsigned int addr = 0x0000; AddLog_P(LOG_LEVEL_INFO,PSTR("CCL: will flash ....")); AddLogBuffer(LOG_LEVEL_DEBUG,data,16); // quick check to compare with a hex editor while((block*512)4 && MGC_data.out.id != MGC3130_FW_VERSION){ AddLog_P(LOG_LEVEL_DEBUG,PSTR("MGC3130: missed a packet, mismatch: %u"), _mismatch - 1); AddLogBuffer(LOG_LEVEL_DEBUG,MGC_data.buffer,i); - } + } } _lastCounter = MGC_data.out.counter; success = true; diff --git a/tasmota/xsns_37_rfsensor.ino b/tasmota/xsns_37_rfsensor.ino index 7dd376b97..aee5f6641 100644 --- a/tasmota/xsns_37_rfsensor.ino +++ b/tasmota/xsns_37_rfsensor.ino @@ -1,7 +1,7 @@ /* xsns_37_rfsensor.ino - RF sensor receiver for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_38_az7798.ino b/tasmota/xsns_38_az7798.ino index 1b5ba7f5f..b063dc166 100644 --- a/tasmota/xsns_38_az7798.ino +++ b/tasmota/xsns_38_az7798.ino @@ -1,7 +1,7 @@ /* xsns_38_az7798.ino - AZ_Instrument 7798 CO2/temperature/humidity meter support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_39_max31855.ino b/tasmota/xsns_39_max31855.ino index a6e592c21..2a6304ce1 100644 --- a/tasmota/xsns_39_max31855.ino +++ b/tasmota/xsns_39_max31855.ino @@ -1,7 +1,7 @@ /* xsns_39_max31855.ino - MAX31855 thermocouple sensor support for Tasmota - Copyright (C) 2020 Markus Past + Copyright (C) 2021 Markus Past This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_40_pn532.ino b/tasmota/xsns_40_pn532.ino index fb6d31354..4e9bbdcc4 100644 --- a/tasmota/xsns_40_pn532.ino +++ b/tasmota/xsns_40_pn532.ino @@ -1,7 +1,7 @@ /* xsns_40_pn532.ino - Support for PN532 (HSU) NFC Tag Reader on Tasmota - Copyright (C) 2020 Andre Thomas and Theo Arends + Copyright (C) 2021 Andre Thomas and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_41_max44009.ino b/tasmota/xsns_41_max44009.ino index b07d37567..7eccb043e 100644 --- a/tasmota/xsns_41_max44009.ino +++ b/tasmota/xsns_41_max44009.ino @@ -1,7 +1,7 @@ /* xsns_41_max44009.ino - MAX44009 ambient light sensor support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_42_scd30.ino b/tasmota/xsns_42_scd30.ino index c208c3307..458e046aa 100644 --- a/tasmota/xsns_42_scd30.ino +++ b/tasmota/xsns_42_scd30.ino @@ -1,7 +1,7 @@ /* xsns_42_scd30.ino - SC30 CO2 sensor support for Tasmota - Copyright (C) 2020 Frogmore42 + Copyright (C) 2021 Frogmore42 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_43_hre.ino b/tasmota/xsns_43_hre.ino index f7240ec17..68299b066 100644 --- a/tasmota/xsns_43_hre.ino +++ b/tasmota/xsns_43_hre.ino @@ -1,7 +1,7 @@ /* xsns_43_hre.ino - Badger HR-E Water Meter Encoder interface - Copyright (C) 2020 Jon Little + Copyright (C) 2021 Jon Little This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_44_sps30.ino b/tasmota/xsns_44_sps30.ino index c9316ba4c..9dd73dbcf 100644 --- a/tasmota/xsns_44_sps30.ino +++ b/tasmota/xsns_44_sps30.ino @@ -1,7 +1,7 @@ /* xsns_44_sps30.ino - Sensirion SPS30 support for Tasmota - Copyright (C) 2020 Gerhard Mutz and Theo Arends + Copyright (C) 2021 Gerhard Mutz and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_45_vl53l0x.ino b/tasmota/xsns_45_vl53l0x.ino index 623dda9a0..54c49534c 100644 --- a/tasmota/xsns_45_vl53l0x.ino +++ b/tasmota/xsns_45_vl53l0x.ino @@ -1,7 +1,7 @@ /* xsns_45_vl53l0x.ino - VL53L0X time of flight sensor support for Tasmota - Copyright (C) 2020 Theo Arends and Gerhard Mutz + Copyright (C) 2021 Theo Arends and Gerhard Mutz This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_46_MLX90614.ino b/tasmota/xsns_46_MLX90614.ino index 54e27f359..8032cdf2f 100644 --- a/tasmota/xsns_46_MLX90614.ino +++ b/tasmota/xsns_46_MLX90614.ino @@ -1,7 +1,7 @@ /* xsns_46_MLX90614.ino - Support for MLX ir temperature sensor - Copyright (C) 2020 Gerhard Mutz and Theo Arends + Copyright (C) 2021 Gerhard Mutz and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_47_max31865.ino b/tasmota/xsns_47_max31865.ino index 4c45af4fe..83bef5e9a 100644 --- a/tasmota/xsns_47_max31865.ino +++ b/tasmota/xsns_47_max31865.ino @@ -1,7 +1,7 @@ /* xsns_39_MAX31865.ino - MAX31865 thermocouple sensor support for Tasmota - Copyright (C) 2020 Alberto Lopez Siemens + Copyright (C) 2021 Alberto Lopez Siemens This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_48_chirp.ino b/tasmota/xsns_48_chirp.ino index ded5b30e6..1e92d6c79 100644 --- a/tasmota/xsns_48_chirp.ino +++ b/tasmota/xsns_48_chirp.ino @@ -1,7 +1,7 @@ /* xsns_48_chirp.ino - soil moisture sensor support for Tasmota - Copyright (C) 2020 Theo Arends & Christian Baars + Copyright (C) 2021 Theo Arends & Christian Baars This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_50_paj7620.ino b/tasmota/xsns_50_paj7620.ino index ad5ce5a2c..174febc7d 100644 --- a/tasmota/xsns_50_paj7620.ino +++ b/tasmota/xsns_50_paj7620.ino @@ -1,7 +1,7 @@ /* xsns_50_paj7620.ino - gesture sensor support for Tasmota - Copyright (C) 2020 Theo Arends & Christian Baars + Copyright (C) 2021 Theo Arends & Christian Baars This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_51_rdm6300.ino b/tasmota/xsns_51_rdm6300.ino index ebc9ab175..a277e7d65 100644 --- a/tasmota/xsns_51_rdm6300.ino +++ b/tasmota/xsns_51_rdm6300.ino @@ -1,7 +1,7 @@ /* xsns_51_rdm6300.ino - Support for RDM630(0) 125kHz NFC Tag Reader on Tasmota - Copyright (C) 2020 Gerhard Mutz and Theo Arends + Copyright (C) 2021 Gerhard Mutz and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_52_ibeacon.ino b/tasmota/xsns_52_ibeacon.ino index db5c5951e..731189827 100755 --- a/tasmota/xsns_52_ibeacon.ino +++ b/tasmota/xsns_52_ibeacon.ino @@ -1,7 +1,7 @@ /* xsns_52_ibeacon.ino - Support for HM17 BLE Module + ibeacon reader on Tasmota - Copyright (C) 2020 Gerhard Mutz and Theo Arends + Copyright (C) 2021 Gerhard Mutz and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_53_sml.ino b/tasmota/xsns_53_sml.ino index cccfde736..06fa2300e 100755 --- a/tasmota/xsns_53_sml.ino +++ b/tasmota/xsns_53_sml.ino @@ -4,7 +4,7 @@ Created by Gerhard Mutz on 07.10.11. adapted for Tasmota - Copyright (C) 2020 Gerhard Mutz and Theo Arends + Copyright (C) 2021 Gerhard Mutz and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_54_ina226.ino b/tasmota/xsns_54_ina226.ino index 49a6b5890..f89d799e9 100644 --- a/tasmota/xsns_54_ina226.ino +++ b/tasmota/xsns_54_ina226.ino @@ -1,7 +1,7 @@ /* xsns_54_ina226.ino - INA226 Current Sensor support for Tasmota - Copyright (C) 2020 Stephen Rodgers and Theo Arends + Copyright (C) 2021 Stephen Rodgers and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_55_hih_series.ino b/tasmota/xsns_55_hih_series.ino index 89278e432..d42ec8a4b 100644 --- a/tasmota/xsns_55_hih_series.ino +++ b/tasmota/xsns_55_hih_series.ino @@ -1,7 +1,7 @@ /* xsns_55_hih_series.ino - Honeywell HIH series temperature and humidity sensor support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_56_hpma.ino b/tasmota/xsns_56_hpma.ino index 576cf19d2..c400fba1e 100644 --- a/tasmota/xsns_56_hpma.ino +++ b/tasmota/xsns_56_hpma.ino @@ -1,8 +1,8 @@ /* xsns_56_hpma.ino - Honeywell HPMA115S0 particle concentration sensor support for Tasmota - Copyright (C) 2020 Theo Arends - Copyright (C) 2020 David Hunt + Copyright (C) 2021 Theo Arends + Copyright (C) 2021 David Hunt This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_57_tsl2591.ino b/tasmota/xsns_57_tsl2591.ino index 395b69b23..1ec7a6838 100644 --- a/tasmota/xsns_57_tsl2591.ino +++ b/tasmota/xsns_57_tsl2591.ino @@ -1,7 +1,7 @@ /* xsns_57_tsl2591.ino - TSL2591 light sensor support for Tasmota - Copyright (C) 2020 Markus Bösling and Theo Arends + Copyright (C) 2021 Markus Bösling and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_58_dht12.ino b/tasmota/xsns_58_dht12.ino index a772e3cea..4bab87bb3 100644 --- a/tasmota/xsns_58_dht12.ino +++ b/tasmota/xsns_58_dht12.ino @@ -1,7 +1,7 @@ /* xsns_58_dht12.ino - DHT12 I2C temperature and humidity sensor support for Tasmota - Copyright (C) 2020 Stefan Oskamp and Theo Arends + Copyright (C) 2021 Stefan Oskamp and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_59_ds1624.ino b/tasmota/xsns_59_ds1624.ino index 12189164e..ccc079f4c 100644 --- a/tasmota/xsns_59_ds1624.ino +++ b/tasmota/xsns_59_ds1624.ino @@ -1,7 +1,7 @@ /* xsns_59_ds1624.ino - Support for I2C DS1624 Temperature Sensor - Copyright (C) 2020 Leonid Myravjev + Copyright (C) 2021 Leonid Myravjev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_60_GPS.ino b/tasmota/xsns_60_GPS.ino index 63fc147f2..10e02efc2 100644 --- a/tasmota/xsns_60_GPS.ino +++ b/tasmota/xsns_60_GPS.ino @@ -1,7 +1,7 @@ /* xsns_60_GPS.ino - GPS UBLOX support for Tasmota - Copyright (C) 2020 Theo Arends, Christian Baars and Adrian Scillato + Copyright (C) 2021 Theo Arends, Christian Baars and Adrian Scillato This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_61_MI_NRF24.ino b/tasmota/xsns_61_MI_NRF24.ino index 727aeb011..8dff44920 100644 --- a/tasmota/xsns_61_MI_NRF24.ino +++ b/tasmota/xsns_61_MI_NRF24.ino @@ -1,7 +1,7 @@ /* xsns_61_MI_NRF24.ino - MI-BLE-sensors via nrf24l01 support for Tasmota - Copyright (C) 2020 Christian Baars and Theo Arends + Copyright (C) 2021 Christian Baars and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_62_MI_ESP32.ino b/tasmota/xsns_62_MI_ESP32.ino index 44094140e..9e9c70dc5 100644 --- a/tasmota/xsns_62_MI_ESP32.ino +++ b/tasmota/xsns_62_MI_ESP32.ino @@ -1,7 +1,7 @@ /* xsns_62_MI_ESP32.ino - MI-BLE-sensors via ESP32 support for Tasmota - Copyright (C) 2020 Christian Baars and Theo Arends + Copyright (C) 2021 Christian Baars and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1634,7 +1634,7 @@ bool MI32isInBlockList(uint8_t* MAC){ void MI32removeMIBLEsensor(uint8_t* MAC){ MIBLEsensors.erase( std::remove_if( MIBLEsensors.begin() , MIBLEsensors.end(), [MAC]( mi_sensor_t _sensor )->bool - { return (memcmp(_sensor.MAC,MAC,6) == 0); } + { return (memcmp(_sensor.MAC,MAC,6) == 0); } ), end( MIBLEsensors ) ); } /***********************************************************************\ @@ -1930,7 +1930,7 @@ void CmndMi32Block(void){ break; case 1: ResponseCmndIdxChar(PSTR("show block list")); - break; + break; } } else { @@ -1939,7 +1939,7 @@ void CmndMi32Block(void){ switch (XdrvMailbox.index) { case 0: MIBLEBlockList.erase( std::remove_if( begin( MIBLEBlockList ), end( MIBLEBlockList ), [_MACasBytes]( MAC_t& _entry )->bool - { return (memcmp(_entry.buf,_MACasBytes.buf,6) == 0); } + { return (memcmp(_entry.buf,_MACasBytes.buf,6) == 0); } ), end( MIBLEBlockList ) ); ResponseCmndIdxChar(PSTR("MAC not blocked anymore")); break; @@ -1956,7 +1956,7 @@ void CmndMi32Block(void){ MI32removeMIBLEsensor(_MACasBytes.buf); } // AddLog_P(LOG_LEVEL_INFO,PSTR("MI32: size of ilist: %u"), MIBLEBlockList.size()); - break; + break; } } MI32.mode.shallShowBlockList = 1; diff --git a/tasmota/xsns_62_MI_HM10.ino b/tasmota/xsns_62_MI_HM10.ino index da28d7306..af3ce56ca 100644 --- a/tasmota/xsns_62_MI_HM10.ino +++ b/tasmota/xsns_62_MI_HM10.ino @@ -1,7 +1,7 @@ /* xsns_62_MI_HM10.ino - MI-BLE-sensors via HM-10 support for Tasmota - Copyright (C) 2020 Christian Baars and Theo Arends + Copyright (C) 2021 Christian Baars and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1085,7 +1085,7 @@ bool HM10isInBlockList(uint8_t* MAC){ void HM10removeMIBLEsensor(uint8_t* MAC){ MIBLEsensors.erase( std::remove_if( MIBLEsensors.begin() , MIBLEsensors.end(), [MAC]( mi_sensor_t _sensor )->bool - { return (memcmp(_sensor.MAC,MAC,6) == 0); } + { return (memcmp(_sensor.MAC,MAC,6) == 0); } ), end( MIBLEsensors ) ); } /*********************************************************************************************\ @@ -1693,7 +1693,7 @@ void CmndHM10Block(void){ break; case 1: ResponseCmndIdxChar(PSTR("show block list")); - break; + break; } } else { @@ -1702,7 +1702,7 @@ void CmndHM10Block(void){ switch (XdrvMailbox.index) { case 0: MIBLEBlockList.erase( std::remove_if( begin( MIBLEBlockList ), end( MIBLEBlockList ), [_MACasBytes]( MAC_t& _entry )->bool - { return (memcmp(_entry.buf,_MACasBytes.buf,6) == 0); } + { return (memcmp(_entry.buf,_MACasBytes.buf,6) == 0); } ), end( MIBLEBlockList ) ); ResponseCmndIdxChar(PSTR("MAC not blocked anymore")); break; @@ -1719,7 +1719,7 @@ void CmndHM10Block(void){ HM10removeMIBLEsensor(_MACasBytes.buf); } // AddLog_P(LOG_LEVEL_INFO,PSTR("HM10: size of ilist: %u"), MIBLEBlockList.size()); - break; + break; } } HM10.mode.shallShowBlockList = 1; diff --git a/tasmota/xsns_63_aht1x.ino b/tasmota/xsns_63_aht1x.ino index cba95662a..88da71890 100644 --- a/tasmota/xsns_63_aht1x.ino +++ b/tasmota/xsns_63_aht1x.ino @@ -1,7 +1,7 @@ /* xsns_63_AHT1x.ino - AHT10 I2C temperature and humidity sensor support for Tasmota - Copyright (C) 2020 Martin Wagner + Copyright (C) 2021 Martin Wagner This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_64_hrxl.ino b/tasmota/xsns_64_hrxl.ino index 389197e1a..be78b49ec 100644 --- a/tasmota/xsns_64_hrxl.ino +++ b/tasmota/xsns_64_hrxl.ino @@ -1,7 +1,7 @@ /* xsns_64_hrxl.ino - MaxBotix HRXL serial interface - Copyright (C) 2020 Jon Little + Copyright (C) 2021 Jon Little This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_65_hdc1080.ino b/tasmota/xsns_65_hdc1080.ino index ac6a71be8..d20241ab8 100644 --- a/tasmota/xsns_65_hdc1080.ino +++ b/tasmota/xsns_65_hdc1080.ino @@ -1,7 +1,7 @@ /* xsns_65_hdc1080.ino - Texas Instruments HDC1080 temperature and humidity sensor support for Tasmota - Copyright (C) 2020 Luis Teixeira + Copyright (C) 2021 Luis Teixeira This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_66_iAQ.ino b/tasmota/xsns_66_iAQ.ino index 962480748..fc3dff2da 100644 --- a/tasmota/xsns_66_iAQ.ino +++ b/tasmota/xsns_66_iAQ.ino @@ -1,7 +1,7 @@ /* xsns_66_iAQ.ino - Support for iAQ-Core - Indoor Air Quality Sensor Module - Copyright (C) 2020 Christian Baars and Theo Arends + Copyright (C) 2021 Christian Baars and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_67_as3935.ino b/tasmota/xsns_67_as3935.ino index a625163b6..030581768 100644 --- a/tasmota/xsns_67_as3935.ino +++ b/tasmota/xsns_67_as3935.ino @@ -1,7 +1,7 @@ /* xsns_67_as3935.ino - AS3935 Franklin Lightning Sensor support for Tasmota - Copyright (C) 2020 Martin Wagner + Copyright (C) 2021 Martin Wagner This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_68_windmeter.ino b/tasmota/xsns_68_windmeter.ino index a5b2aa49e..6b552ee38 100644 --- a/tasmota/xsns_68_windmeter.ino +++ b/tasmota/xsns_68_windmeter.ino @@ -1,7 +1,7 @@ /* xsns_68_windmeter.ino - Analog wind sensor support for Tasmota - Copyright (C) 2020 Matteo Albinola + Copyright (C) 2021 Matteo Albinola (inspired by great works of Thomas Eckerstorfer, Norbert Richter, Maarten Damen and Theo Arends) This program is free software: you can redistribute it and/or modify diff --git a/tasmota/xsns_69_opentherm.ino b/tasmota/xsns_69_opentherm.ino index 41f3377b7..adcef07b0 100644 --- a/tasmota/xsns_69_opentherm.ino +++ b/tasmota/xsns_69_opentherm.ino @@ -1,7 +1,7 @@ /* xsns_69_opentherm.ino - OpenTherm protocol support for Tasmota - Copyright (C) 2020 Yuriy Sannikov + Copyright (C) 2021 Yuriy Sannikov This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ // Seconds before OT will make an attempt to connect to the boiler after connection error #define SNS_OT_DISCONNECT_COOLDOWN_SECONDS 4 -// Number of consecutive timeouts which are accepted before entering disconnect state +// Number of consecutive timeouts which are accepted before entering disconnect state #define SNS_OT_MAX_TIMEOUTS_BEFORE_DISCONNECT 3 // Count of the OpenThermSettingsFlags diff --git a/tasmota/xsns_69_opentherm_protocol.ino b/tasmota/xsns_69_opentherm_protocol.ino index 6311b818b..6158be9c7 100644 --- a/tasmota/xsns_69_opentherm_protocol.ino +++ b/tasmota/xsns_69_opentherm_protocol.ino @@ -1,7 +1,7 @@ /* xsns_69_opentherm_protocol.ino - OpenTherm protocol support for Tasmota - Copyright (C) 2020 Yuriy Sannikov + Copyright (C) 2021 Yuriy Sannikov This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_70_veml6075.ino b/tasmota/xsns_70_veml6075.ino index 4735d1140..449ec89ec 100644 --- a/tasmota/xsns_70_veml6075.ino +++ b/tasmota/xsns_70_veml6075.ino @@ -1,7 +1,7 @@ /* xsns_70_veml6075.ino - VEML6075 UVA/UVB/UVINDEX Sensor support for Tasmota - Copyright (C) 2020 Martin Wagner + Copyright (C) 2021 Martin Wagner This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_71_veml7700.ino b/tasmota/xsns_71_veml7700.ino index 655d52992..a4bf12905 100644 --- a/tasmota/xsns_71_veml7700.ino +++ b/tasmota/xsns_71_veml7700.ino @@ -1,7 +1,7 @@ /* xsns_71_VEML7700.ino - VEML7700 Ambient light intensity Sensor support for Tasmota - Copyright (C) 2020 Martin Wagner + Copyright (C) 2021 Martin Wagner This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_72_mcp9808.ino b/tasmota/xsns_72_mcp9808.ino index 587123d2c..98fc48066 100644 --- a/tasmota/xsns_72_mcp9808.ino +++ b/tasmota/xsns_72_mcp9808.ino @@ -1,7 +1,7 @@ /* xsns_72_mcp9808 - MCP9808 I2C temperature sensor support for Tasmota - Copyright (C) 2020 Martin Wagner and Theo Arends + Copyright (C) 2021 Martin Wagner and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_73_hp303b.ino b/tasmota/xsns_73_hp303b.ino index 30a14945c..50589e4d5 100644 --- a/tasmota/xsns_73_hp303b.ino +++ b/tasmota/xsns_73_hp303b.ino @@ -1,7 +1,7 @@ /* xsns_72_hp303b.ino - HP303B digital barometric air pressure sensor support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_74_lmt01.ino b/tasmota/xsns_74_lmt01.ino index 85d97a492..8c6cfdb92 100644 --- a/tasmota/xsns_74_lmt01.ino +++ b/tasmota/xsns_74_lmt01.ino @@ -1,7 +1,7 @@ /* xns_74_lmt01.ino - Support for single wire LMT01 Temperature Sensor - Copyright (C) 2020 Theo Arends, Justifiably + Copyright (C) 2021 Theo Arends, Justifiably This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_75_prometheus.ino b/tasmota/xsns_75_prometheus.ino index b6afd3f70..0dac5ed9f 100644 --- a/tasmota/xsns_75_prometheus.ino +++ b/tasmota/xsns_75_prometheus.ino @@ -1,7 +1,7 @@ /* xsns_75_prometheus.ino - Web based information for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_76_dyp.ino b/tasmota/xsns_76_dyp.ino index adfaef5bc..0c4506502 100644 --- a/tasmota/xsns_76_dyp.ino +++ b/tasmota/xsns_76_dyp.ino @@ -1,7 +1,7 @@ /* xsns_76_dyp.ino - DYP ME007 serial interface - Copyright (C) 2020 Janusz Kostorz + Copyright (C) 2021 Janusz Kostorz This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_77_vl53l1x.ino b/tasmota/xsns_77_vl53l1x.ino index 23be88a69..f245fda86 100644 --- a/tasmota/xsns_77_vl53l1x.ino +++ b/tasmota/xsns_77_vl53l1x.ino @@ -1,7 +1,7 @@ /* xsns_77_vl53l1x.ino - VL53L1X sensor support for Tasmota - Copyright (C) 2020 Theo Arends, Rui Marinho and Johann Obermeier + Copyright (C) 2021 Theo Arends, Rui Marinho and Johann Obermeier This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_78_ezo.ino b/tasmota/xsns_78_ezo.ino index b8ba523ea..a33ad9cdc 100644 --- a/tasmota/xsns_78_ezo.ino +++ b/tasmota/xsns_78_ezo.ino @@ -1,7 +1,7 @@ /* xsns_78_ezo.ino - EZO modules base class - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_78_ezoco2.ino b/tasmota/xsns_78_ezoco2.ino index a7fe76cc8..8d038308a 100644 --- a/tasmota/xsns_78_ezoco2.ino +++ b/tasmota/xsns_78_ezoco2.ino @@ -1,7 +1,7 @@ /* xsns_78_ezoco2.ino - EZO CO2 I2C CO2 sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_78_ezodo.ino b/tasmota/xsns_78_ezodo.ino index a0dd6a36f..8a22bceb3 100644 --- a/tasmota/xsns_78_ezodo.ino +++ b/tasmota/xsns_78_ezodo.ino @@ -1,7 +1,7 @@ /* xsns_78_ezodo.ino - EZO DO I2C DO sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ struct EZODO : public EZOStruct { if (json) { ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_DO "\":%d}" ), name, str); } -#ifdef USE_WEBSERVER +#ifdef USE_WEBSERVER else { WSContentSend_PD(HTTP_SNS_DO, name, str); #endif // USE_WEBSERVER diff --git a/tasmota/xsns_78_ezoec.ino b/tasmota/xsns_78_ezoec.ino index 1566e2907..e134e4da1 100644 --- a/tasmota/xsns_78_ezoec.ino +++ b/tasmota/xsns_78_ezoec.ino @@ -1,7 +1,7 @@ /* xsns_78_ezoec.ino - EZO EC I2C EC sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ struct EZOEC : public EZOStruct { if (json) { ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_EC "\":%s}" ), name, str); } -#ifdef USE_WEBSERVER +#ifdef USE_WEBSERVER else { WSContentSend_PD(HTTP_SNS_EC, name, str); #endif // USE_WEBSERVER diff --git a/tasmota/xsns_78_ezoflo.ino b/tasmota/xsns_78_ezoflo.ino index 31cb7c082..9b30238b9 100644 --- a/tasmota/xsns_78_ezoflo.ino +++ b/tasmota/xsns_78_ezoflo.ino @@ -1,7 +1,7 @@ /* xsns_78_ezoflo.ino - EZO FLO I2C FLO sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_78_ezohum.ino b/tasmota/xsns_78_ezohum.ino index a403eeb56..04a2ce74f 100644 --- a/tasmota/xsns_78_ezohum.ino +++ b/tasmota/xsns_78_ezohum.ino @@ -1,7 +1,7 @@ /* xsns_78_ezohum.ino - EZO HUM I2C HUM sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_78_ezoo2.ino b/tasmota/xsns_78_ezoo2.ino index bc98fe00c..cafdeb813 100644 --- a/tasmota/xsns_78_ezoo2.ino +++ b/tasmota/xsns_78_ezoo2.ino @@ -1,7 +1,7 @@ /* xsns_78_ezoo2.ino - EZO O2 I2C O2 sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ struct EZOO2 : public EZOStruct { if (json) { ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_O2 "\":%d}" ), name, str); } -#ifdef USE_WEBSERVER +#ifdef USE_WEBSERVER else { WSContentSend_PD(HTTP_SNS_O2, name, str); #endif // USE_WEBSERVER diff --git a/tasmota/xsns_78_ezoorp.ino b/tasmota/xsns_78_ezoorp.ino index d9faa999c..09db9983c 100644 --- a/tasmota/xsns_78_ezoorp.ino +++ b/tasmota/xsns_78_ezoorp.ino @@ -1,7 +1,7 @@ /* xsns_78_ezoorp.ino - EZO ORP I2C ORP sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ struct EZOORP : public EZOStruct { if (json) { ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_ORP "\":%s}" ), name, str); } -#ifdef USE_WEBSERVER +#ifdef USE_WEBSERVER else { WSContentSend_PD(HTTP_SNS_ORP, name, str); #endif // USE_WEBSERVER diff --git a/tasmota/xsns_78_ezoph.ino b/tasmota/xsns_78_ezoph.ino index 77939d97a..c4e6a7425 100644 --- a/tasmota/xsns_78_ezoph.ino +++ b/tasmota/xsns_78_ezoph.ino @@ -1,7 +1,7 @@ /* xsns_78_ezoph.ino - EZO pH I2C pH sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ struct EZOPH : public EZOStruct { if (json) { ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_PH "\":%s}" ), name, str); } -#ifdef USE_WEBSERVER +#ifdef USE_WEBSERVER else { WSContentSend_PD(HTTP_SNS_PH, name, str); #endif // USE_WEBSERVER diff --git a/tasmota/xsns_78_ezopmp.ino b/tasmota/xsns_78_ezopmp.ino index cea7a9cf0..225c3285f 100644 --- a/tasmota/xsns_78_ezopmp.ino +++ b/tasmota/xsns_78_ezopmp.ino @@ -1,7 +1,7 @@ /* xsns_78_ezopmp.ino - EZO PMP I2C PMP sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_78_ezoprs.ino b/tasmota/xsns_78_ezoprs.ino index 9ad34ab0d..f80eba82e 100644 --- a/tasmota/xsns_78_ezoprs.ino +++ b/tasmota/xsns_78_ezoprs.ino @@ -1,7 +1,7 @@ /* xsns_78_ezoprs.ino - EZO PRS I2C PRS sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -47,7 +47,7 @@ struct EZOPRS : public EZOStruct { } ResponseJsonEnd(); } -#ifdef USE_WEBSERVER +#ifdef USE_WEBSERVER else { WSContentSend_PD(HTTP_SNS_PRESSURE, name, str, PressureUnit().c_str()); if (Settings.altitude != 0) { diff --git a/tasmota/xsns_78_ezorgb.ino b/tasmota/xsns_78_ezorgb.ino index 5bbb49d79..2bbab0d24 100644 --- a/tasmota/xsns_78_ezorgb.ino +++ b/tasmota/xsns_78_ezorgb.ino @@ -1,7 +1,7 @@ /* xsns_78_ezorgb.ino - EZO RGB I2C RGB sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_78_ezortd.ino b/tasmota/xsns_78_ezortd.ino index 1d564d095..cf731a346 100644 --- a/tasmota/xsns_78_ezortd.ino +++ b/tasmota/xsns_78_ezortd.ino @@ -1,7 +1,7 @@ /* xsns_78_ezortd.ino - EZO RTD I2C RTD sensor support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ struct EZORTD : public EZOStruct { if (json) { ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_TEMPERATURE "\":%s}"), name, str); } -#ifdef USE_WEBSERVER +#ifdef USE_WEBSERVER else { WSContentSend_PD(HTTP_SNS_TEMP, name, str, TempUnit()); #endif // USE_WEBSERVER diff --git a/tasmota/xsns_78_xezo.ino b/tasmota/xsns_78_xezo.ino index 2774c7a0c..60b3cd8e4 100644 --- a/tasmota/xsns_78_xezo.ino +++ b/tasmota/xsns_78_xezo.ino @@ -1,7 +1,7 @@ /* xsns_78_xezo.ino - EZO family I2C driver support for Tasmota - Copyright (C) 2020 Christopher Tremblay + Copyright (C) 2021 Christopher Tremblay This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_79_as608.ino b/tasmota/xsns_79_as608.ino index f4e7d3939..7bff7736c 100644 --- a/tasmota/xsns_79_as608.ino +++ b/tasmota/xsns_79_as608.ino @@ -1,7 +1,7 @@ /* xsns_79_as608.ino - AS608 and R503 fingerprint sensor support for Tasmota - Copyright (C) 2020 boaschti and Theo Arends + Copyright (C) 2021 boaschti and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_80_mfrc522.ino b/tasmota/xsns_80_mfrc522.ino index b62c1140f..9a9b19e21 100644 --- a/tasmota/xsns_80_mfrc522.ino +++ b/tasmota/xsns_80_mfrc522.ino @@ -1,7 +1,7 @@ /* xsns_80_mfrc522.ino - Support for MFRC522 (SPI) NFC Tag Reader on Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xsns_interface.ino b/tasmota/xsns_interface.ino index fd05ccc57..21918f22c 100644 --- a/tasmota/xsns_interface.ino +++ b/tasmota/xsns_interface.ino @@ -1,7 +1,7 @@ /* xsns_interface.ino - Sensor interface support for Tasmota - Copyright (C) 2020 Theo Arends inspired by ESPEasy + Copyright (C) 2021 Theo Arends inspired by ESPEasy This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tasmota/xx2c_interface.ino b/tasmota/xx2c_interface.ino index 5732fbaf9..fcbc17677 100644 --- a/tasmota/xx2c_interface.ino +++ b/tasmota/xx2c_interface.ino @@ -1,7 +1,7 @@ /* xx2c_interface.ino - I2c interface support for Tasmota - Copyright (C) 2020 Theo Arends + Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by