diff --git a/sonoff/i18n.h b/sonoff/i18n.h index 9b3e7acec..bf73cc65b 100644 --- a/sonoff/i18n.h +++ b/sonoff/i18n.h @@ -1,5 +1,5 @@ /* - i18n.h - internationalization for Sonoff-Tasmota + i18n.h - internationalization for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/language/bg-BG.h b/sonoff/language/bg-BG.h index aacf93d87..986a93bdf 100644 --- a/sonoff/language/bg-BG.h +++ b/sonoff/language/bg-BG.h @@ -1,5 +1,5 @@ /* - bg-BG.h - localization for Bulgaria - Bulgarian for Sonoff-Tasmota + bg-BG.h - localization for Bulgaria - Bulgarian for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/language/cs-CZ.h b/sonoff/language/cs-CZ.h index 30a59a144..ae887e534 100644 --- a/sonoff/language/cs-CZ.h +++ b/sonoff/language/cs-CZ.h @@ -1,5 +1,5 @@ /* - cs-CZ.h - localization for Czech with diacritics - Czech for Sonoff-Tasmota + cs-CZ.h - localization for Czech with diacritics - Czech for Tasmota Copyright (C) 2019 Vladimír Synek diff --git a/sonoff/language/de-DE.h b/sonoff/language/de-DE.h index e0a9b5d5e..0f96a77db 100644 --- a/sonoff/language/de-DE.h +++ b/sonoff/language/de-DE.h @@ -1,5 +1,5 @@ /* - de-DE.h - localization for German - Germany for Sonoff-Tasmota + de-DE.h - localization for German - Germany for Tasmota Copyright (C) 2019 VinceMasuka diff --git a/sonoff/language/el-GR.h b/sonoff/language/el-GR.h index cf558c58f..91088cb0c 100644 --- a/sonoff/language/el-GR.h +++ b/sonoff/language/el-GR.h @@ -1,5 +1,5 @@ /* - el-GR.h - localization for Greek - Greece for Sonoff-Tasmota + el-GR.h - localization for Greek - Greece for Tasmota Copyright (C) 2019 Theo Arends, translated by Nick Galfas diff --git a/sonoff/language/en-GB.h b/sonoff/language/en-GB.h index 93540788d..87761b35f 100644 --- a/sonoff/language/en-GB.h +++ b/sonoff/language/en-GB.h @@ -1,5 +1,5 @@ /* - en-GB.h - localization for English - United Kingdom for Sonoff-Tasmota + en-GB.h - localization for English - United Kingdom for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/language/es-ES.h b/sonoff/language/es-ES.h index 56496dc5f..acc45837e 100644 --- a/sonoff/language/es-ES.h +++ b/sonoff/language/es-ES.h @@ -1,5 +1,5 @@ /* - es-ES.h - localization for Spanish - Spain for Sonoff-Tasmota + es-ES.h - localization for Spanish - Spain for Tasmota Copyright (C) 2019 Adrian Scillato diff --git a/sonoff/language/fr-FR.h b/sonoff/language/fr-FR.h index c98ef6740..f9dd3655c 100644 --- a/sonoff/language/fr-FR.h +++ b/sonoff/language/fr-FR.h @@ -1,5 +1,5 @@ /* - fr-FR.h - localization for French - France for Sonoff-Tasmota + fr-FR.h - localization for French - France for Tasmota Copyright (C) 2019 Olivier Francais diff --git a/sonoff/language/he-HE.h b/sonoff/language/he-HE.h index 2fcfa7215..d5cb61c8a 100644 --- a/sonoff/language/he-HE.h +++ b/sonoff/language/he-HE.h @@ -1,5 +1,5 @@ /* - he-HE.h - localization for Hebrew - Israel for Sonoff-Tasmota + he-HE.h - localization for Hebrew - Israel for Tasmota Copyright (C) 2019 Yuval Mejahez diff --git a/sonoff/language/hu-HU.h b/sonoff/language/hu-HU.h index 80df2a8bc..4dc310c8d 100644 --- a/sonoff/language/hu-HU.h +++ b/sonoff/language/hu-HU.h @@ -1,5 +1,5 @@ /* - hu-HU.h - localization for Hungarian in Hungary for Sonoff-Tasmota + hu-HU.h - localization for Hungarian in Hungary for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/language/it-IT.h b/sonoff/language/it-IT.h index 113ab15ce..dcc3d786e 100644 --- a/sonoff/language/it-IT.h +++ b/sonoff/language/it-IT.h @@ -1,5 +1,5 @@ /* - it-IT.h - localization for Italian - Italy for Sonoff-Tasmota + it-IT.h - localization for Italian - Italy for Tasmota Copyright (C) 2019 Gennaro Tortone - some mods by Antonio Fragola diff --git a/sonoff/language/ko-KO.h b/sonoff/language/ko-KO.h index 3ccbee135..82832fdbb 100644 --- a/sonoff/language/ko-KO.h +++ b/sonoff/language/ko-KO.h @@ -1,5 +1,5 @@ /* - ko-KO.h - localization for Korean - Korean for Sonoff-Tasmota + ko-KO.h - localization for Korean - Korean for Tasmota Copyright (C) 2019 Theo Arends (translated by NyaamZ) diff --git a/sonoff/language/nl-NL.h b/sonoff/language/nl-NL.h index 14e4635c1..37f620ea5 100644 --- a/sonoff/language/nl-NL.h +++ b/sonoff/language/nl-NL.h @@ -1,5 +1,5 @@ /* - nl-NL.h - localization for Dutch - Nederland for Sonoff-Tasmota + nl-NL.h - localization for Dutch - Nederland for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/language/pl-PL.h b/sonoff/language/pl-PL.h index 3c28ec248..19856e47f 100644 --- a/sonoff/language/pl-PL.h +++ b/sonoff/language/pl-PL.h @@ -1,5 +1,5 @@ /* - pl-PL-d.h - localization for Polish with diacritics - Poland for Sonoff-Tasmota + pl-PL-d.h - localization for Polish with diacritics - Poland for Tasmota Copyright (C) 2019 Theo Arends (translated by roblad - Robert L., upgraded by R. Turala) diff --git a/sonoff/language/pt-BR.h b/sonoff/language/pt-BR.h index a2e89cb5d..30cab1498 100644 --- a/sonoff/language/pt-BR.h +++ b/sonoff/language/pt-BR.h @@ -1,5 +1,5 @@ /* - pt-BR.h - localization for Portuguese - Brazil for Sonoff-Tasmota + pt-BR.h - localization for Portuguese - Brazil for Tasmota Copyright (C) 2019 Fabiano Bovo diff --git a/sonoff/language/pt-PT.h b/sonoff/language/pt-PT.h index 6a27ce711..46d0bc3a4 100644 --- a/sonoff/language/pt-PT.h +++ b/sonoff/language/pt-PT.h @@ -1,5 +1,5 @@ /* - pt-PT.h - localization for Portuguese - Portugal for Sonoff-Tasmota + pt-PT.h - localization for Portuguese - Portugal for Tasmota Copyright (C) 2019 Paulo Paiva diff --git a/sonoff/language/ru-RU.h b/sonoff/language/ru-RU.h index d5ce8af77..1598a1d58 100644 --- a/sonoff/language/ru-RU.h +++ b/sonoff/language/ru-RU.h @@ -1,5 +1,5 @@ /* - ru-RU.h - localization for Russian - Rissia for Sonoff-Tasmota + ru-RU.h - localization for Russian - Rissia for Tasmota Copyright (C) 2019 Theo Arends / roman-vn diff --git a/sonoff/language/sk-SK.h b/sonoff/language/sk-SK.h index 99e1790bd..594afb5d6 100644 --- a/sonoff/language/sk-SK.h +++ b/sonoff/language/sk-SK.h @@ -1,5 +1,5 @@ /* - sk-SK.h - localization for Slovak with diacritics - Slovak for Sonoff-Tasmota + sk-SK.h - localization for Slovak with diacritics - Slovak for Tasmota Copyright (C) 2019 Vladimír Jendroľ diff --git a/sonoff/language/sv-SE.h b/sonoff/language/sv-SE.h index 9fb0b0b20..8ae40d324 100644 --- a/sonoff/language/sv-SE.h +++ b/sonoff/language/sv-SE.h @@ -1,5 +1,5 @@ /* - sv-SE.h - localization for Swedish - Svenska for Sonoff-Tasmota + sv-SE.h - localization for Swedish - Svenska for Tasmota Copyright (C) 2019 Gunnar Norin diff --git a/sonoff/language/tr-TR.h b/sonoff/language/tr-TR.h index f7989f244..18699b21c 100755 --- a/sonoff/language/tr-TR.h +++ b/sonoff/language/tr-TR.h @@ -1,5 +1,5 @@ /* - tr-TR.h - localization for Turkish - Turkey for Sonoff-Tasmota + tr-TR.h - localization for Turkish - Turkey for Tasmota Copyright (C) 2019 Ali Sait Teke and Theo Arends diff --git a/sonoff/language/uk-UK.h b/sonoff/language/uk-UK.h index 9c07a8da1..d3124c4ab 100644 --- a/sonoff/language/uk-UK.h +++ b/sonoff/language/uk-UK.h @@ -1,5 +1,5 @@ /* - uk-UK.h - localization for Ukrainian - Ukraine for Sonoff-Tasmota + uk-UK.h - localization for Ukrainian - Ukraine for Tasmota Copyright (C) 2019 Theo Arends / vadym-adik diff --git a/sonoff/language/zh-CN.h b/sonoff/language/zh-CN.h index db3d9e979..4b443d490 100644 --- a/sonoff/language/zh-CN.h +++ b/sonoff/language/zh-CN.h @@ -1,5 +1,5 @@ /* - zh-CN.h - localization for Chinese (Simplified) - China for Sonoff-Tasmota + zh-CN.h - localization for Chinese (Simplified) - China for Tasmota Copyright (C) 2019 Theo Arends (translated by killadm) diff --git a/sonoff/language/zh-TW.h b/sonoff/language/zh-TW.h index 482134c6e..179cc0177 100644 --- a/sonoff/language/zh-TW.h +++ b/sonoff/language/zh-TW.h @@ -1,5 +1,5 @@ /* - zh-TW.h - localization for Chinese (Traditional) - Taiwan for Sonoff-Tasmota + zh-TW.h - localization for Chinese (Traditional) - Taiwan for Tasmota Copyright (C) 2019 Theo Arends (translated by dannydu) diff --git a/sonoff/my_user_config.h b/sonoff/my_user_config.h index e73613466..48be22390 100644 --- a/sonoff/my_user_config.h +++ b/sonoff/my_user_config.h @@ -1,5 +1,5 @@ /* - my_user_config.h - user specific configuration for Sonoff-Tasmota + my_user_config.h - user specific configuration for Tasmota Copyright (C) 2019 Theo Arends @@ -264,7 +264,7 @@ // #define USE_MQTT_TLS_FORCE_EC_CIPHER // Force Elliptic Curve cipher (higher security) required by some servers (automatically enabled with USE_MQTT_AWS_IOT) (+11.4k code, +0.4k mem) // #define USE_MQTT_AWS_IOT // Enable MQTT for AWS IoT - requires a private key (+11.9k code, +0.4k mem) // Note: you need to generate a private key + certificate per device and update 'sonoff/sonoff_aws_iot.cpp' - // Full documentation here: https://github.com/arendst/Sonoff-Tasmota/wiki/AWS-IoT + // Full documentation here: https://github.com/arendst/Tasmota/wiki/AWS-IoT // -- KNX IP Protocol ----------------------------- //#define USE_KNX // Enable KNX IP Protocol Support (+9.4k code, +3k7 mem) diff --git a/sonoff/settings.h b/sonoff/settings.h index 5f8e2f6ce..02674b6bc 100644 --- a/sonoff/settings.h +++ b/sonoff/settings.h @@ -1,5 +1,5 @@ /* - settings.h - setting variables for Sonoff-Tasmota + settings.h - setting variables for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/settings.ino b/sonoff/settings.ino index 76dcade8c..75d1726c0 100644 --- a/sonoff/settings.ino +++ b/sonoff/settings.ino @@ -1,5 +1,5 @@ /* - settings.ino - user settings for Sonoff-Tasmota + settings.ino - user settings for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/sonoff.h b/sonoff/sonoff.h index 62dce5e2f..2b2d12048 100644 --- a/sonoff/sonoff.h +++ b/sonoff/sonoff.h @@ -1,5 +1,5 @@ /* - sonoff.h - Master header file for Sonoff-Tasmota + sonoff.h - Master header file for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/sonoff.ino b/sonoff/sonoff.ino index 18a699350..c369f20a1 100755 --- a/sonoff/sonoff.ino +++ b/sonoff/sonoff.ino @@ -1,5 +1,5 @@ /* - sonoff.ino - Sonoff-Tasmota firmware for iTead Sonoff, Wemos and NodeMCU hardware + sonoff.ino - Tasmota firmware for iTead Sonoff, Wemos and NodeMCU hardware Copyright (C) 2019 Theo Arends @@ -27,7 +27,7 @@ // Location specific includes #include // Arduino_Esp8266 version information (ARDUINO_ESP8266_RELEASE and ARDUINO_ESP8266_RELEASE_2_3_0) -#include "sonoff_version.h" // Sonoff-Tasmota version information +#include "sonoff_version.h" // Tasmota version information #include "sonoff.h" // Enumeration used in my_user_config.h #include "my_user_config.h" // Fixed user configurable options #ifdef USE_MQTT_TLS diff --git a/sonoff/sonoff_ca.ino b/sonoff/sonoff_ca.ino index 3dea12c9e..f34b87dec 100644 --- a/sonoff/sonoff_ca.ino +++ b/sonoff/sonoff_ca.ino @@ -1,5 +1,5 @@ /* - sonoff_ca.ino - Certificate authorities for Sonoff-Tasmota, LetsEncrypt and AWS + sonoff_ca.ino - Certificate authorities for Tasmota, LetsEncrypt and AWS Copyright (C) 2019 Theo Arends diff --git a/sonoff/sonoff_post.h b/sonoff/sonoff_post.h index b8b282fa7..309cc4e32 100644 --- a/sonoff/sonoff_post.h +++ b/sonoff/sonoff_post.h @@ -1,5 +1,5 @@ /* - sonoff_post.h - Post header file for Sonoff-Tasmota + sonoff_post.h - Post header file for Tasmota Copyright (C) 2019 Theo Arends @@ -97,7 +97,7 @@ char* ToHex_P(const unsigned char * in, size_t insz, char * out, size_t outsz, c #define USE_ARILUX_RF // Add support for Arilux RF remote controller (+0k8 code, 252 iram (non 2.3.0)) //#define USE_SHUTTER // Add Shutter support for up to 4 shutter with different motortypes (+6k code) //#define USE_DEEPSLEEP // Add support for deepsleep (+1k code) -//#define USE_EXS_DIMMER // Add support for EX-Store WiFi Dimmer +#define USE_EXS_DIMMER // Add support for EX-Store WiFi Dimmer // -- Optional light modules ---------------------- #define USE_LIGHT // Add Dimmer/Light support diff --git a/sonoff/sonoff_template.h b/sonoff/sonoff_template.h index 51cd2d0fd..a930dbd27 100644 --- a/sonoff/sonoff_template.h +++ b/sonoff/sonoff_template.h @@ -1,5 +1,5 @@ /* - sonoff_template.h - template settings for Sonoff-Tasmota + sonoff_template.h - template settings for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/sonoff_version.h b/sonoff/sonoff_version.h index 6fc555fd6..21ceb7cd4 100644 --- a/sonoff/sonoff_version.h +++ b/sonoff/sonoff_version.h @@ -1,5 +1,5 @@ /* - sonoff_version.h - Version header file for Sonoff-Tasmota + sonoff_version.h - Version header file for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/support.ino b/sonoff/support.ino index bb6a6aa72..6588f523e 100644 --- a/sonoff/support.ino +++ b/sonoff/support.ino @@ -1,5 +1,5 @@ /* - support.ino - support for Sonoff-Tasmota + support.ino - support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/support_button.ino b/sonoff/support_button.ino index f449eb180..d4a269017 100644 --- a/sonoff/support_button.ino +++ b/sonoff/support_button.ino @@ -1,5 +1,5 @@ /* - support_button.ino - button support for Sonoff-Tasmota + support_button.ino - button support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/support_command.ino b/sonoff/support_command.ino index fdf65ecf7..3915e9ea7 100644 --- a/sonoff/support_command.ino +++ b/sonoff/support_command.ino @@ -1,5 +1,5 @@ /* - support_command.ino - command support for Sonoff-Tasmota + support_command.ino - command support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/support_features.ino b/sonoff/support_features.ino index 638930d21..e4f5c1044 100644 --- a/sonoff/support_features.ino +++ b/sonoff/support_features.ino @@ -1,5 +1,5 @@ /* - support_features.ino - feature support for Sonoff-Tasmota + support_features.ino - feature support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/support_float.ino b/sonoff/support_float.ino index 6fe23192d..9ad556354 100644 --- a/sonoff/support_float.ino +++ b/sonoff/support_float.ino @@ -1,5 +1,5 @@ /* - support_float.ino - Small floating point support for Sonoff-Tasmota + support_float.ino - Small floating point support for Tasmota Copyright (C) 2019 Theo Arends and Stephan Hadinger diff --git a/sonoff/support_rotary.ino b/sonoff/support_rotary.ino index cc1ca0eb2..1adf2423d 100644 --- a/sonoff/support_rotary.ino +++ b/sonoff/support_rotary.ino @@ -1,5 +1,5 @@ /* - support_rotary.ino - rotary switch support for Sonoff-Tasmota + support_rotary.ino - rotary switch support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/support_rtc.ino b/sonoff/support_rtc.ino index b799003c4..94ea9bebe 100644 --- a/sonoff/support_rtc.ino +++ b/sonoff/support_rtc.ino @@ -1,5 +1,5 @@ /* - support_rtc.ino - Real Time Clock support for Sonoff-Tasmota + support_rtc.ino - Real Time Clock support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/support_static_buffer.ino b/sonoff/support_static_buffer.ino index 9d1cb1031..b19ed931f 100644 --- a/sonoff/support_static_buffer.ino +++ b/sonoff/support_static_buffer.ino @@ -1,5 +1,5 @@ /* - support_buffer.ino - Static binary buffer for Zigbee + support_buffer.ino - Static binary buffer for Zigbee on Tasmota Copyright (C) 2019 Theo Arends and Stephan Hadinger diff --git a/sonoff/support_switch.ino b/sonoff/support_switch.ino index 940fcdb1d..5415c1210 100644 --- a/sonoff/support_switch.ino +++ b/sonoff/support_switch.ino @@ -1,5 +1,5 @@ /* - support_switch.ino - switch support for Sonoff-Tasmota + support_switch.ino - switch support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/support_udp.ino b/sonoff/support_udp.ino index a33ca6973..f7c83775f 100644 --- a/sonoff/support_udp.ino +++ b/sonoff/support_udp.ino @@ -1,5 +1,5 @@ /* - support_udp.ino - Udp support for Sonoff-Tasmota + support_udp.ino - Udp support for Tasmota Copyright (C) 2019 Heiko Krupp and Theo Arends diff --git a/sonoff/support_wifi.ino b/sonoff/support_wifi.ino index bfbc3631f..ba0e95eae 100644 --- a/sonoff/support_wifi.ino +++ b/sonoff/support_wifi.ino @@ -1,5 +1,5 @@ /* - support_wifi.ino - wifi support for Sonoff-Tasmota + support_wifi.ino - wifi support for Tasmota Copyright (C) 2019 Theo Arends @@ -119,7 +119,7 @@ void WiFiSetSleepMode(void) * where there is a requirement for the accurancy of the TCP timer. * * Sleep is disabled in core 2.4.1 and 2.4.2 as there are bugs in their SDKs - * See https://github.com/arendst/Sonoff-Tasmota/issues/2559 + * See https://github.com/arendst/Tasmota/issues/2559 */ // Sleep explanation: https://github.com/esp8266/Arduino/blob/3f0c601cfe81439ce17e9bd5d28994a7ed144482/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp#L255 diff --git a/sonoff/user_config_override_sample.h b/sonoff/user_config_override_sample.h index 9a48d2d50..ef97e43cf 100644 --- a/sonoff/user_config_override_sample.h +++ b/sonoff/user_config_override_sample.h @@ -1,5 +1,5 @@ /* - user_config_override.h - user configuration overrides my_user_config.h for Sonoff-Tasmota + user_config_override.h - user configuration overrides my_user_config.h for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_01_webserver.ino b/sonoff/xdrv_01_webserver.ino index 17622e920..cab654c91 100644 --- a/sonoff/xdrv_01_webserver.ino +++ b/sonoff/xdrv_01_webserver.ino @@ -1,5 +1,5 @@ /* - xdrv_01_webserver.ino - webserver for Sonoff-Tasmota + xdrv_01_webserver.ino - webserver for Tasmota Copyright (C) 2019 Theo Arends @@ -474,7 +474,7 @@ const char HTTP_COUNTER[] PROGMEM = "
"; const char HTTP_END[] PROGMEM = - "

