Happy New Year

Happy New Year
This commit is contained in:
Theo Arends 2019-12-31 14:23:34 +01:00
parent f013bd4f34
commit 8aa9109656
185 changed files with 263 additions and 260 deletions

View File

@ -1,7 +1,7 @@
/* /*
TasmotaModbus.cpp - Basic modbus wrapper for TasmotaSerial for Tasmota TasmotaModbus.cpp - Basic modbus wrapper for TasmotaSerial for Tasmota
Copyright (C) 2018 Theo Arends Copyright (C) 2020 Theo Arends
This library is free software: you can redistribute it and/or modify This library is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
TasmotaModbus.h - Basic modbus wrapper for TasmotaSerial for Tasmota TasmotaModbus.h - Basic modbus wrapper for TasmotaSerial for Tasmota
Copyright (C) 2018 Theo Arends Copyright (C) 2020 Theo Arends
This library is free software: you can redistribute it and/or modify This library is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
TasmotaSerial.cpp - Minimal implementation of software serial for Tasmota TasmotaSerial.cpp - Minimal implementation of software serial for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This library is free software: you can redistribute it and/or modify This library is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
TasmotaSerial.h - Minimal implementation of software serial for Tasmota TasmotaSerial.h - Minimal implementation of software serial for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This library is free software: you can redistribute it and/or modify This library is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
i18n.h - internationalization for Tasmota i18n.h - internationalization for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
bg-BG.h - localization for Bulgaria - Bulgarian for Tasmota bg-BG.h - localization for Bulgaria - Bulgarian for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
cs-CZ.h - localization for Czech with diacritics - Czech for Tasmota cs-CZ.h - localization for Czech with diacritics - Czech for Tasmota
Copyright (C) 2019 Vladimír Synek Copyright (C) 2020 Vladimír Synek
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
de-DE.h - localization for German - Germany for Tasmota de-DE.h - localization for German - Germany for Tasmota
Copyright (C) 2019 VinceMasuka Copyright (C) 2020 VinceMasuka
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
el-GR.h - localization for Greek - Greece for Tasmota el-GR.h - localization for Greek - Greece for Tasmota
Copyright (C) 2019 Theo Arends, translated by Nick Galfas Copyright (C) 2020 Theo Arends, translated by Nick Galfas
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
en-GB.h - localization for English - United Kingdom for Tasmota en-GB.h - localization for English - United Kingdom for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
es-ES.h - localization for Spanish - Spain for Tasmota es-ES.h - localization for Spanish - Spain for Tasmota
Copyright (C) 2019 Adrian Scillato Copyright (C) 2020 Adrian Scillato
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
fr-FR.h - localization for French - France for Tasmota fr-FR.h - localization for French - France for Tasmota
Copyright (C) 2019 Olivier Francais Copyright (C) 2020 Olivier Francais
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
he-HE.h - localization for Hebrew - Israel for Tasmota he-HE.h - localization for Hebrew - Israel for Tasmota
Copyright (C) 2019 Yuval Mejahez Copyright (C) 2020 Yuval Mejahez
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
hu-HU.h - localization for Hungarian in Hungary for Tasmota hu-HU.h - localization for Hungarian in Hungary for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
it-IT.h - localization for Italian - Italy for Tasmota it-IT.h - localization for Italian - Italy for Tasmota
Copyright (C) 2019 Gennaro Tortone - some mods by Antonio Fragola Copyright (C) 2020 Gennaro Tortone - some mods by Antonio Fragola
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
ko-KO.h - localization for Korean - Korean for Tasmota ko-KO.h - localization for Korean - Korean for Tasmota
Copyright (C) 2019 Theo Arends (translated by NyaamZ) Copyright (C) 2020 Theo Arends (translated by NyaamZ)
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
nl-NL.h - localization for Dutch - Nederland for Tasmota nl-NL.h - localization for Dutch - Nederland for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
pl-PL-d.h - localization for Polish with diacritics - Poland for 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) Copyright (C) 2020 Theo Arends (translated by roblad - Robert L., upgraded by R. Turala)
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
pt-BR.h - localization for Portuguese - Brazil for Tasmota pt-BR.h - localization for Portuguese - Brazil for Tasmota
Copyright (C) 2019 Fabiano Bovo Copyright (C) 2020 Fabiano Bovo
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
pt-PT.h - localization for Portuguese - Portugal for Tasmota pt-PT.h - localization for Portuguese - Portugal for Tasmota
Copyright (C) 2019 Paulo Paiva Copyright (C) 2020 Paulo Paiva
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
ru-RU.h - localization for Russian - Rissia for Tasmota ru-RU.h - localization for Russian - Rissia for Tasmota
Copyright (C) 2019 Theo Arends / roman-vn Copyright (C) 2020 Theo Arends / roman-vn
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
sk-SK.h - localization for Slovak with diacritics - Slovak for Tasmota sk-SK.h - localization for Slovak with diacritics - Slovak for Tasmota
Copyright (C) 2019 Vladimír Jendroľ Copyright (C) 2020 Vladimír Jendroľ
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
sv-SE.h - localization for Swedish - Svenska for Tasmota sv-SE.h - localization for Swedish - Svenska for Tasmota
Copyright (C) 2019 Gunnar Norin Copyright (C) 2020 Gunnar Norin
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
tr-TR.h - localization for Turkish - Turkey for Tasmota tr-TR.h - localization for Turkish - Turkey for Tasmota
Copyright (C) 2019 Ali Sait Teke and Theo Arends Copyright (C) 2020 Ali Sait Teke and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
uk-UA.h - localization for Ukrainian - Ukraine for Tasmota uk-UA.h - localization for Ukrainian - Ukraine for Tasmota
Copyright (C) 2019 Theo Arends / vadym-adik Copyright (C) 2020 Theo Arends / vadym-adik
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
zh-CN.h - localization for Chinese (Simplified) - China for Tasmota zh-CN.h - localization for Chinese (Simplified) - China for Tasmota
Copyright (C) 2019 Theo Arends (translated by killadm) Copyright (C) 2020 Theo Arends (translated by killadm)
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
zh-TW.h - localization for Chinese (Traditional) - Taiwan for Tasmota zh-TW.h - localization for Chinese (Traditional) - Taiwan for Tasmota
Copyright (C) 2019 Theo Arends (translated by dannydu) Copyright (C) 2020 Theo Arends (translated by dannydu)
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
my_user_config.h - user specific configuration for Tasmota my_user_config.h - user specific configuration for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
settings.h - setting variables for Tasmota settings.h - setting variables for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
settings.ino - user settings for Tasmota settings.ino - user settings for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support.ino - support for Tasmota support.ino - support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_button.ino - button support for Tasmota support_button.ino - button support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_command.ino - command support for Tasmota support_command.ino - command support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_crash_recorder.ino - record the call stack in RTC in case of crash support_crash_recorder.ino - record the call stack in RTC in case of crash
Copyright (C) 2019 Stephan Hadinger, Theo Arends, Copyright (C) 2020 Stephan Hadinger, Theo Arends,
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_esptool.ino - esptool support for Tasmota support_esptool.ino - esptool support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_features.ino - feature support for Tasmota support_features.ino - feature support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_flash_log.ino - log to flash support for Sonoff-Tasmota support_flash_log.ino - log to flash support for Sonoff-Tasmota
Copyright (C) 2019 Theo Arends & Christian Baars Copyright (C) 2020 Theo Arends & Christian Baars
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
@ -30,8 +30,8 @@
/********************************************************************************************\ /********************************************************************************************\
| * Generic helper class to log arbitrary data to the OTA-partition | * Generic helper class to log arbitrary data to the OTA-partition
| * Working principle: Add preferrable small chunks of data to the sector buffer, which will | * Working principle: Add preferrable small chunks of data to the sector buffer, which will
| * be written to FLASH when full automatically. The next sector will be | * be written to FLASH when full automatically. The next sector will be
| * erased and is the anchor point for downloading and state configuration | * erased and is the anchor point for downloading and state configuration
| * after reboot. | * after reboot.
\*********************************************************************************************/ \*********************************************************************************************/
@ -93,7 +93,7 @@ public:
void startRecording(bool append); void startRecording(bool append);
void stopRecording(void); void stopRecording(void);
typedef void (*CallbackNoArgs) (); // simple typedef for a callback typedef void (*CallbackNoArgs) (); // simple typedef for a callback
typedef void (*CallbackWithArgs) (uint8_t *_record); // typedef for a callback with one argument typedef void (*CallbackWithArgs) (uint8_t *_record); // typedef for a callback with one argument
void startDownload(size_t size, CallbackNoArgs sendHeader, CallbackWithArgs sendRecord, CallbackNoArgs sendFooter); void startDownload(size_t size, CallbackNoArgs sendHeader, CallbackWithArgs sendRecord, CallbackNoArgs sendFooter);
@ -129,41 +129,41 @@ ready = true;
} }
/********************************************************************************************\ /********************************************************************************************\
| * | *
| * private helper functions | * private helper functions
| * | *
\*********************************************************************************************/ \*********************************************************************************************/
/** /**
* @brief Read a sector into the global buffer * @brief Read a sector into the global buffer
* *
* @param one_sector as an uint8_t * @param one_sector as an uint8_t
*/ */
void FLOG::_readSector(uint8_t one_sector){ void FLOG::_readSector(uint8_t one_sector){
DEBUG_SENSOR_LOG(PSTR("FLOG: read sector number: %u" ), one_sector); DEBUG_SENSOR_LOG(PSTR("FLOG: read sector number: %u" ), one_sector);
ESP.flashRead(start+(one_sector * FLASH_SECTOR_SIZE),(uint32_t *)&sector.dword_buffer, FLASH_SECTOR_SIZE); ESP.flashRead(start+(one_sector * FLASH_SECTOR_SIZE),(uint32_t *)&sector.dword_buffer, FLASH_SECTOR_SIZE);
} }
/** /**
* @brief Erase the given sector og the OTA-partition * @brief Erase the given sector og the OTA-partition
* *
* @param one_sector as an uint8_t * @param one_sector as an uint8_t
*/ */
void FLOG::_eraseSector(uint8_t one_sector){ // Erase sector of FLOG/OTA void FLOG::_eraseSector(uint8_t one_sector){ // Erase sector of FLOG/OTA
DEBUG_SENSOR_LOG(PSTR("FLOG: erasing sector number: %u" ), one_sector); DEBUG_SENSOR_LOG(PSTR("FLOG: erasing sector number: %u" ), one_sector);
ESP.flashEraseSector((start/FLASH_SECTOR_SIZE)+one_sector); ESP.flashEraseSector((start/FLASH_SECTOR_SIZE)+one_sector);
} }
/** /**
* @brief Write the global buffer to the given sector * @brief Write the global buffer to the given sector
* *
* @param one_sector as an uint8_t * @param one_sector as an uint8_t
*/ */
void FLOG::_writeSector(uint8_t one_sector){ // Write sector of FLOG/OTA void FLOG::_writeSector(uint8_t one_sector){ // Write sector of FLOG/OTA
DEBUG_SENSOR_LOG(PSTR("FLOG: write buffer to sector number: %u" ), one_sector); DEBUG_SENSOR_LOG(PSTR("FLOG: write buffer to sector number: %u" ), one_sector);
ESP.flashWrite(start+(one_sector * FLASH_SECTOR_SIZE),(uint32_t *)&sector.dword_buffer, FLASH_SECTOR_SIZE); ESP.flashWrite(start+(one_sector * FLASH_SECTOR_SIZE),(uint32_t *)&sector.dword_buffer, FLASH_SECTOR_SIZE);
} }
/** /**
* @brief Clear the global buffer, but leave the header intact * @brief Clear the global buffer, but leave the header intact
* *
*/ */
void FLOG::_clearBuffer(){ //not the header void FLOG::_clearBuffer(){ //not the header
for (uint32_t i = sizeof(sector.header)/4; i<(sizeof(sector.dword_buffer)/4); i++){ for (uint32_t i = sizeof(sector.header)/4; i<(sizeof(sector.dword_buffer)/4); i++){
@ -174,7 +174,7 @@ void FLOG::_clearBuffer(){ //not the header
} }
/** /**
* @brief Write global buffer to FLASH and set the current sector to the next valid position, maybe to 0 * @brief Write global buffer to FLASH and set the current sector to the next valid position, maybe to 0
* *
*/ */
void FLOG::_saveBufferToSector(){ // save buffer to already erased(!) sector, erase next sector, clear buffer, increment number void FLOG::_saveBufferToSector(){ // save buffer to already erased(!) sector, erase next sector, clear buffer, increment number
DEBUG_SENSOR_LOG(PSTR("FLOG: write buffer to current sector: %u" ),current_sector); DEBUG_SENSOR_LOG(PSTR("FLOG: write buffer to current sector: %u" ),current_sector);
@ -193,7 +193,7 @@ void FLOG::_saveBufferToSector(){ // save buffer to already erased(!) sector, er
/** /**
* @brief Typically after restart find the first erased sector as a starting point for further operations * @brief Typically after restart find the first erased sector as a starting point for further operations
* *
*/ */
void FLOG::_findFirstErasedSector(){ void FLOG::_findFirstErasedSector(){
for (uint32_t i = 0; i<num_sectors; i++){ for (uint32_t i = 0; i<num_sectors; i++){
@ -219,7 +219,7 @@ void FLOG::_findFirstErasedSector(){
} }
/** /**
* @brief Look at the sector before the first erased sector to check, if there could be saved data * @brief Look at the sector before the first erased sector to check, if there could be saved data
* *
*/ */
void FLOG::_searchSaves(void){ void FLOG::_searchSaves(void){
//check if old Data is present //check if old Data is present
@ -260,13 +260,13 @@ void FLOG::_searchSaves(void){
} }
/** /**
* @brief Start with a new buffer to be able to start a write session * @brief Start with a new buffer to be able to start a write session
* *
*/ */
void FLOG::_initBuffer(void){ void FLOG::_initBuffer(void){
if(!found_saved_data){ // we must re-init this, because the buffer is in an undefined state if(!found_saved_data){ // we must re-init this, because the buffer is in an undefined state
sector.header.physical_start_sector = (uint16_t)first_erased_sector; sector.header.physical_start_sector = (uint16_t)first_erased_sector;
} }
DEBUG_SENSOR_LOG(PSTR("FLOG: init header")); DEBUG_SENSOR_LOG(PSTR("FLOG: init header"));
sector.header.magic_word = MAGIC_WORD_FL; //F, L sector.header.magic_word = MAGIC_WORD_FL; //F, L
sector.header.number = 0; sector.header.number = 0;
sector.header.buf_pointer = (uint16_t)sizeof(sector.header); sector.header.buf_pointer = (uint16_t)sizeof(sector.header);
@ -276,15 +276,15 @@ void FLOG::_initBuffer(void){
} }
/** /**
* @brief - a pure debug function * @brief - a pure debug function
* *
*/ */
void FLOG::_showBuffer(void){ void FLOG::_showBuffer(void){
DEBUG_SENSOR_LOG(PSTR("FLOG: Header: %c %c"), sector.byte_buffer[0],sector.byte_buffer[1]); DEBUG_SENSOR_LOG(PSTR("FLOG: Header: %c %c"), sector.byte_buffer[0],sector.byte_buffer[1]);
DEBUG_SENSOR_LOG(PSTR("FLOG: V_Start_sector: %u, sector number: %u, pointer: %u "), sector.header.physical_start_sector, sector.header.number, sector.header.buf_pointer); DEBUG_SENSOR_LOG(PSTR("FLOG: V_Start_sector: %u, sector number: %u, pointer: %u "), sector.header.physical_start_sector, sector.header.number, sector.header.buf_pointer);
uint32_t j = 0; uint32_t j = 0;
for (uint32_t i = sector.header.buf_pointer-16; i<(sizeof(sector.byte_buffer)); i+=8){ for (uint32_t i = sector.header.buf_pointer-16; i<(sizeof(sector.byte_buffer)); i+=8){
// DEBUG_SENSOR_LOG(PSTR("FLOG: buffer: %c %c %c %c %c %c %c %c "), sector.byte_buffer[i], sector.byte_buffer[i+1], sector.byte_buffer[i+2], sector.byte_buffer[i+3], sector.byte_buffer[i+4], sector.byte_buffer[i+5], sector.byte_buffer[i+6], sector.byte_buffer[i+7]); // DEBUG_SENSOR_LOG(PSTR("FLOG: buffer: %c %c %c %c %c %c %c %c "), sector.byte_buffer[i], sector.byte_buffer[i+1], sector.byte_buffer[i+2], sector.byte_buffer[i+3], sector.byte_buffer[i+4], sector.byte_buffer[i+5], sector.byte_buffer[i+6], sector.byte_buffer[i+7]);
DEBUG_SENSOR_LOG(PSTR("FLOG: buffer: %u %u %u %u %u %u %u %u "), sector.byte_buffer[i], sector.byte_buffer[i+1], sector.byte_buffer[i+2], sector.byte_buffer[i+3], sector.byte_buffer[i+4], sector.byte_buffer[i+5], sector.byte_buffer[i+6], sector.byte_buffer[i+7]); DEBUG_SENSOR_LOG(PSTR("FLOG: buffer: %u %u %u %u %u %u %u %u "), sector.byte_buffer[i], sector.byte_buffer[i+1], sector.byte_buffer[i+2], sector.byte_buffer[i+3], sector.byte_buffer[i+4], sector.byte_buffer[i+5], sector.byte_buffer[i+6], sector.byte_buffer[i+7]);
j++; j++;
if(j>3){ if(j>3){
break; break;
@ -294,7 +294,7 @@ void FLOG::_showBuffer(void){
/** /**
* @brief pass a data entry/record as uint8_t array with its size * @brief pass a data entry/record as uint8_t array with its size
* *
* @param src uint8_t array * @param src uint8_t array
* @param size uint32_t size of the array * @param size uint32_t size of the array
*/ */
@ -327,7 +327,7 @@ void FLOG::addToBuffer(uint8_t src[], uint32_t size){
/** /**
* @brief shows that it is ready to accept recording * @brief shows that it is ready to accept recording
* *
* @param append - if true append to current log, else start a new log * @param append - if true append to current log, else start a new log
*/ */
void FLOG::startRecording(bool append){ void FLOG::startRecording(bool append){
@ -339,14 +339,14 @@ void FLOG::startRecording(bool append){
DEBUG_SENSOR_LOG(PSTR("FLOG: start recording")); DEBUG_SENSOR_LOG(PSTR("FLOG: start recording"));
_initBuffer(); _initBuffer();
if(!found_saved_data) { if(!found_saved_data) {
append = false; // nothing to append to, we silently start a new log append = false; // nothing to append to, we silently start a new log
} }
if(append){ if(append){
sector.header.number = _saved_header.number+1; // continue with the next number sector.header.number = _saved_header.number+1; // continue with the next number
sector.header.physical_start_sector = _saved_header.physical_start_sector; // keep the old start sector sector.header.physical_start_sector = _saved_header.physical_start_sector; // keep the old start sector
} }
else{ //new log, old data is lost else{ //new log, old data is lost
sector.header.physical_start_sector = (uint16_t)first_erased_sector; sector.header.physical_start_sector = (uint16_t)first_erased_sector;
found_saved_data = false; found_saved_data = false;
sectors_left = 0; sectors_left = 0;
} }
@ -354,7 +354,7 @@ void FLOG::startRecording(bool append){
/** /**
* @brief stop recording including saving current buffer to FLASH * @brief stop recording including saving current buffer to FLASH
* *
*/ */
void FLOG::stopRecording(void){ void FLOG::stopRecording(void){
_saveBufferToSector(); _saveBufferToSector();
@ -367,16 +367,16 @@ void FLOG::stopRecording(void){
/** /**
* @brief Will start a downloads, needs the correct implementation of 3 callback functions * @brief Will start a downloads, needs the correct implementation of 3 callback functions
* *
* @param size: size of the data entry/record in bytes, i.e. sizeof(myStruct) * @param size: size of the data entry/record in bytes, i.e. sizeof(myStruct)
* @param sendHeader: should implement at least something like: * @param sendHeader: should implement at least something like:
* @example WebServer->setContentLength(CONTENT_LENGTH_UNKNOWN); // This is very likely unknown!! * @example WebServer->setContentLength(CONTENT_LENGTH_UNKNOWN); // This is very likely unknown!!
* WebServer->sendHeader(F("Content-Disposition"), F("attachment; filename=myfile.txt")); * WebServer->sendHeader(F("Content-Disposition"), F("attachment; filename=myfile.txt"));
* @param sendRecord: will receive the memory address as "uint8_t* addr" and should consume the current entry/record * @param sendRecord: will receive the memory address as "uint8_t* addr" and should consume the current entry/record
* @example myStruct_t *entry = (myStruct_t*)addr; * @example myStruct_t *entry = (myStruct_t*)addr;
* Then make useful Strings and send it, i.e.: WebServer->sendContent_P(myString); * Then make useful Strings and send it, i.e.: WebServer->sendContent_P(myString);
* @param sendFooter: finish the download, should implement at least: * @param sendFooter: finish the download, should implement at least:
* @example WebServer->sendContent(""); * @example WebServer->sendContent("");
*/ */
void FLOG::startDownload(size_t size, CallbackNoArgs sendHeader, CallbackWithArgs sendRecord, CallbackNoArgs sendFooter){ void FLOG::startDownload(size_t size, CallbackNoArgs sendHeader, CallbackWithArgs sendRecord, CallbackNoArgs sendFooter){
@ -409,7 +409,7 @@ void FLOG::stopRecording(void){
else{ else{
bytes_left = 0; bytes_left = 0;
DEBUG_SENSOR_LOG(PSTR("FLOG: Flog->bytes_left not dividable by 8 ??????")); DEBUG_SENSOR_LOG(PSTR("FLOG: Flog->bytes_left not dividable by 8 ??????"));
} }
} }
next_sector++; next_sector++;
if(next_sector>num_sectors){ if(next_sector>num_sectors){
@ -420,7 +420,7 @@ void FLOG::stopRecording(void){
bytes_left = sector.header.buf_pointer - sizeof(sector.header); bytes_left = sector.header.buf_pointer - sizeof(sector.header);
OsWatchLoop(); OsWatchLoop();
delay(sleep); delay(sleep);
} }
running_download = false; running_download = false;
// Callback 3: create a footer or simply finish the download with an empty payload // Callback 3: create a footer or simply finish the download with an empty payload
sendFooter(); sendFooter();

View File

@ -1,7 +1,7 @@
/* /*
support_float.ino - Small floating point support for Tasmota support_float.ino - Small floating point support for Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_legacy_cores.ino - Legacy arduino core support for Tasmota support_legacy_cores.ino - Legacy arduino core support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_rotary.ino - rotary switch support for Tasmota support_rotary.ino - rotary switch support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_rtc.ino - Real Time Clock support for Tasmota support_rtc.ino - Real Time Clock support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_buffer.ino - Static binary buffer for Zigbee on Tasmota support_buffer.ino - Static binary buffer for Zigbee on Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_statistics.ino - gather statistics for Tasmota support_statistics.ino - gather statistics for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_switch.ino - switch support for Tasmota support_switch.ino - switch support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_tasmota.ino - Core support for Tasmota support_tasmota.ino - Core support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_udp.ino - Udp support for Tasmota support_udp.ino - Udp support for Tasmota
Copyright (C) 2019 Heiko Krupp and Theo Arends Copyright (C) 2020 Heiko Krupp and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
support_wifi.ino - wifi support for Tasmota support_wifi.ino - wifi support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
tasmota.h - Master header file for Tasmota tasmota.h - Master header file for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
tasmota.ino - Tasmota firmware for iTead Sonoff, Wemos and NodeMCU hardware tasmota.ino - Tasmota firmware for iTead Sonoff, Wemos and NodeMCU hardware
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
tasmota_ca.ino - Certificate authorities for Tasmota, LetsEncrypt and AWS tasmota_ca.ino - Certificate authorities for Tasmota, LetsEncrypt and AWS
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
tasmota_post.h - Post header file for Tasmota tasmota_post.h - Post header file for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
tasmota_template.h - template settings for Tasmota tasmota_template.h - template settings for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
tasmota_version.h - Version header file for Tasmota tasmota_version.h - Version header file for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
user_config_override.h - user configuration overrides my_user_config.h for Tasmota user_config_override.h - user configuration overrides my_user_config.h for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_01_webserver.ino - webserver for Tasmota xdrv_01_webserver.ino - webserver for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_02_mqtt.ino - mqtt support for Tasmota xdrv_02_mqtt.ino - mqtt support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_03_energy.ino - Energy sensor support for Tasmota xdrv_03_energy.ino - Energy sensor support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_04_light.ino - PWM, WS2812 and sonoff led support for Tasmota xdrv_04_light.ino - PWM, WS2812 and sonoff led support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
@ -1874,7 +1874,7 @@ void LightSetOutputs(const uint16_t *cur_col_10) {
char msg[24]; char msg[24];
AddLog_P2(LOG_LEVEL_DEBUG, PSTR("LGT: Channels %s"), AddLog_P2(LOG_LEVEL_DEBUG, PSTR("LGT: Channels %s"),
ToHex_P((const unsigned char *)cur_col_10, 10, msg, sizeof(msg))); ToHex_P((const unsigned char *)cur_col_10, 10, msg, sizeof(msg)));
uint8_t cur_col[LST_MAX]; uint8_t cur_col[LST_MAX];
for (uint32_t i = 0; i < LST_MAX; i++) { for (uint32_t i = 0; i < LST_MAX; i++) {
cur_col[i] = change10to8(cur_col_10[i]); cur_col[i] = change10to8(cur_col_10[i]);

View File

@ -1,7 +1,7 @@
/* /*
xdrv_05_irremote.ino - infra red support for Tasmota xdrv_05_irremote.ino - infra red support for Tasmota
Copyright (C) 2019 Heiko Krupp, Lazar Obradovic and Theo Arends Copyright (C) 2020 Heiko Krupp, Lazar Obradovic and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_05_irremote_full.ino - complete integration of IRremoteESP8266 for Tasmota xdrv_05_irremote_full.ino - complete integration of IRremoteESP8266 for Tasmota
Copyright (C) 2019 Heiko Krupp, Lazar Obradovic, Theo Arends, Stephan Hadinger Copyright (C) 2020 Heiko Krupp, Lazar Obradovic, Theo Arends, Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_06_snfbridge.ino - sonoff RF bridge 433 support for Tasmota xdrv_06_snfbridge.ino - sonoff RF bridge 433 support for Tasmota
Copyright (C) 2019 Theo Arends and Erik Andrén Zachrisson (fw update) Copyright (C) 2020 Theo Arends and Erik Andrén Zachrisson (fw update)
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_07_domoticz.ino - domoticz support for Tasmota xdrv_07_domoticz.ino - domoticz support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_08_serial_bridge.ino - serial bridge support for Tasmota xdrv_08_serial_bridge.ino - serial bridge support for Tasmota
Copyright (C) 2019 Theo Arends and Dániel Zoltán Tolnai Copyright (C) 2020 Theo Arends and Dániel Zoltán Tolnai
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_09_timers.ino - timer support for Tasmota xdrv_09_timers.ino - timer support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_10_rules.ino - rule support for Tasmota xdrv_10_rules.ino - rule support for Tasmota
Copyright (C) 2019 ESP Easy Group and Theo Arends Copyright (C) 2020 ESP Easy Group and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_10_scripter.ino - script support for Tasmota xdrv_10_scripter.ino - script support for Tasmota
Copyright (C) 2019 Gerhard Mutz and Theo Arends Copyright (C) 2020 Gerhard Mutz and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_11_knx.ino - KNX IP Protocol support for Tasmota xdrv_11_knx.ino - KNX IP Protocol support for Tasmota
Copyright (C) 2019 Adrian Scillato (https://github.com/ascillato) Copyright (C) 2020 Adrian Scillato (https://github.com/ascillato)
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_12_home_assistant.ino - home assistant support for Tasmota xdrv_12_home_assistant.ino - home assistant support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_13_display.ino - Display support for Tasmota xdrv_13_display.ino - Display support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_14_mp3.ino - MP3 support for Tasmota xdrv_14_mp3.ino - MP3 support for Tasmota
Copyright (C) 2019 gemu2015, mike2nl and Theo Arends Copyright (C) 2020 gemu2015, mike2nl and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_15_pca9685.ino - Support for I2C PCA9685 12bit 16 pin hardware PWM driver on Tasmota xdrv_15_pca9685.ino - Support for I2C PCA9685 12bit 16 pin hardware PWM driver on Tasmota
Copyright (C) 2019 Andre Thomas and Theo Arends Copyright (C) 2020 Andre Thomas and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_16_tuyamcu.ino - Tuya MCU support for Tasmota xdrv_16_tuyamcu.ino - Tuya MCU support for Tasmota
Copyright (C) 2019 digiblur, Joel Stein and Theo Arends Copyright (C) 2020 digiblur, Joel Stein and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_17_rcswitch.ino - RF transceiver using RcSwitch library for Tasmota xdrv_17_rcswitch.ino - RF transceiver using RcSwitch library for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_18_armtronix_dimmers.ino - Armtronix dimmers support for Tasmota xdrv_18_armtronix_dimmers.ino - Armtronix dimmers support for Tasmota
Copyright (C) 2019 wvdv2002 and Theo Arends Copyright (C) 2020 wvdv2002 and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_19_ps16dz.dimmer.ino - PS_16_DZ dimmer support for Tasmota xdrv_19_ps16dz.dimmer.ino - PS_16_DZ dimmer support for Tasmota
Copyright (C) 2019 Joel Stein and Theo Arends Copyright (C) 2020 Joel Stein and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_20_hue.ino - Philips Hue support for Tasmota xdrv_20_hue.ino - Philips Hue support for Tasmota
Copyright (C) 2019 Heiko Krupp and Theo Arends Copyright (C) 2020 Heiko Krupp and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_21_wemo.ino - wemo support for Tasmota xdrv_21_wemo.ino - wemo support for Tasmota
Copyright (C) 2019 Heiko Krupp and Theo Arends Copyright (C) 2020 Heiko Krupp and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_22_sonoff_ifan.ino - sonoff iFan02 and iFan03 support for Tasmota xdrv_22_sonoff_ifan.ino - sonoff iFan02 and iFan03 support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_23_zigbee_constants.ino - zigbee support for Tasmota xdrv_23_zigbee_constants.ino - zigbee support for Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_23_zigbee_1_headers.ino - zigbee support for Tasmota xdrv_23_zigbee_1_headers.ino - zigbee support for Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_23_zigbee.ino - zigbee support for Tasmota xdrv_23_zigbee.ino - zigbee support for Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_23_zigbee_converters.ino - zigbee support for Tasmota xdrv_23_zigbee_converters.ino - zigbee support for Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
@ -534,7 +534,7 @@ const Z_AttributeConverter Z_PostProcess[] PROGMEM = {
// { 0x0008, 0x0012, "OnTransitionTime", &Z_Copy }, // { 0x0008, 0x0012, "OnTransitionTime", &Z_Copy },
// { 0x0008, 0x0013, "OffTransitionTime", &Z_Copy }, // { 0x0008, 0x0013, "OffTransitionTime", &Z_Copy },
// { 0x0008, 0x0014, "DefaultMoveRate", &Z_Copy }, // { 0x0008, 0x0014, "DefaultMoveRate", &Z_Copy },
// Alarms cluster // Alarms cluster
{ 0x0009, 0x0000, "AlarmCount", &Z_Copy }, { 0x0009, 0x0000, "AlarmCount", &Z_Copy },
// Time cluster // Time cluster

View File

@ -1,7 +1,7 @@
/* /*
xdrv_23_zigbee_converters.ino - zigbee support for Tasmota xdrv_23_zigbee_converters.ino - zigbee support for Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_23_zigbee.ino - zigbee support for Tasmota xdrv_23_zigbee.ino - zigbee support for Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_23_zigbee.ino - zigbee support for Tasmota xdrv_23_zigbee.ino - zigbee support for Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_23_zigbee.ino - zigbee support for Tasmota xdrv_23_zigbee.ino - zigbee support for Tasmota
Copyright (C) 2019 Theo Arends and Stephan Hadinger Copyright (C) 2020 Theo Arends and Stephan Hadinger
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_24_Buzzer.ino - buzzer support for Tasmota xdrv_24_Buzzer.ino - buzzer support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -2,7 +2,7 @@
/* /*
xdrv_25_a4988_stepper.ino - A4988 StepMotorDriverCircuit- support for Tasmota xdrv_25_a4988_stepper.ino - A4988 StepMotorDriverCircuit- support for Tasmota
Copyright (C) 2019 Tim Leuscher and Theo Arends Copyright (C) 2020 Tim Leuscher and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_26_ariluxrf.ino - Arilux Rf support for Tasmota xdrv_26_ariluxrf.ino - Arilux Rf support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_27_shutter.ino - Shutter/Blind support for Tasmota xdrv_27_shutter.ino - Shutter/Blind support for Tasmota
Copyright (C) 2019 Stefan Bode Copyright (C) 2020 Stefan Bode
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_28_pcf8574.ino - PCF8574 I2C support for Tasmota xdrv_28_pcf8574.ino - PCF8574 I2C support for Tasmota
Copyright (C) 2019 Stefan Bode Copyright (C) 2020 Stefan Bode
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_29_deepsleep.ino - DeepSleep support for Tasmota xdrv_29_deepsleep.ino - DeepSleep support for Tasmota
Copyright (C) 2019 Stefan Bode Copyright (C) 2020 Stefan Bode
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_30_exs_dimmer.ino - ex-store dimmer support for Tasmota xdrv_30_exs_dimmer.ino - ex-store dimmer support for Tasmota
Copyright (C) 2019 Andreas Schultz Copyright (C) 2020 Andreas Schultz
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_31_tasmota_slave.ino - Support for external microcontroller slave on serial xdrv_31_tasmota_slave.ino - Support for external microcontroller slave on serial
Copyright (C) 2019 Andre Thomas and Theo Arends Copyright (C) 2020 Andre Thomas and Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_32_hotplug.ino - HotPlug support for sensors xdrv_32_hotplug.ino - HotPlug support for sensors
Copyright (C) 2019 Leonid Myravjev Copyright (C) 2020 Leonid Myravjev
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_99_debug.ino - debug support for Tasmota xdrv_99_debug.ino - debug support for Tasmota
Copyright (C) 2019 Theo Arends Copyright (C) 2020 Theo Arends
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdrv_interface.ino - Driver interface support for Tasmota xdrv_interface.ino - Driver interface support for Tasmota
Copyright (C) 2019 Theo Arends inspired by ESPEasy Copyright (C) 2020 Theo Arends inspired by ESPEasy
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdsp_01_lcd.ino - Display LCD support for Tasmota xdsp_01_lcd.ino - Display LCD support for Tasmota
Copyright (C) 2019 Theo Arends and Adafruit Copyright (C) 2020 Theo Arends and Adafruit
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdsp_02_ssd1306.ino - Display Oled SSD1306 support for Tasmota xdsp_02_ssd1306.ino - Display Oled SSD1306 support for Tasmota
Copyright (C) 2019 Theo Arends and Adafruit Copyright (C) 2020 Theo Arends and Adafruit
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
xdsp_03_matrix.ino - Display 8x8 matrix support for Tasmota xdsp_03_matrix.ino - Display 8x8 matrix support for Tasmota
Copyright (C) 2019 Theo Arends and Adafruit Copyright (C) 2020 Theo Arends and Adafruit
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by

Some files were not shown because too many files have changed in this diff Show More