Sonoff-Tasmota %s " D_BY " Theo Arends
" + "

Tasmota %s " D_BY " Theo Arends
" "" "" ""; diff --git a/sonoff/xdrv_02_mqtt.ino b/sonoff/xdrv_02_mqtt.ino index 22ecf5f58..cafdc80da 100644 --- a/sonoff/xdrv_02_mqtt.ino +++ b/sonoff/xdrv_02_mqtt.ino @@ -1,5 +1,5 @@ /* - xdrv_02_mqtt.ino - mqtt support for Sonoff-Tasmota + xdrv_02_mqtt.ino - mqtt support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_03_energy.ino b/sonoff/xdrv_03_energy.ino index 263b2fa15..13bb8948a 100644 --- a/sonoff/xdrv_03_energy.ino +++ b/sonoff/xdrv_03_energy.ino @@ -1,5 +1,5 @@ /* - xdrv_03_energy.ino - Energy sensor support for Sonoff-Tasmota + xdrv_03_energy.ino - Energy sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_04_light.ino b/sonoff/xdrv_04_light.ino index 558b843da..67359634e 100644 --- a/sonoff/xdrv_04_light.ino +++ b/sonoff/xdrv_04_light.ino @@ -1,5 +1,5 @@ /* - xdrv_04_light.ino - PWM, WS2812 and sonoff led support for Sonoff-Tasmota + xdrv_04_light.ino - PWM, WS2812 and sonoff led support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_05_irremote.ino b/sonoff/xdrv_05_irremote.ino index 4dd71f24f..b162825f5 100644 --- a/sonoff/xdrv_05_irremote.ino +++ b/sonoff/xdrv_05_irremote.ino @@ -1,5 +1,5 @@ /* - xdrv_05_irremote.ino - infra red support for Sonoff-Tasmota + xdrv_05_irremote.ino - infra red support for Tasmota Copyright (C) 2019 Heiko Krupp, Lazar Obradovic and Theo Arends diff --git a/sonoff/xdrv_05_irremote_full.ino b/sonoff/xdrv_05_irremote_full.ino index d78921b54..81a6ba8cf 100644 --- a/sonoff/xdrv_05_irremote_full.ino +++ b/sonoff/xdrv_05_irremote_full.ino @@ -1,5 +1,5 @@ /* - xdrv_05_irremote_full.ino - complete intefration of IRremoteESP8266 + xdrv_05_irremote_full.ino - complete integration of IRremoteESP8266 for Tasmota Copyright (C) 2019 Heiko Krupp, Lazar Obradovic, Theo Arends, Stephan Hadinger diff --git a/sonoff/xdrv_06_snfbridge.ino b/sonoff/xdrv_06_snfbridge.ino index fbd7a344a..f65ffd314 100644 --- a/sonoff/xdrv_06_snfbridge.ino +++ b/sonoff/xdrv_06_snfbridge.ino @@ -1,5 +1,5 @@ /* - xdrv_06_snfbridge.ino - sonoff RF bridge 433 support for Sonoff-Tasmota + xdrv_06_snfbridge.ino - sonoff RF bridge 433 support for Tasmota Copyright (C) 2019 Theo Arends and Erik Andrén Zachrisson (fw update) @@ -52,7 +52,7 @@ struct SONOFFBRIDGE { * EFM8BB1 RF microcontroller in-situ firmware update * * Enables upload of EFM8BB1 firmware provided by https://github.com/Portisch/RF-Bridge-EFM8BB1 using the web gui. - * Based on source by Erik Andrén Zachrisson (https://github.com/arendst/Sonoff-Tasmota/pull/2886) + * Based on source by Erik Andrén Zachrisson (https://github.com/arendst/Tasmota/pull/2886) \*********************************************************************************************/ #include "ihx.h" diff --git a/sonoff/xdrv_07_domoticz.ino b/sonoff/xdrv_07_domoticz.ino index e4f1b5ca1..164e2d751 100644 --- a/sonoff/xdrv_07_domoticz.ino +++ b/sonoff/xdrv_07_domoticz.ino @@ -1,5 +1,5 @@ /* - xdrv_07_domoticz.ino - domoticz support for Sonoff-Tasmota + xdrv_07_domoticz.ino - domoticz support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_08_serial_bridge.ino b/sonoff/xdrv_08_serial_bridge.ino index 117671d94..3414b0ccd 100644 --- a/sonoff/xdrv_08_serial_bridge.ino +++ b/sonoff/xdrv_08_serial_bridge.ino @@ -1,5 +1,5 @@ /* - xdrv_08_serial_bridge.ino - serial bridge support for Sonoff-Tasmota + xdrv_08_serial_bridge.ino - serial bridge support for Tasmota Copyright (C) 2019 Theo Arends and Dániel Zoltán Tolnai diff --git a/sonoff/xdrv_09_timers.ino b/sonoff/xdrv_09_timers.ino index 130ef04c4..6e1bf4352 100644 --- a/sonoff/xdrv_09_timers.ino +++ b/sonoff/xdrv_09_timers.ino @@ -1,5 +1,5 @@ /* - xdrv_09_timers.ino - timer support for Sonoff-Tasmota + xdrv_09_timers.ino - timer support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_10_rules.ino b/sonoff/xdrv_10_rules.ino index d5d074a6f..1a1f3c2c2 100644 --- a/sonoff/xdrv_10_rules.ino +++ b/sonoff/xdrv_10_rules.ino @@ -1,5 +1,5 @@ /* - xdrv_10_rules.ino - rule support for Sonoff-Tasmota + xdrv_10_rules.ino - rule support for Tasmota Copyright (C) 2019 ESP Easy Group and Theo Arends diff --git a/sonoff/xdrv_10_scripter.ino b/sonoff/xdrv_10_scripter.ino index 434c1716a..730c4b24c 100644 --- a/sonoff/xdrv_10_scripter.ino +++ b/sonoff/xdrv_10_scripter.ino @@ -1,5 +1,5 @@ /* - xdrv_10_scripter.ino - script support for Sonoff-Tasmota + xdrv_10_scripter.ino - script support for Tasmota Copyright (C) 2019 Gerhard Mutz and Theo Arends diff --git a/sonoff/xdrv_11_knx.ino b/sonoff/xdrv_11_knx.ino index a1b45800e..8ba54b73b 100644 --- a/sonoff/xdrv_11_knx.ino +++ b/sonoff/xdrv_11_knx.ino @@ -1,5 +1,5 @@ /* - xdrv_11_knx.ino - KNX IP Protocol support for Sonoff-Tasmota + xdrv_11_knx.ino - KNX IP Protocol support for Tasmota Copyright (C) 2019 Adrian Scillato (https://github.com/ascillato) diff --git a/sonoff/xdrv_12_home_assistant.ino b/sonoff/xdrv_12_home_assistant.ino index e27f4a4d7..81596e2b6 100644 --- a/sonoff/xdrv_12_home_assistant.ino +++ b/sonoff/xdrv_12_home_assistant.ino @@ -1,5 +1,5 @@ /* - xdrv_12_home_assistant.ino - home assistant support for Sonoff-Tasmota + xdrv_12_home_assistant.ino - home assistant support for Tasmota Copyright (C) 2019 Theo Arends @@ -133,7 +133,7 @@ const char HASS_DISCOVER_SENSOR_HASS_STATUS[] PROGMEM = ",\"json_attributes_topic\":\"%s\"," "\"unit_of_meas\":\" \"," // " " As unit of measurement to get a value graph in Hass "\"val_tpl\":\"{{value_json['" D_JSON_RSSI "']}}\"," // "COUNTER":{"C1":0} -> {{ value_json['COUNTER'].C1 }} - "\"ic\":\"mdi:information-outline\""; + "\"ic\":\"mdi:information-outline\""; const char HASS_DISCOVER_DEVICE_INFO[] PROGMEM = ",\"uniq_id\":\"%s\"," @@ -322,7 +322,7 @@ void HAssAnnounceButtonSwitch(uint8_t device, char* topic, uint8_t present, uint GetPowerDevice(value_template, device+1, sizeof(value_template), key + Settings.flag.device_index_enable); // Force index for Switch 1, Index on Button1 is controlled by Settings.flag.device_index_enable //GetTopic_P(state_topic, CMND, topic, value_template); // State of button is sent as CMND TOGGLE, state of switch is sent as ON/OFF - GetTopic_P(state_topic, STAT, mqtt_topic, PSTR(D_RSLT_RESULT)); + GetTopic_P(state_topic, STAT, mqtt_topic, PSTR(D_RSLT_RESULT)); GetTopic_P(availability_topic, TELE, mqtt_topic, S_LWT); FindPrefix(state_topic, availability_topic, prefix); @@ -621,7 +621,7 @@ void HAssAnyKey(void) char stopic[TOPSZ]; GetTopic_P(stopic, STAT, mqtt_topic, (Settings.flag.mqtt_response) ? scommand : S_RSLT_RESULT); Response_P(S_JSON_COMMAND_SVALUE, scommand, GetStateText(state)); - MqttPublish(stopic); + MqttPublish(stopic); } /*********************************************************************************************\ diff --git a/sonoff/xdrv_13_display.ino b/sonoff/xdrv_13_display.ino index 0317c4e03..2c0f7f229 100755 --- a/sonoff/xdrv_13_display.ino +++ b/sonoff/xdrv_13_display.ino @@ -1,5 +1,5 @@ /* - xdrv_13_display.ino - Display support for Sonoff-Tasmota + xdrv_13_display.ino - Display support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_14_mp3.ino b/sonoff/xdrv_14_mp3.ino index 91500a908..14af8df56 100644 --- a/sonoff/xdrv_14_mp3.ino +++ b/sonoff/xdrv_14_mp3.ino @@ -1,5 +1,5 @@ /* - xdrv_14_mp3.ino - MP3 support for Sonoff-Tasmota + xdrv_14_mp3.ino - MP3 support for Tasmota Copyright (C) 2019 gemu2015, mike2nl and Theo Arends @@ -57,7 +57,7 @@ --- 0.9.0.0 20180901 started - further development by mike2nl - https://github.com/mike2nl/Sonoff-Tasmota base - code base from gemu2015 ;-) - https://github.com/gemu2015/Sonoff-Tasmota - forked - from arendst/tasmota - https://github.com/arendst/Sonoff-Tasmota + forked - from arendst/tasmota - https://github.com/arendst/Tasmota */ diff --git a/sonoff/xdrv_15_pca9685.ino b/sonoff/xdrv_15_pca9685.ino index fb1a923d5..2093255c3 100644 --- a/sonoff/xdrv_15_pca9685.ino +++ b/sonoff/xdrv_15_pca9685.ino @@ -1,5 +1,5 @@ /* - xdrv_15_pca9685.ino - Support for I2C PCA9685 12bit 16 pin hardware PWM driver + xdrv_15_pca9685.ino - Support for I2C PCA9685 12bit 16 pin hardware PWM driver on Tasmota Copyright (C) 2019 Andre Thomas and Theo Arends diff --git a/sonoff/xdrv_16_tuyamcu.ino b/sonoff/xdrv_16_tuyamcu.ino index e80adef59..6cab4bb4d 100644 --- a/sonoff/xdrv_16_tuyamcu.ino +++ b/sonoff/xdrv_16_tuyamcu.ino @@ -1,5 +1,5 @@ /* - xdrv_16_tuyamcu.ino - Tuya MCU support for Sonoff-Tasmota + xdrv_16_tuyamcu.ino - Tuya MCU support for Tasmota Copyright (C) 2019 digiblur, Joel Stein and Theo Arends diff --git a/sonoff/xdrv_17_rcswitch.ino b/sonoff/xdrv_17_rcswitch.ino index 9d6d33660..5d448153a 100644 --- a/sonoff/xdrv_17_rcswitch.ino +++ b/sonoff/xdrv_17_rcswitch.ino @@ -1,5 +1,5 @@ /* - xdrv_17_rcswitch.ino - RF transceiver using RcSwitch library for Sonoff-Tasmota + xdrv_17_rcswitch.ino - RF transceiver using RcSwitch library for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_18_armtronix_dimmers.ino b/sonoff/xdrv_18_armtronix_dimmers.ino index abf366c14..2c60c8170 100644 --- a/sonoff/xdrv_18_armtronix_dimmers.ino +++ b/sonoff/xdrv_18_armtronix_dimmers.ino @@ -1,5 +1,5 @@ /* - xdrv_18_armtronix_dimmers.ino - Armtronix dimmers support for Sonoff-Tasmota + xdrv_18_armtronix_dimmers.ino - Armtronix dimmers support for Tasmota Copyright (C) 2019 wvdv2002 and Theo Arends diff --git a/sonoff/xdrv_19_ps16dz_dimmer.ino b/sonoff/xdrv_19_ps16dz_dimmer.ino index 80c32ba47..bb7248eb8 100644 --- a/sonoff/xdrv_19_ps16dz_dimmer.ino +++ b/sonoff/xdrv_19_ps16dz_dimmer.ino @@ -1,5 +1,5 @@ /* - xdrv_19_ps16dz.dimmer.ino - PS_16_DZ dimmer support for Sonoff-Tasmota + xdrv_19_ps16dz.dimmer.ino - PS_16_DZ dimmer support for Tasmota Copyright (C) 2019 Joel Stein and Theo Arends diff --git a/sonoff/xdrv_20_hue.ino b/sonoff/xdrv_20_hue.ino index cd41a30ef..9289822fc 100644 --- a/sonoff/xdrv_20_hue.ino +++ b/sonoff/xdrv_20_hue.ino @@ -1,5 +1,5 @@ /* - xdrv_20_hue.ino - Philips Hue support for Sonoff-Tasmota + xdrv_20_hue.ino - Philips Hue support for Tasmota Copyright (C) 2019 Heiko Krupp and Theo Arends diff --git a/sonoff/xdrv_21_wemo.ino b/sonoff/xdrv_21_wemo.ino index 4858cd1f5..4a50560e2 100644 --- a/sonoff/xdrv_21_wemo.ino +++ b/sonoff/xdrv_21_wemo.ino @@ -1,5 +1,5 @@ /* - xdrv_21_wemo.ino - wemo support for Sonoff-Tasmota + xdrv_21_wemo.ino - wemo support for Tasmota Copyright (C) 2019 Heiko Krupp and Theo Arends diff --git a/sonoff/xdrv_22_sonoff_ifan.ino b/sonoff/xdrv_22_sonoff_ifan.ino index 490eb9c72..b05edc5e0 100644 --- a/sonoff/xdrv_22_sonoff_ifan.ino +++ b/sonoff/xdrv_22_sonoff_ifan.ino @@ -1,5 +1,5 @@ /* - xdrv_22_sonoff_ifan.ino - sonoff iFan02 and iFan03 support for Sonoff-Tasmota + xdrv_22_sonoff_ifan.ino - sonoff iFan02 and iFan03 support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_23_zigbee_0_constants.ino b/sonoff/xdrv_23_zigbee_0_constants.ino index 13d7dbb4f..996d877f8 100644 --- a/sonoff/xdrv_23_zigbee_0_constants.ino +++ b/sonoff/xdrv_23_zigbee_0_constants.ino @@ -1,5 +1,5 @@ /* - xdrv_23_zigbee_constants.ino - zigbee support for Sonoff-Tasmota + xdrv_23_zigbee_constants.ino - zigbee support for Tasmota Copyright (C) 2019 Theo Arends and Stephan Hadinger diff --git a/sonoff/xdrv_23_zigbee_3_devices.ino b/sonoff/xdrv_23_zigbee_3_devices.ino index 3596ef78e..7068973c0 100644 --- a/sonoff/xdrv_23_zigbee_3_devices.ino +++ b/sonoff/xdrv_23_zigbee_3_devices.ino @@ -1,5 +1,5 @@ /* - xdrv_23_zigbee.ino - zigbee support for Sonoff-Tasmota + xdrv_23_zigbee.ino - zigbee support for Tasmota Copyright (C) 2019 Theo Arends and Stephan Hadinger @@ -202,7 +202,7 @@ int32_t Z_Devices::findLongAddr(uint64_t longaddr) { } // -// We have a seen a shortaddr on the network, get the corresponding +// We have a seen a shortaddr on the network, get the corresponding // Z_Device & Z_Devices::getShortAddr(uint16_t shortaddr) { if (!shortaddr) { return *(Z_Device*) nullptr; } // this is not legal diff --git a/sonoff/xdrv_23_zigbee_5_converters.ino b/sonoff/xdrv_23_zigbee_5_converters.ino index 76df95aeb..ec4a29280 100644 --- a/sonoff/xdrv_23_zigbee_5_converters.ino +++ b/sonoff/xdrv_23_zigbee_5_converters.ino @@ -1,5 +1,5 @@ /* - xdrv_23_zigbee_converters.ino - zigbee support for Sonoff-Tasmota + xdrv_23_zigbee_converters.ino - zigbee support for Tasmota Copyright (C) 2019 Theo Arends and Stephan Hadinger @@ -459,7 +459,7 @@ const Z_AttributeConverter Z_PostProcess[] PROGMEM = { { 0x0000, 0x0000, "ZCLVersion", &Z_Copy }, { 0x0000, 0x0001, "AppVersion", &Z_Copy }, { 0x0000, 0x0002, "StackVersion", &Z_Copy }, - { 0x0000, 0x0003, "HWVersion", &Z_Copy }, + { 0x0000, 0x0003, "HWVersion", &Z_Copy }, { 0x0000, 0x0004, "Manufacturer", &Z_ManufKeep }, // record Manufacturer { 0x0000, 0x0005, D_JSON_MODEL D_JSON_ID, &Z_ModelKeep }, // record Model { 0x0000, 0x0006, "DateCode", &Z_Copy }, @@ -670,10 +670,10 @@ const Z_AttributeConverter Z_PostProcess[] PROGMEM = { { 0x0B01, 0x000E, "PowerThreshold", &Z_Copy }, { 0x0400, 0x0000, D_JSON_ILLUMINANCE, &Z_Copy }, // Illuminance (in Lux) - { 0x0400, 0x0001, "MinMeasuredValue", &Z_Copy }, // - { 0x0400, 0x0002, "MaxMeasuredValue", &Z_Copy }, // - { 0x0400, 0x0003, "Tolerance", &Z_Copy }, // - { 0x0400, 0x0004, "LightSensorType", &Z_Copy }, // + { 0x0400, 0x0001, "MinMeasuredValue", &Z_Copy }, // + { 0x0400, 0x0002, "MaxMeasuredValue", &Z_Copy }, // + { 0x0400, 0x0003, "Tolerance", &Z_Copy }, // + { 0x0400, 0x0004, "LightSensorType", &Z_Copy }, // { 0x0400, 0xFFFF, nullptr, &Z_Remove }, // Remove all other values { 0x0401, 0x0000, "LevelStatus", &Z_Copy }, // Illuminance (in Lux) @@ -681,33 +681,33 @@ const Z_AttributeConverter Z_PostProcess[] PROGMEM = { { 0x0401, 0xFFFF, nullptr, &Z_Remove }, // Remove all other values { 0x0402, 0x0000, D_JSON_TEMPERATURE, &Z_FloatDiv100 }, // Temperature - { 0x0402, 0x0001, "MinMeasuredValue", &Z_FloatDiv100 }, // - { 0x0402, 0x0002, "MaxMeasuredValue", &Z_FloatDiv100 }, // - { 0x0402, 0x0003, "Tolerance", &Z_FloatDiv100 }, // + { 0x0402, 0x0001, "MinMeasuredValue", &Z_FloatDiv100 }, // + { 0x0402, 0x0002, "MaxMeasuredValue", &Z_FloatDiv100 }, // + { 0x0402, 0x0003, "Tolerance", &Z_FloatDiv100 }, // { 0x0402, 0xFFFF, nullptr, &Z_Remove }, // Remove all other values { 0x0403, 0x0000, D_JSON_PRESSURE_UNIT, &Z_AddPressureUnit }, // Pressure Unit { 0x0403, 0x0000, D_JSON_PRESSURE, &Z_Copy }, // Pressure - { 0x0403, 0x0001, "MinMeasuredValue", &Z_Copy }, // - { 0x0403, 0x0002, "MaxMeasuredValue", &Z_Copy }, // - { 0x0403, 0x0003, "Tolerance", &Z_Copy }, // - { 0x0403, 0x0010, "ScaledValue", &Z_Copy }, // - { 0x0403, 0x0011, "MinScaledValue", &Z_Copy }, // - { 0x0403, 0x0012, "MaxScaledValue", &Z_Copy }, // - { 0x0403, 0x0013, "ScaledTolerance", &Z_Copy }, // - { 0x0403, 0x0014, "Scale", &Z_Copy }, // + { 0x0403, 0x0001, "MinMeasuredValue", &Z_Copy }, // + { 0x0403, 0x0002, "MaxMeasuredValue", &Z_Copy }, // + { 0x0403, 0x0003, "Tolerance", &Z_Copy }, // + { 0x0403, 0x0010, "ScaledValue", &Z_Copy }, // + { 0x0403, 0x0011, "MinScaledValue", &Z_Copy }, // + { 0x0403, 0x0012, "MaxScaledValue", &Z_Copy }, // + { 0x0403, 0x0013, "ScaledTolerance", &Z_Copy }, // + { 0x0403, 0x0014, "Scale", &Z_Copy }, // { 0x0403, 0xFFFF, nullptr, &Z_Remove }, // Remove all other Pressure values { 0x0404, 0x0000, D_JSON_FLOWRATE, &Z_FloatDiv10 }, // Flow (in m3/h) - { 0x0404, 0x0001, "MinMeasuredValue", &Z_Copy }, // - { 0x0404, 0x0002, "MaxMeasuredValue", &Z_Copy }, // - { 0x0404, 0x0003, "Tolerance", &Z_Copy }, // + { 0x0404, 0x0001, "MinMeasuredValue", &Z_Copy }, // + { 0x0404, 0x0002, "MaxMeasuredValue", &Z_Copy }, // + { 0x0404, 0x0003, "Tolerance", &Z_Copy }, // { 0x0404, 0xFFFF, nullptr, &Z_Remove }, // Remove all other values { 0x0405, 0x0000, D_JSON_HUMIDITY, &Z_FloatDiv100 }, // Humidity - { 0x0405, 0x0001, "MinMeasuredValue", &Z_Copy }, // - { 0x0405, 0x0002, "MaxMeasuredValue", &Z_Copy }, // - { 0x0405, 0x0003, "Tolerance", &Z_Copy }, // + { 0x0405, 0x0001, "MinMeasuredValue", &Z_Copy }, // + { 0x0405, 0x0002, "MaxMeasuredValue", &Z_Copy }, // + { 0x0405, 0x0003, "Tolerance", &Z_Copy }, // { 0x0405, 0xFFFF, nullptr, &Z_Remove }, // Remove all other values { 0x0406, 0x0000, "Occupancy", &Z_Copy }, // Occupancy (map8) diff --git a/sonoff/xdrv_23_zigbee_6_commands.ino b/sonoff/xdrv_23_zigbee_6_commands.ino index 017d2cd98..1dcbe3610 100644 --- a/sonoff/xdrv_23_zigbee_6_commands.ino +++ b/sonoff/xdrv_23_zigbee_6_commands.ino @@ -1,5 +1,5 @@ /* - xdrv_23_zigbee_converters.ino - zigbee support for Sonoff-Tasmota + xdrv_23_zigbee_converters.ino - zigbee support for Tasmota Copyright (C) 2019 Theo Arends and Stephan Hadinger diff --git a/sonoff/xdrv_23_zigbee_7_statemachine.ino b/sonoff/xdrv_23_zigbee_7_statemachine.ino index 844086bce..c8ba45717 100644 --- a/sonoff/xdrv_23_zigbee_7_statemachine.ino +++ b/sonoff/xdrv_23_zigbee_7_statemachine.ino @@ -1,5 +1,5 @@ /* - xdrv_23_zigbee.ino - zigbee support for Sonoff-Tasmota + xdrv_23_zigbee.ino - zigbee support for Tasmota Copyright (C) 2019 Theo Arends and Stephan Hadinger diff --git a/sonoff/xdrv_23_zigbee_8_parsers.ino b/sonoff/xdrv_23_zigbee_8_parsers.ino index 286596e33..d0d7a3079 100644 --- a/sonoff/xdrv_23_zigbee_8_parsers.ino +++ b/sonoff/xdrv_23_zigbee_8_parsers.ino @@ -1,5 +1,5 @@ /* - xdrv_23_zigbee.ino - zigbee support for Sonoff-Tasmota + xdrv_23_zigbee.ino - zigbee support for Tasmota Copyright (C) 2019 Theo Arends and Stephan Hadinger @@ -78,7 +78,7 @@ const char Z_RebootReason[] PROGMEM = "Power-up|External|Watchdog"; int32_t Z_Reboot(int32_t res, class SBuffer &buf) { // print information about the reboot of device // 4180.02.02.00.02.06.03 - // + // uint8_t reason = buf.get8(2); uint8_t transport_rev = buf.get8(3); uint8_t product_id = buf.get8(4); @@ -387,7 +387,7 @@ int32_t Z_ReceiveAfIncomingMessage(int32_t res, const class SBuffer &buf) { JsonObject& json_root = jsonBuffer.createObject(); JsonObject& json1 = json_root.createNestedObject(F(D_CMND_ZIGBEE_RECEIVED)); JsonObject& json = json1.createNestedObject(shortaddr); - + // TODO add name field if it is known if ( (!zcl_received.isClusterSpecificCommand()) && (ZCL_REPORT_ATTRIBUTES == zcl_received.getCmdId())) { zcl_received.parseRawAttributes(json); diff --git a/sonoff/xdrv_23_zigbee_9_impl.ino b/sonoff/xdrv_23_zigbee_9_impl.ino index 07fec54f4..a935ba08a 100644 --- a/sonoff/xdrv_23_zigbee_9_impl.ino +++ b/sonoff/xdrv_23_zigbee_9_impl.ino @@ -1,5 +1,5 @@ /* - xdrv_23_zigbee.ino - zigbee support for Sonoff-Tasmota + xdrv_23_zigbee.ino - zigbee support for Tasmota Copyright (C) 2019 Theo Arends and Stephan Hadinger diff --git a/sonoff/xdrv_24_buzzer.ino b/sonoff/xdrv_24_buzzer.ino index d6cf24683..f0238a3d6 100644 --- a/sonoff/xdrv_24_buzzer.ino +++ b/sonoff/xdrv_24_buzzer.ino @@ -1,5 +1,5 @@ /* - xdrv_24_Buzzer.ino - buzzer support for Sonoff-Tasmota + xdrv_24_Buzzer.ino - buzzer support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_25_A4988_Stepper.ino b/sonoff/xdrv_25_A4988_Stepper.ino index f863b9768..736d86e24 100644 --- a/sonoff/xdrv_25_A4988_Stepper.ino +++ b/sonoff/xdrv_25_A4988_Stepper.ino @@ -1,6 +1,6 @@ /* - xdrv_25_a4988_stepper.ino - A4988 StepMotorDriverCircuit- support for Sonoff-Tasmota + xdrv_25_a4988_stepper.ino - A4988 StepMotorDriverCircuit- support for Tasmota Copyright (C) 2019 Tim Leuscher and Theo Arends diff --git a/sonoff/xdrv_26_ariluxrf.ino b/sonoff/xdrv_26_ariluxrf.ino index 48eb1b46c..583f9a9bc 100644 --- a/sonoff/xdrv_26_ariluxrf.ino +++ b/sonoff/xdrv_26_ariluxrf.ino @@ -1,5 +1,5 @@ /* - xdrv_26_ariluxrf.ino - Arilux Rf support for Sonoff-Tasmota + xdrv_26_ariluxrf.ino - Arilux Rf support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_27_shutter.ino b/sonoff/xdrv_27_shutter.ino index 7c0f989d1..f7ba5c911 100644 --- a/sonoff/xdrv_27_shutter.ino +++ b/sonoff/xdrv_27_shutter.ino @@ -1,5 +1,5 @@ /* - xdrv_27_shutter.ino - Shutter/Blind support for Sonoff-Tasmota + xdrv_27_shutter.ino - Shutter/Blind support for Tasmota Copyright (C) 2019 Stefan Bode diff --git a/sonoff/xdrv_28_pcf8574.ino b/sonoff/xdrv_28_pcf8574.ino index ab63ff79b..d527fd330 100644 --- a/sonoff/xdrv_28_pcf8574.ino +++ b/sonoff/xdrv_28_pcf8574.ino @@ -1,5 +1,5 @@ /* - xdrv_28_pcf8574.ino - PCF8574 I2C support for Sonoff-Tasmota + xdrv_28_pcf8574.ino - PCF8574 I2C support for Tasmota Copyright (C) 2019 Stefan Bode diff --git a/sonoff/xdrv_29_deepsleep.ino b/sonoff/xdrv_29_deepsleep.ino index 13706798b..a3e091227 100644 --- a/sonoff/xdrv_29_deepsleep.ino +++ b/sonoff/xdrv_29_deepsleep.ino @@ -1,5 +1,5 @@ /* - xdrv_29_deepsleep.ino - DeepSleep support for Sonoff-Tasmota + xdrv_29_deepsleep.ino - DeepSleep support for Tasmota Copyright (C) 2019 Stefan Bode diff --git a/sonoff/xdrv_30_exs_dimmer.ino b/sonoff/xdrv_30_exs_dimmer.ino index a476db95c..2b4ef8dd0 100644 --- a/sonoff/xdrv_30_exs_dimmer.ino +++ b/sonoff/xdrv_30_exs_dimmer.ino @@ -1,5 +1,5 @@ /* - xdrv_30_exs_dimmer.ino - ex-store dimmer support for Sonoff-Tasmota + xdrv_30_exs_dimmer.ino - ex-store dimmer support for Tasmota Copyright (C) 2019 Andreas Schultz diff --git a/sonoff/xdrv_99_debug.ino b/sonoff/xdrv_99_debug.ino index 78437ad33..717eafb71 100644 --- a/sonoff/xdrv_99_debug.ino +++ b/sonoff/xdrv_99_debug.ino @@ -1,5 +1,5 @@ /* - xdrv_99_debug.ino - debug support for Sonoff-Tasmota + xdrv_99_debug.ino - debug support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xdrv_interface.ino b/sonoff/xdrv_interface.ino index ead58e613..d021cc5bd 100644 --- a/sonoff/xdrv_interface.ino +++ b/sonoff/xdrv_interface.ino @@ -1,5 +1,5 @@ /* - xdrv_interface.ino - Driver interface support for Sonoff-Tasmota + xdrv_interface.ino - Driver interface support for Tasmota Copyright (C) 2019 Theo Arends inspired by ESPEasy diff --git a/sonoff/xdsp_01_lcd.ino b/sonoff/xdsp_01_lcd.ino index 8ab867f48..b992b87c3 100644 --- a/sonoff/xdsp_01_lcd.ino +++ b/sonoff/xdsp_01_lcd.ino @@ -1,5 +1,5 @@ /* - xdsp_01_lcd.ino - Display LCD support for Sonoff-Tasmota + xdsp_01_lcd.ino - Display LCD support for Tasmota Copyright (C) 2019 Theo Arends and Adafruit diff --git a/sonoff/xdsp_02_ssd1306.ino b/sonoff/xdsp_02_ssd1306.ino index 04251b595..4b49c2329 100755 --- a/sonoff/xdsp_02_ssd1306.ino +++ b/sonoff/xdsp_02_ssd1306.ino @@ -1,5 +1,5 @@ /* - xdsp_02_ssd1306.ino - Display Oled SSD1306 support for Sonoff-Tasmota + xdsp_02_ssd1306.ino - Display Oled SSD1306 support for Tasmota Copyright (C) 2019 Theo Arends and Adafruit diff --git a/sonoff/xdsp_03_matrix.ino b/sonoff/xdsp_03_matrix.ino index 6635fb606..ed1d805b5 100644 --- a/sonoff/xdsp_03_matrix.ino +++ b/sonoff/xdsp_03_matrix.ino @@ -1,5 +1,5 @@ /* - xdsp_03_matrix.ino - Display 8x8 matrix support for Sonoff-Tasmota + xdsp_03_matrix.ino - Display 8x8 matrix support for Tasmota Copyright (C) 2019 Theo Arends and Adafruit diff --git a/sonoff/xdsp_04_ili9341.ino b/sonoff/xdsp_04_ili9341.ino index 8871e6586..f3b80e73a 100644 --- a/sonoff/xdsp_04_ili9341.ino +++ b/sonoff/xdsp_04_ili9341.ino @@ -1,5 +1,5 @@ /* - xdsp_04_ili9341.ino - Display Tft Ili9341 support for Sonoff-Tasmota + xdsp_04_ili9341.ino - Display Tft Ili9341 support for Tasmota Copyright (C) 2019 Theo Arends and Adafruit diff --git a/sonoff/xdsp_05_epaper_29.ino b/sonoff/xdsp_05_epaper_29.ino index 8d97bd123..47ed941c5 100644 --- a/sonoff/xdsp_05_epaper_29.ino +++ b/sonoff/xdsp_05_epaper_29.ino @@ -1,5 +1,5 @@ /* - xdsp_05_epaper.ino - Display e-paper support for Sonoff-Tasmota + xdsp_05_epaper.ino - Display e-paper support for Tasmota Copyright (C) 2019 Theo Arends, Gerhard Mutz and Waveshare diff --git a/sonoff/xdsp_06_epaper_42.ino b/sonoff/xdsp_06_epaper_42.ino index 0dd235186..1a9c9d557 100644 --- a/sonoff/xdsp_06_epaper_42.ino +++ b/sonoff/xdsp_06_epaper_42.ino @@ -1,5 +1,5 @@ /* - xdsp_05_epaper.ino - Display e-paper support for Sonoff-Tasmota + xdsp_05_epaper.ino - Display e-paper support for Tasmota Copyright (C) 2019 Theo Arends, Gerhard Mutz and Waveshare diff --git a/sonoff/xdsp_07_sh1106.ino b/sonoff/xdsp_07_sh1106.ino index 6c535b02a..f30cd10be 100644 --- a/sonoff/xdsp_07_sh1106.ino +++ b/sonoff/xdsp_07_sh1106.ino @@ -1,5 +1,5 @@ /* - xdsp_07_SH1106.ino - Display Oled SH1106 support for Sonoff-Tasmota + xdsp_07_SH1106.ino - Display Oled SH1106 support for Tasmota Copyright (C) 2019 Theo Arends and Adafruit diff --git a/sonoff/xdsp_08_ILI9488.ino b/sonoff/xdsp_08_ILI9488.ino index 071280601..c77f21bf2 100644 --- a/sonoff/xdsp_08_ILI9488.ino +++ b/sonoff/xdsp_08_ILI9488.ino @@ -1,5 +1,5 @@ /* - xdsp_08_ILI9488.ino - Display ILI9488 support for Sonoff-Tasmota + xdsp_08_ILI9488.ino - Display ILI9488 support for Tasmota Copyright (C) 2019 Theo Arends, Gerhard Mutz diff --git a/sonoff/xdsp_09_SSD1351.ino b/sonoff/xdsp_09_SSD1351.ino index 0a3b69b4e..ad7e86f99 100644 --- a/sonoff/xdsp_09_SSD1351.ino +++ b/sonoff/xdsp_09_SSD1351.ino @@ -1,5 +1,5 @@ /* - xdsp_09_SSD1351.ino - Display SSD1351 support for Sonoff-Tasmota + xdsp_09_SSD1351.ino - Display SSD1351 support for Tasmota Copyright (C) 2019 Gerhard Mutz and Theo Arends diff --git a/sonoff/xdsp_10_RA8876.ino b/sonoff/xdsp_10_RA8876.ino index d138ae154..a8c2763f9 100644 --- a/sonoff/xdsp_10_RA8876.ino +++ b/sonoff/xdsp_10_RA8876.ino @@ -1,5 +1,5 @@ /* - xdsp_09_SSD1351.ino - Display SSD1351 support for Sonoff-Tasmota + xdsp_09_SSD1351.ino - Display SSD1351 support for Tasmota Copyright (C) 2019 Gerhard Mutz and Theo Arends diff --git a/sonoff/xdsp_interface.ino b/sonoff/xdsp_interface.ino index bc0890f3b..8fa418f5a 100644 --- a/sonoff/xdsp_interface.ino +++ b/sonoff/xdsp_interface.ino @@ -1,5 +1,5 @@ /* - xdsp_interface.ino - Display interface support for Sonoff-Tasmota + xdsp_interface.ino - Display interface support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xlgt_01_ws2812.ino b/sonoff/xlgt_01_ws2812.ino index 2c0a11f0b..f763efd15 100644 --- a/sonoff/xlgt_01_ws2812.ino +++ b/sonoff/xlgt_01_ws2812.ino @@ -1,5 +1,5 @@ /* - xlgt_01_ws2812.ino - led string support for Sonoff-Tasmota + xlgt_01_ws2812.ino - led string support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xlgt_02_my92x1.ino b/sonoff/xlgt_02_my92x1.ino index 551249a01..254f1e78a 100644 --- a/sonoff/xlgt_02_my92x1.ino +++ b/sonoff/xlgt_02_my92x1.ino @@ -1,5 +1,5 @@ /* - xlgt_02_my92x1.ino - led support for Sonoff-Tasmota + xlgt_02_my92x1.ino - led support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xlgt_03_sm16716.ino b/sonoff/xlgt_03_sm16716.ino index d12636e85..6ae2066e4 100644 --- a/sonoff/xlgt_03_sm16716.ino +++ b/sonoff/xlgt_03_sm16716.ino @@ -1,5 +1,5 @@ /* - xlgt_03_sm16716.ino - sm16716 three channel led support for Sonoff-Tasmota + xlgt_03_sm16716.ino - sm16716 three channel led support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xlgt_04_sm2135.ino b/sonoff/xlgt_04_sm2135.ino index 21755d656..dc4c7dafc 100644 --- a/sonoff/xlgt_04_sm2135.ino +++ b/sonoff/xlgt_04_sm2135.ino @@ -1,5 +1,5 @@ /* - xlgt_04_sm2135.ino - sm2135 five channel led support for Sonoff-Tasmota + xlgt_04_sm2135.ino - sm2135 five channel led support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xlgt_05_sonoff_l1.ino b/sonoff/xlgt_05_sonoff_l1.ino index f9f49aaa5..e6938401c 100644 --- a/sonoff/xlgt_05_sonoff_l1.ino +++ b/sonoff/xlgt_05_sonoff_l1.ino @@ -1,5 +1,5 @@ /* - xlgt_05_sonoff_l1.ino - Sonoff L1 led support for Sonoff-Tasmota + xlgt_05_sonoff_l1.ino - Sonoff L1 led support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xlgt_interface.ino b/sonoff/xlgt_interface.ino index cb963dc5c..667f7a822 100644 --- a/sonoff/xlgt_interface.ino +++ b/sonoff/xlgt_interface.ino @@ -1,5 +1,5 @@ /* - xlgt_interface.ino - Light driver interface support for Sonoff-Tasmota + xlgt_interface.ino - Light driver interface support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xnrg_01_hlw8012.ino b/sonoff/xnrg_01_hlw8012.ino index 5c904f13d..488da7059 100644 --- a/sonoff/xnrg_01_hlw8012.ino +++ b/sonoff/xnrg_01_hlw8012.ino @@ -1,5 +1,5 @@ /* - xnrg_01_hlw8012.ino - HLW8012 (Sonoff Pow) energy sensor support for Sonoff-Tasmota + xnrg_01_hlw8012.ino - HLW8012 (Sonoff Pow) energy sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xnrg_02_cse7766.ino b/sonoff/xnrg_02_cse7766.ino index b83e7bcb3..339d4fee2 100644 --- a/sonoff/xnrg_02_cse7766.ino +++ b/sonoff/xnrg_02_cse7766.ino @@ -1,5 +1,5 @@ /* - xnrg_02_cse7766.ino - CSE7766 and HLW8032 energy sensor support for Sonoff-Tasmota + xnrg_02_cse7766.ino - CSE7766 and HLW8032 energy sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xnrg_03_pzem004t.ino b/sonoff/xnrg_03_pzem004t.ino index 93657ae01..0ab29d778 100644 --- a/sonoff/xnrg_03_pzem004t.ino +++ b/sonoff/xnrg_03_pzem004t.ino @@ -1,5 +1,5 @@ /* - xnrg_03_pzem004t.ino - PZEM004T energy sensor support for Sonoff-Tasmota + xnrg_03_pzem004t.ino - PZEM004T energy sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xnrg_04_mcp39f501.ino b/sonoff/xnrg_04_mcp39f501.ino index fa9f5cb59..2fa98276d 100644 --- a/sonoff/xnrg_04_mcp39f501.ino +++ b/sonoff/xnrg_04_mcp39f501.ino @@ -1,5 +1,5 @@ /* - xnrg_04_mcp39f501.ino - MCP39F501 energy sensor support for Sonoff-Tasmota + xnrg_04_mcp39f501.ino - MCP39F501 energy sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xnrg_05_pzem_ac.ino b/sonoff/xnrg_05_pzem_ac.ino index 3758e68a3..0e9e68a40 100644 --- a/sonoff/xnrg_05_pzem_ac.ino +++ b/sonoff/xnrg_05_pzem_ac.ino @@ -1,5 +1,5 @@ /* - xnrg_05_pzem_ac.ino - PZEM-014,016 Modbus AC energy sensor support for Sonoff-Tasmota + xnrg_05_pzem_ac.ino - PZEM-014,016 Modbus AC energy sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xnrg_06_pzem_dc.ino b/sonoff/xnrg_06_pzem_dc.ino index 2e85ac945..ec32e5d73 100644 --- a/sonoff/xnrg_06_pzem_dc.ino +++ b/sonoff/xnrg_06_pzem_dc.ino @@ -1,5 +1,5 @@ /* - xnrg_06_pzem_dc.ino - PZEM-003,017 Modbus DC energy sensor support for Sonoff-Tasmota + xnrg_06_pzem_dc.ino - PZEM-003,017 Modbus DC energy sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xnrg_07_ade7953.ino b/sonoff/xnrg_07_ade7953.ino index 81c7c458e..5f789e3c8 100644 --- a/sonoff/xnrg_07_ade7953.ino +++ b/sonoff/xnrg_07_ade7953.ino @@ -1,5 +1,5 @@ /* - xnrg_07_ade7953.ino - ADE7953 energy sensor support for Sonoff-Tasmota + xnrg_07_ade7953.ino - ADE7953 energy sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xnrg_08_sdm120.ino b/sonoff/xnrg_08_sdm120.ino index c60dd16a7..75c0962e9 100644 --- a/sonoff/xnrg_08_sdm120.ino +++ b/sonoff/xnrg_08_sdm120.ino @@ -1,5 +1,5 @@ /* - xnrg_08_sdm120.ino - Eastron SDM120-Modbus energy meter support for Sonoff-Tasmota + xnrg_08_sdm120.ino - Eastron SDM120-Modbus energy meter support for Tasmota Copyright (C) 2019 Gennaro Tortone and Theo Arends diff --git a/sonoff/xnrg_09_dds2382.ino b/sonoff/xnrg_09_dds2382.ino index 590a60186..06a54e39c 100644 --- a/sonoff/xnrg_09_dds2382.ino +++ b/sonoff/xnrg_09_dds2382.ino @@ -1,5 +1,5 @@ /* - xnrg_09_dds2382.ino - Hiking DDS238-2 Modbus energy meter support for Sonoff-Tasmota + xnrg_09_dds2382.ino - Hiking DDS238-2 Modbus energy meter support for Tasmota Copyright (C) 2019 Matteo Campanella - based on the work of Gennaro Tortone diff --git a/sonoff/xnrg_10_sdm630.ino b/sonoff/xnrg_10_sdm630.ino index 8bf1827f8..31fb70031 100644 --- a/sonoff/xnrg_10_sdm630.ino +++ b/sonoff/xnrg_10_sdm630.ino @@ -1,5 +1,5 @@ /* - xnrg_10_sdm630.ino - Eastron SDM630-Modbus energy meter support for Sonoff-Tasmota + xnrg_10_sdm630.ino - Eastron SDM630-Modbus energy meter support for Tasmota Copyright (C) 2019 Gennaro Tortone and Theo Arends diff --git a/sonoff/xnrg_11_ddsu666.ino b/sonoff/xnrg_11_ddsu666.ino index 2f6dfbf36..daaadd72b 100644 --- a/sonoff/xnrg_11_ddsu666.ino +++ b/sonoff/xnrg_11_ddsu666.ino @@ -1,5 +1,5 @@ /* - xnrg_11_ddsu666.ino - Chint DDSU666-Modbus energy meter support for Sonoff-Tasmota + xnrg_11_ddsu666.ino - Chint DDSU666-Modbus energy meter support for Tasmota Copyright (C) 2019 Pablo Zerón and Theo Arends @@ -70,7 +70,7 @@ void DDSU666Every250ms(void) AddLog_P2(LOG_LEVEL_DEBUG, PSTR("SDM: Ddsu666 error %d"), error); } else { Energy.data_valid[0] = 0; - + // 0 1 2 3 4 5 6 7 8 // SA FC BC Fh Fl Sh Sl Cl Ch // 01 04 04 43 66 33 34 1B 38 = 230.2 Volt diff --git a/sonoff/xnrg_12_solaxX1.ino b/sonoff/xnrg_12_solaxX1.ino index 2c6c34a9e..b520302d3 100644 --- a/sonoff/xnrg_12_solaxX1.ino +++ b/sonoff/xnrg_12_solaxX1.ino @@ -1,5 +1,5 @@ /* - xnrg_12_solaxX1.ino - Solax X1 inverter RS485 support for Sonoff-Tasmota + xnrg_12_solaxX1.ino - Solax X1 inverter RS485 support for Tasmota Copyright (C) 2019 Pablo Zerón diff --git a/sonoff/xnrg_interface.ino b/sonoff/xnrg_interface.ino index 3e36b334b..80ac3cf55 100644 --- a/sonoff/xnrg_interface.ino +++ b/sonoff/xnrg_interface.ino @@ -1,5 +1,5 @@ /* - xnrg_interface.ino - Energy driver interface support for Sonoff-Tasmota + xnrg_interface.ino - Energy driver interface support for Tasmota Copyright (C) 2019 Theo Arends inspired by ESPEasy diff --git a/sonoff/xsns_01_counter.ino b/sonoff/xsns_01_counter.ino index e3b6a171a..296435579 100644 --- a/sonoff/xsns_01_counter.ino +++ b/sonoff/xsns_01_counter.ino @@ -1,5 +1,5 @@ /* - xsns_01_counter.ino - Counter sensors (water meters, electricity meters etc.) sensor support for Sonoff-Tasmota + xsns_01_counter.ino - Counter sensors (water meters, electricity meters etc.) sensor support for Tasmota Copyright (C) 2019 Maarten Damen and Theo Arends diff --git a/sonoff/xsns_02_analog.ino b/sonoff/xsns_02_analog.ino index aebb12e4f..b65c23ab5 100644 --- a/sonoff/xsns_02_analog.ino +++ b/sonoff/xsns_02_analog.ino @@ -1,5 +1,5 @@ /* - xsns_02_analog.ino - ESP8266 ADC support for Sonoff-Tasmota + xsns_02_analog.ino - ESP8266 ADC support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_04_snfsc.ino b/sonoff/xsns_04_snfsc.ino index 98e842c76..060321349 100644 --- a/sonoff/xsns_04_snfsc.ino +++ b/sonoff/xsns_04_snfsc.ino @@ -1,5 +1,5 @@ /* - xsns_04_snfsc.ino - sonoff SC support for Sonoff-Tasmota + xsns_04_snfsc.ino - sonoff SC support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_05_ds18x20.ino b/sonoff/xsns_05_ds18x20.ino index ccbb5df5e..ca052c2f2 100644 --- a/sonoff/xsns_05_ds18x20.ino +++ b/sonoff/xsns_05_ds18x20.ino @@ -1,5 +1,5 @@ /* - xsns_05_ds18x20.ino - DS18x20 temperature sensor support for Sonoff-Tasmota + xsns_05_ds18x20.ino - DS18x20 temperature sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_06_dht.ino b/sonoff/xsns_06_dht.ino index 6604067e3..c4e877de9 100644 --- a/sonoff/xsns_06_dht.ino +++ b/sonoff/xsns_06_dht.ino @@ -1,5 +1,5 @@ /* - xsns_06_dht.ino - DHTxx, AM23xx and SI7021 temperature and humidity sensor support for Sonoff-Tasmota + xsns_06_dht.ino - DHTxx, AM23xx and SI7021 temperature and humidity sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_07_sht1x.ino b/sonoff/xsns_07_sht1x.ino index e3cffc6a3..3cff330dd 100644 --- a/sonoff/xsns_07_sht1x.ino +++ b/sonoff/xsns_07_sht1x.ino @@ -1,5 +1,5 @@ /* - xsns_07_sht1x.ino - SHT1x temperature and sensor support for Sonoff-Tasmota + xsns_07_sht1x.ino - SHT1x temperature and sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_08_htu21.ino b/sonoff/xsns_08_htu21.ino index 96246e349..6425695bc 100644 --- a/sonoff/xsns_08_htu21.ino +++ b/sonoff/xsns_08_htu21.ino @@ -1,5 +1,5 @@ /* - xsns_08_htu21.ino - HTU21 temperature and humidity sensor support for Sonoff-Tasmota + xsns_08_htu21.ino - HTU21 temperature and humidity sensor support for Tasmota Copyright (C) 2019 Heiko Krupp and Theo Arends diff --git a/sonoff/xsns_09_bmp.ino b/sonoff/xsns_09_bmp.ino index 8680d6dea..9d1976078 100755 --- a/sonoff/xsns_09_bmp.ino +++ b/sonoff/xsns_09_bmp.ino @@ -1,5 +1,5 @@ /* - xsns_09_bmp.ino - BMP pressure, temperature, humidity and gas sensor support for Sonoff-Tasmota + xsns_09_bmp.ino - BMP pressure, temperature, humidity and gas sensor support for Tasmota Copyright (C) 2019 Heiko Krupp and Theo Arends diff --git a/sonoff/xsns_10_bh1750.ino b/sonoff/xsns_10_bh1750.ino index d9af1b572..ab6137fd6 100644 --- a/sonoff/xsns_10_bh1750.ino +++ b/sonoff/xsns_10_bh1750.ino @@ -1,5 +1,5 @@ /* - xsns_10_bh1750.ino - BH1750 ambient light sensor support for Sonoff-Tasmota + xsns_10_bh1750.ino - BH1750 ambient light sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_11_veml6070.ino b/sonoff/xsns_11_veml6070.ino index 42beba939..c919be232 100644 --- a/sonoff/xsns_11_veml6070.ino +++ b/sonoff/xsns_11_veml6070.ino @@ -1,5 +1,5 @@ /* - xsns_11_veml6070.ino - VEML6070 ultra violet light sensor support for Sonoff-Tasmota + xsns_11_veml6070.ino - VEML6070 ultra violet light sensor support for Tasmota Copyright (C) 2019 Theo Arends @@ -73,7 +73,7 @@ - in user_config, show or show-NOT the uv raw value added - lots of #defines for automatic calulations to get the best possible values added - error messages for LOG_LEVEL_DEBUG - added - lots of information in one of the last postings in: https://github.com/arendst/Sonoff-Tasmota/issues/3844 + added - lots of information in one of the last postings in: https://github.com/arendst/Tasmota/issues/3844 debugging - without the softly hit ;-) from @andrethomas about Serial.print i would never done it. Thank You Andre safety - personal, please read this: http://www.segurancaetrabalho.com.br/download/uv_index_karel_vanicek.pdf next - possible i will add the calculation for LAT and LONG coordinates for much more precission @@ -81,7 +81,7 @@ - add a #define to select how many characters are shown benhind the decimal point for the UV Index --- 1.0.0.0 20180912 started - further development by mike2nl - https://github.com/mike2nl/Sonoff-Tasmota - forked - from arendst/tasmota - https://github.com/arendst/Sonoff-Tasmota + forked - from arendst/tasmota - https://github.com/arendst/Tasmota base - code base from arendst too */ diff --git a/sonoff/xsns_12_ads1115.ino b/sonoff/xsns_12_ads1115.ino index 270f4911a..a04f567a9 100644 --- a/sonoff/xsns_12_ads1115.ino +++ b/sonoff/xsns_12_ads1115.ino @@ -1,5 +1,5 @@ /* - xsns_12_ads1115_ada.ino - ADS1115 A/D Converter support for Sonoff-Tasmota + xsns_12_ads1115_ada.ino - ADS1115 A/D Converter support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_12_ads1115_i2cdev.ino b/sonoff/xsns_12_ads1115_i2cdev.ino index 9bfdd0ffe..871c3767a 100644 --- a/sonoff/xsns_12_ads1115_i2cdev.ino +++ b/sonoff/xsns_12_ads1115_i2cdev.ino @@ -1,5 +1,5 @@ /* - xsns_12_ads1115.ino - ADS1x15 A/D Converter support for Sonoff-Tasmota + xsns_12_ads1115.ino - ADS1x15 A/D Converter support for Tasmota Copyright (C) 2019 Stefan Bode and Theo Arends diff --git a/sonoff/xsns_13_ina219.ino b/sonoff/xsns_13_ina219.ino index 662db2209..5cdfaa692 100644 --- a/sonoff/xsns_13_ina219.ino +++ b/sonoff/xsns_13_ina219.ino @@ -1,5 +1,5 @@ /* - xsns_13_ina219.ino - INA219 Current Sensor support for Sonoff-Tasmota + xsns_13_ina219.ino - INA219 Current Sensor support for Tasmota Copyright (C) 2019 Stefan Bode and Theo Arends @@ -233,13 +233,13 @@ void Ina219Show(bool json) for (int i=0; i= Settings.tele_period-5 && tele_period <= Settings.tele_period-2) { //we are doing 4 measurements here diff --git a/sonoff/xsns_21_sgp30.ino b/sonoff/xsns_21_sgp30.ino index 7df1a65de..eaba63951 100644 --- a/sonoff/xsns_21_sgp30.ino +++ b/sonoff/xsns_21_sgp30.ino @@ -1,5 +1,5 @@ /* - xsns_21_sgp30.ino - SGP30 gas and air quality sensor support for Sonoff-Tasmota + xsns_21_sgp30.ino - SGP30 gas and air quality sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_22_sr04.ino b/sonoff/xsns_22_sr04.ino index f475790ae..e70fea52f 100644 --- a/sonoff/xsns_22_sr04.ino +++ b/sonoff/xsns_22_sr04.ino @@ -1,5 +1,5 @@ /* - xsns_22_sr04.ino - SR04 ultrasonic sensor support for Sonoff-Tasmota + xsns_22_sr04.ino - SR04 ultrasonic sensor support for Tasmota Copyright (C) 2019 Nuno Ferreira and Theo Arends diff --git a/sonoff/xsns_24_si1145.ino b/sonoff/xsns_24_si1145.ino index 2a1c26cd5..08e1d4b18 100644 --- a/sonoff/xsns_24_si1145.ino +++ b/sonoff/xsns_24_si1145.ino @@ -1,5 +1,5 @@ /* - xsns_24_si1145.ino - SI1145/46/47 UV Index / IR / Visible light sensor support for Sonoff-Tasmota + xsns_24_si1145.ino - SI1145/46/47 UV Index / IR / Visible light sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_27_apds9960.ino b/sonoff/xsns_27_apds9960.ino index 909bb607e..f8ef6f8b7 100644 --- a/sonoff/xsns_27_apds9960.ino +++ b/sonoff/xsns_27_apds9960.ino @@ -1,5 +1,5 @@ /* - xsns_27_apds9960.ino - Support for I2C APDS9960 Proximity Sensor for Sonoff-Tasmota + xsns_27_apds9960.ino - Support for I2C APDS9960 Proximity Sensor for Tasmota Copyright (C) 2019 Shawn Hymel/Sparkfun and Theo Arends diff --git a/sonoff/xsns_28_tm1638.ino b/sonoff/xsns_28_tm1638.ino index f9f95b73d..0f6a19078 100644 --- a/sonoff/xsns_28_tm1638.ino +++ b/sonoff/xsns_28_tm1638.ino @@ -1,5 +1,5 @@ /* - xsns_28_tm1638.ino - TM1638 8 switch, led and 7 segment unit support for Sonoff-Tasmota + xsns_28_tm1638.ino - TM1638 8 switch, led and 7 segment unit support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_29_mcp230xx.ino b/sonoff/xsns_29_mcp230xx.ino index 0e9cc1039..1ed395900 100644 --- a/sonoff/xsns_29_mcp230xx.ino +++ b/sonoff/xsns_29_mcp230xx.ino @@ -1,5 +1,5 @@ /* - xsns_29_mcp230xx.ino - Support for I2C MCP23008/MCP23017 GPIO Expander + xsns_29_mcp230xx.ino - Support for I2C MCP23008/MCP23017 GPIO Expander on Tasmota Copyright (C) 2019 Andre Thomas and Theo Arends diff --git a/sonoff/xsns_30_mpr121.ino b/sonoff/xsns_30_mpr121.ino index 22fcc381d..a7a7651d1 100644 --- a/sonoff/xsns_30_mpr121.ino +++ b/sonoff/xsns_30_mpr121.ino @@ -2,7 +2,7 @@ * * @file xsns_30_mpr121.ino * - * @package Sonoff-Tasmota + * @package Tasmota * @subpackage Sensors * @name MPR121 * @@ -13,7 +13,7 @@ * @date $Date$ * @version $Id$ * - * @link https://github.com/arendst/Sonoff-Tasmota/wiki/MPR121 \endlink + * @link https://github.com/arendst/Tasmota/wiki/MPR121 \endlink * @link https://www.sparkfun.com/datasheets/Components/MPR121.pdf \endlink * @link http://cache.freescale.com/files/sensors/doc/app_note/AN3891.pdf \endlink * @link http://cache.freescale.com/files/sensors/doc/app_note/AN3892.pdf \endlink diff --git a/sonoff/xsns_31_ccs811.ino b/sonoff/xsns_31_ccs811.ino index 550313b51..cdfdeb017 100644 --- a/sonoff/xsns_31_ccs811.ino +++ b/sonoff/xsns_31_ccs811.ino @@ -1,5 +1,5 @@ /* - xsns_31_ccs811.ino - CCS811 gas and air quality sensor support for Sonoff-Tasmota + xsns_31_ccs811.ino - CCS811 gas and air quality sensor support for Tasmota Copyright (C) 2019 Gerhard Mutz and Theo Arends diff --git a/sonoff/xsns_32_mpu6050.ino b/sonoff/xsns_32_mpu6050.ino index 58915efc9..9b7ff5d89 100644 --- a/sonoff/xsns_32_mpu6050.ino +++ b/sonoff/xsns_32_mpu6050.ino @@ -1,5 +1,5 @@ /* - xsns_32_mpu6050.ino - MPU6050 gyroscope and temperature sensor support for Sonoff-Tasmota + xsns_32_mpu6050.ino - MPU6050 gyroscope and temperature sensor support for Tasmota Copyright (C) 2019 Oliver Welter diff --git a/sonoff/xsns_33_ds3231.ino b/sonoff/xsns_33_ds3231.ino index ef2acfbd4..6fa9a6a54 100644 --- a/sonoff/xsns_33_ds3231.ino +++ b/sonoff/xsns_33_ds3231.ino @@ -1,5 +1,5 @@ /* - xsns_33_ds3231.ino - ds3231 RTC chip, act like sensor support for Sonoff-Tasmota + xsns_33_ds3231.ino - ds3231 RTC chip, act like sensor support for Tasmota Copyright (C) 2019 Guy Elgabsi (guy.elg AT gmail.com) diff --git a/sonoff/xsns_34_hx711.ino b/sonoff/xsns_34_hx711.ino index 28e8d253c..1ba029f91 100644 --- a/sonoff/xsns_34_hx711.ino +++ b/sonoff/xsns_34_hx711.ino @@ -1,5 +1,5 @@ /* - xsns_34_hx711.ino - HX711 load cell support for Sonoff-Tasmota + xsns_34_hx711.ino - HX711 load cell support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_35_tx20.ino b/sonoff/xsns_35_tx20.ino index ee3fca596..cc072d6ac 100644 --- a/sonoff/xsns_35_tx20.ino +++ b/sonoff/xsns_35_tx20.ino @@ -1,5 +1,5 @@ /* - xsns_35_Tx20.ino - La Crosse Tx20 wind sensor support for Sonoff-Tasmota + xsns_35_Tx20.ino - La Crosse Tx20 wind sensor support for Tasmota Copyright (C) 2019 Thomas Eckerstorfer and Theo Arends diff --git a/sonoff/xsns_36_mgc3130.ino b/sonoff/xsns_36_mgc3130.ino index 055126c6d..1a545f614 100644 --- a/sonoff/xsns_36_mgc3130.ino +++ b/sonoff/xsns_36_mgc3130.ino @@ -1,5 +1,5 @@ /* - xsns_36_MGC3130.ino - Support for I2C MGC3130 Electric Field Sensor for Sonoff-Tasmota + xsns_36_MGC3130.ino - Support for I2C MGC3130 Electric Field Sensor for Tasmota Copyright (C) 2019 Christian Baars & Theo Arends diff --git a/sonoff/xsns_37_rfsensor.ino b/sonoff/xsns_37_rfsensor.ino index b5d3d6956..c3fb26a09 100644 --- a/sonoff/xsns_37_rfsensor.ino +++ b/sonoff/xsns_37_rfsensor.ino @@ -1,5 +1,5 @@ /* - xsns_37_rfsensor.ino - RF sensor receiver for Sonoff-Tasmota + xsns_37_rfsensor.ino - RF sensor receiver for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_38_az7798.ino b/sonoff/xsns_38_az7798.ino index e27a44bad..b1410bb5d 100644 --- a/sonoff/xsns_38_az7798.ino +++ b/sonoff/xsns_38_az7798.ino @@ -1,5 +1,5 @@ /* - xsns_38_az7798.ino - AZ_Instrument 7798 CO2/temperature/humidity meter support for Sonoff-Tasmota + xsns_38_az7798.ino - AZ_Instrument 7798 CO2/temperature/humidity meter support for Tasmota Copyright (C) 2019 Theo Arends @@ -38,7 +38,7 @@ * WeMos D1 Mini is powered from the incoming 5V. * * This implementation was derived from xsns_15_mhz19.ino from - * Sonoff-Tasmota-6.3.0 by Arthur de Beun. + * Tasmota-6.3.0 by Arthur de Beun. * * The serial comms protocol is not publicly documented, that I could find. * The info below was obtained by reverse-engineering. diff --git a/sonoff/xsns_39_max31855.ino b/sonoff/xsns_39_max31855.ino index 4f04c62db..22f649790 100644 --- a/sonoff/xsns_39_max31855.ino +++ b/sonoff/xsns_39_max31855.ino @@ -1,5 +1,5 @@ /* - xsns_39_max31855.ino - MAX31855 thermocouple sensor support for Sonoff-Tasmota + xsns_39_max31855.ino - MAX31855 thermocouple sensor support for Tasmota Copyright (C) 2019 Markus Past diff --git a/sonoff/xsns_40_pn532.ino b/sonoff/xsns_40_pn532.ino index 333ae7524..73f33929f 100644 --- a/sonoff/xsns_40_pn532.ino +++ b/sonoff/xsns_40_pn532.ino @@ -1,5 +1,5 @@ /* - xsns_40_pn532.ino - Support for PN532 (HSU) NFC Tag Reader + xsns_40_pn532.ino - Support for PN532 (HSU) NFC Tag Reader on Tasmota Copyright (C) 2019 Andre Thomas and Theo Arends diff --git a/sonoff/xsns_41_max44009.ino b/sonoff/xsns_41_max44009.ino index 28cca15ca..87045eda7 100644 --- a/sonoff/xsns_41_max44009.ino +++ b/sonoff/xsns_41_max44009.ino @@ -1,5 +1,5 @@ /* - xsns_41_max44009.ino - MAX44009 ambient light sensor support for Sonoff-Tasmota + xsns_41_max44009.ino - MAX44009 ambient light sensor support for Tasmota Copyright (C) 2019 Theo Arends diff --git a/sonoff/xsns_42_scd30.ino b/sonoff/xsns_42_scd30.ino index 2c8db00e4..5f629eb91 100644 --- a/sonoff/xsns_42_scd30.ino +++ b/sonoff/xsns_42_scd30.ino @@ -1,5 +1,5 @@ /* - xsns_42_scd30.ino - SC30 CO2 sensor support for Sonoff-Tasmota + xsns_42_scd30.ino - SC30 CO2 sensor support for Tasmota Copyright (C) 2019 Frogmore42 diff --git a/sonoff/xsns_44_sps30.ino b/sonoff/xsns_44_sps30.ino index 20dc8a8f0..3bc297661 100644 --- a/sonoff/xsns_44_sps30.ino +++ b/sonoff/xsns_44_sps30.ino @@ -1,5 +1,5 @@ /* - xsns_44_sps30.ino - Sensirion SPS30 + xsns_44_sps30.ino - Sensirion SPS30 support for Tasmota Copyright (C) 2019 Gerhard Mutz and Theo Arends diff --git a/sonoff/xsns_45_vl53l0x.ino b/sonoff/xsns_45_vl53l0x.ino index ce30460b7..e5e55c153 100755 --- a/sonoff/xsns_45_vl53l0x.ino +++ b/sonoff/xsns_45_vl53l0x.ino @@ -1,5 +1,5 @@ /* - xsns_99_vl53l0x.ino - VL53L0X + xsns_99_vl53l0x.ino - VL53L0X support for Tasmota Copyright (C) 2018 Theo Arends and Gerhard Mutz diff --git a/sonoff/xsns_47_max31865.ino b/sonoff/xsns_47_max31865.ino index 6383ecaa3..7416bb4a6 100644 --- a/sonoff/xsns_47_max31865.ino +++ b/sonoff/xsns_47_max31865.ino @@ -1,5 +1,5 @@ /* - xsns_39_MAX31865.ino - MAX31865 thermocouple sensor support for Sonoff-Tasmota + xsns_39_MAX31865.ino - MAX31865 thermocouple sensor support for Tasmota Copyright (C) 2019 Alberto Lopez Siemens diff --git a/sonoff/xsns_48_chirp.ino b/sonoff/xsns_48_chirp.ino index c2bf08f1d..57a086eae 100644 --- a/sonoff/xsns_48_chirp.ino +++ b/sonoff/xsns_48_chirp.ino @@ -1,5 +1,5 @@ /* - xsns_48_chirp.ino - soil moisture sensor support for Sonoff-Tasmota + xsns_48_chirp.ino - soil moisture sensor support for Tasmota Copyright (C) 2019 Theo Arends & Christian Baars @@ -27,7 +27,7 @@ added - now really support the (slower) CHIRP!-Sensor --- 1.0.0.0 20190608 started - further development by Christian Baars - https://github.com/Staars/Sonoff-Tasmota - forked - from arendst/tasmota - https://github.com/arendst/Sonoff-Tasmota + forked - from arendst/tasmota - https://github.com/arendst/Tasmota base - code base from arendst and - https://github.com/Miceuz/i2c-moisture-sensor */ @@ -38,7 +38,7 @@ /*********************************************************************************************\ * CHIRP - Chirp!-sensor and I2C-soil-moisture-sensor * !! The I2C-soil-moisture-sensor is the preferred one !! - * + * * I2C Address: 0x20 - standard address, is changeable \*********************************************************************************************/ @@ -94,7 +94,7 @@ enum CHIRP_Commands { // commands useable in con void ChirpWriteI2CRegister(uint8_t addr, uint8_t reg) { Wire.beginTransmission(addr); Wire.write(reg); - Wire.endTransmission(); + Wire.endTransmission(); } // now the original CHIRP needs 1100 ms delay uint16_t ChirpFinishReadI2CRegister16bit(uint8_t addr) { @@ -138,7 +138,7 @@ void ChirpReset(uint8_t addr) { void ChirpResetAll(void) { for (uint32_t i = 0; i < chirp_found_sensors; i++) { - if (chirp_sensor[i].version) { + if (chirp_sensor[i].version) { ChirpReset(chirp_sensor[i].address); } } @@ -160,7 +160,7 @@ void ChirpSleep(uint8_t addr) { // void ChirpSleepAll(void) { // for (uint32_t i = 0; i < chirp_found_sensors; i++) { -// if (chirp_sensor[i].version) { +// if (chirp_sensor[i].version) { // ChirpSleep(chirp_sensor[i].address); // } // } @@ -170,7 +170,7 @@ void ChirpSleep(uint8_t addr) { // void ChirpAutoWakeAll(void) { // for (uint32_t i = 0; i < chirp_found_sensors; i++) { -// if (chirp_sensor[i].version && !chirp_sensor[i].explicitSleep) { +// if (chirp_sensor[i].version && !chirp_sensor[i].explicitSleep) { // ChirpReadVersion(chirp_sensor[i].address); // } // } @@ -200,8 +200,8 @@ bool ChirpSet(uint8_t addr) { if(addr < 128){ if (I2cWrite8(chirp_sensor[chirp_current].address, CHIRP_SET_ADDRESS, addr)){ if(chirp_sensor[chirp_current].version>0x25 && chirp_sensor[chirp_current].version != 255){ - delay(5); - I2cWrite8(chirp_sensor[chirp_current].address, CHIRP_SET_ADDRESS, addr); + delay(5); + I2cWrite8(chirp_sensor[chirp_current].address, CHIRP_SET_ADDRESS, addr); // two calls are needed for sensor firmware version 2.6, but maybe dangerous before } DEBUG_SENSOR_LOG(PSTR("CHIRP: Wrote adress %u "), addr); @@ -231,7 +231,7 @@ bool ChirpScan() { delay(2); chirp_sensor[chirp_found_sensors].version = ChirpReadVersion(address); if(chirp_sensor[chirp_found_sensors].version > 0) { - AddLog_P2(LOG_LEVEL_DEBUG, S_LOG_I2C_FOUND_AT, "CHIRP:", address); + AddLog_P2(LOG_LEVEL_DEBUG, S_LOG_I2C_FOUND_AT, "CHIRP:", address); if(chirp_found_sensors no temperature - WSContentSend_PD(HTTP_SNS_TEMP, " ",str_temperature, TempUnit()); + WSContentSend_PD(HTTP_SNS_TEMP, " ",str_temperature, TempUnit()); } } - + #endif // USE_WEBSERVER } } - } + } } /*********************************************************************************************\ @@ -491,9 +491,9 @@ bool ChirpCmd(void) { else { if (command_code == CMND_CHIRP_SELECT) { ChirpSelect(255); } //show active sensor Response_P(S_JSON_CHIRP_COMMAND, command, XdrvMailbox.payload); - } + } break; - case CMND_CHIRP_SCAN: + case CMND_CHIRP_SCAN: case CMND_CHIRP_SLEEP: case CMND_CHIRP_WAKE: case CMND_CHIRP_RESET: @@ -502,7 +502,7 @@ bool ChirpCmd(void) { if (command_code == CMND_CHIRP_SLEEP) { chirp_sensor[chirp_current].explicitSleep = true; // we do not touch this sensor in the read functions ChirpSleep(chirp_sensor[chirp_current].address); } if (command_code == CMND_CHIRP_WAKE) { chirp_sensor[chirp_current].explicitSleep = false; // back in action - ChirpReadVersion(chirp_sensor[chirp_current].address); } // just use read version as wakeup call + ChirpReadVersion(chirp_sensor[chirp_current].address); } // just use read version as wakeup call if (command_code == CMND_CHIRP_RESET) { ChirpReset(chirp_sensor[chirp_current].address); } Response_P(S_JSON_CHIRP_COMMAND, command, XdrvMailbox.payload); break; @@ -523,7 +523,7 @@ bool Xsns48(uint8_t function) { bool result = false; - if (i2c_flg) { + if (i2c_flg) { switch (function) { case FUNC_INIT: ChirpDetect(); // We can call CHIRPSCAN later to re-detect @@ -531,10 +531,10 @@ bool Xsns48(uint8_t function) case FUNC_EVERY_100_MSECOND: if(chirp_found_sensors > 0){ ChirpEvery100MSecond(); - } + } break; case FUNC_COMMAND: - result = ChirpCmd(); + result = ChirpCmd(); break; case FUNC_JSON_APPEND: ChirpShow(1); diff --git a/sonoff/xsns_50_paj7620.ino b/sonoff/xsns_50_paj7620.ino index 165d6b649..d12ba0900 100644 --- a/sonoff/xsns_50_paj7620.ino +++ b/sonoff/xsns_50_paj7620.ino @@ -1,5 +1,5 @@ /* - xsns_50_paj7620.ino - gesture sensor support for Sonoff-Tasmota + xsns_50_paj7620.ino - gesture sensor support for Tasmota Copyright (C) 2019 Theo Arends & Christian Baars @@ -23,7 +23,7 @@ --- 1.0.0.0 20190808 started - further development by Christian Baars - https://github.com/Staars/Sonoff-Tasmota - forked - from arendst/tasmota - https://github.com/arendst/Sonoff-Tasmota + forked - from arendst/tasmota - https://github.com/arendst/Tasmota base - code base from arendst and - https://github.com/Seeed-Studio/Gesture_PAJ7620 */ @@ -33,7 +33,7 @@ /*********************************************************************************************\ * PAJ7620 - Gesture sensor - * + * * I2C Address: 0x73 - standard address \*********************************************************************************************/ @@ -43,7 +43,7 @@ #define PAJ7620_BANK_SEL 0xEF // 8 bit, write -> 0 or 1 -// the registers are organized in 2 banks +// the registers are organized in 2 banks // bank: 0 #define PAJ7620_GET_GESTURE 0x43 // 8 bit, read #define PAJ7620_PROXIMITY_AVG_Y 0x6c // 8 bit, read -> 255: near , lower numbers: far @@ -63,7 +63,7 @@ // bank: 1 // nothing at the moment -const uint8_t PAJ7620initRegisterArray[][2] PROGMEM = { // set all needed registers +const uint8_t PAJ7620initRegisterArray[][2] PROGMEM = { // set all needed registers {0xEF,0x00}, // bank 0 {0x32,0x29}, {0x33,0x01}, {0x34,0x00}, {0x35,0x01}, {0x36,0x00}, {0x37,0x07}, {0x38,0x17}, {0x39,0x06}, {0x3A,0x12}, {0x3F,0x00}, {0x40,0x02}, {0x41,0xFF}, {0x42,0x01}, {0x46,0x2D}, {0x47,0x0F}, {0x48,0x3C}, @@ -148,7 +148,7 @@ char PAJ7620_name[9]; uint32_t PAJ7620_timeout_counter = 10; // the time interval is 100 ms -> i.e. 10 is 1 second (= start up interval) uint32_t PAJ7620_next_job = 0; // 0 = detect, 1 = init, 2 = wait for gesture, 255 = sensor not found and do nothing -uint32_t PAJ7620_mode = 1; // 0 = mute, 1 = gestures only, 2 = gestures, 3 = corner, 4 = PIN, 5 = xy +uint32_t PAJ7620_mode = 1; // 0 = mute, 1 = gestures only, 2 = gestures, 3 = corner, 4 = PIN, 5 = xy struct { uint8_t current; @@ -160,7 +160,7 @@ struct { bool PAJ7620_finished_gesture = false; char PAJ7620_currentGestureName[6]; -struct{ +struct{ uint8_t x; uint8_t y; uint8_t last_x; @@ -279,7 +279,7 @@ void PAJ7620ReadGesture(void){ DEBUG_SENSOR_LOG(PSTR("PAJ7620: gesture: %u"),PAJ7620_gesture.current ); PAJ7620DecodeGesture(); } - + break; case 2: PAJ7620_state.proximity = I2cRead8(PAJ7620_ADDR, PAJ7620_PROXIMITY_AVG_Y); @@ -306,7 +306,7 @@ void PAJ7620ReadGesture(void){ // --- // 3|4 switch(PAJ7620_state.y){ - case 0: case 1: case 2: case 3: case 4: case 5:// case 0..5: would be nicer + case 0: case 1: case 2: case 3: case 4: case 5:// case 0..5: would be nicer PAJ7620_state.corner = 3; break; case 9: case 10: case 11: case 12: case 13: case 14: @@ -315,7 +315,7 @@ void PAJ7620ReadGesture(void){ default: break; } - if(PAJ7620_state.corner!=0){ + if(PAJ7620_state.corner!=0){ switch(PAJ7620_state.x){ case 0: case 1: case 2: case 3: case 4: case 5: break; @@ -373,7 +373,7 @@ void PAJ7620Detect(void) uint8_t PAJ7620_ver = I2cRead8(PAJ7620_ADDR,2); if (PAJ7620_id == 0x7620) { // this device ID makes sense ;) AddLog_P2(LOG_LEVEL_DEBUG, PSTR("PAJ7620: sensor found with ID: 0x%x and VER: %u"), PAJ7620_id, PAJ7620_ver); - uint8_t PAJ7620_model = 0; + uint8_t PAJ7620_model = 0; GetTextIndexed(PAJ7620_name, sizeof(PAJ7620_name), PAJ7620_model, kPAJ7620Types); PAJ7620_next_job = 1; // now init } @@ -391,7 +391,7 @@ void PAJ7620Init(void) uint32_t raw; uint8_t reg_val[4]; } buf; - for(uint32_t i = 0; i < (sizeof(PAJ7620initRegisterArray)/2); i+=2) + for(uint32_t i = 0; i < (sizeof(PAJ7620initRegisterArray)/2); i+=2) { buf.raw = pgm_read_dword(PAJ7620initRegisterArray+i); DEBUG_SENSOR_LOG("%x %x %x %x",buf.reg_val[0],buf.reg_val[1],buf.reg_val[2],buf.reg_val[3]); @@ -519,12 +519,12 @@ void PAJ7620Show(bool json) bool PAJ7620Cmd(void) { bool serviced = true; if (XdrvMailbox.data_len > 0) { - DEBUG_SENSOR_LOG(PSTR("PAJ7620: got argument for mode")); + DEBUG_SENSOR_LOG(PSTR("PAJ7620: got argument for mode")); PAJ7620SelectMode(XdrvMailbox.payload); //select mode Response_P(S_JSON_PAJ7620_COMMAND_NVALUE, XdrvMailbox.command, XdrvMailbox.payload); } else { - DEBUG_SENSOR_LOG(PSTR("PAJ7620: show mode")); + DEBUG_SENSOR_LOG(PSTR("PAJ7620: show mode")); Response_P(S_JSON_PAJ7620_COMMAND_NVALUE, XdrvMailbox.command, PAJ7620_mode); } return serviced; @@ -538,15 +538,15 @@ bool Xsns50(uint8_t function) { bool result = false; - if (i2c_flg) { + if (i2c_flg) { switch (function) { case FUNC_INIT: - DEBUG_SENSOR_LOG(PSTR("PAJ7620: 1 second until init")); + DEBUG_SENSOR_LOG(PSTR("PAJ7620: 1 second until init")); break; case FUNC_COMMAND_SENSOR: if (XSNS_50 == XdrvMailbox.index){ result = PAJ7620Cmd(); - } + } break; case FUNC_EVERY_100_MSECOND: if(PAJ7620_next_job <255) { diff --git a/sonoff/xsns_51_rdm6300.ino b/sonoff/xsns_51_rdm6300.ino index 2a42b2a08..303799ed5 100644 --- a/sonoff/xsns_51_rdm6300.ino +++ b/sonoff/xsns_51_rdm6300.ino @@ -1,5 +1,5 @@ /* - xsns_51_rdm6300.ino - Support for RDM6300 NFC Tag Reader + xsns_51_rdm6300.ino - Support for RDM6300 NFC Tag Reader on Tasmota Copyright (C) 2019 Gerhard Mutz and Theo Arends diff --git a/sonoff/xsns_52_ibeacon.ino b/sonoff/xsns_52_ibeacon.ino index 1df541d82..f27ff3146 100644 --- a/sonoff/xsns_52_ibeacon.ino +++ b/sonoff/xsns_52_ibeacon.ino @@ -1,5 +1,5 @@ /* - xsns_52_ibeacon.ino - Support for HM17 BLE Module + ibeacon reader + xsns_52_ibeacon.ino - Support for HM17 BLE Module + ibeacon reader on Tasmota Copyright (C) 2019 Gerhard Mutz and Theo Arends diff --git a/sonoff/xsns_53_sml.ino b/sonoff/xsns_53_sml.ino index 158296e14..76c61b317 100644 --- a/sonoff/xsns_53_sml.ino +++ b/sonoff/xsns_53_sml.ino @@ -1,5 +1,5 @@ /* - xsns_53_sml.ino - SML,OBIS,EBUS,RAW,COUNTER interface for Sonoff-Tasmota + xsns_53_sml.ino - SML,OBIS,EBUS,RAW,COUNTER interface for Tasmota Created by Gerhard Mutz on 07.10.11. adapted for Tasmota diff --git a/sonoff/xsns_54_ina226.ino b/sonoff/xsns_54_ina226.ino index 9fc48c83b..b7129c557 100644 --- a/sonoff/xsns_54_ina226.ino +++ b/sonoff/xsns_54_ina226.ino @@ -1,5 +1,5 @@ /* - xsns_54_ina226.ino - INA226 Current Sensor support for Sonoff-Tasmota + xsns_54_ina226.ino - INA226 Current Sensor support for Tasmota Copyright (C) 2019 Stephen Rodgers and Theo Arends diff --git a/sonoff/xsns_interface.ino b/sonoff/xsns_interface.ino index cf469f930..222e3ecd6 100644 --- a/sonoff/xsns_interface.ino +++ b/sonoff/xsns_interface.ino @@ -1,5 +1,5 @@ /* - xsns_interface.ino - Sensor interface support for Sonoff-Tasmota + xsns_interface.ino - Sensor interface support for Tasmota Copyright (C) 2019 Theo Arends inspired by ESPEasy