mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Happy New Year
This commit is contained in:
parent
58e6ec55f1
commit
dcbb3f1e0e
@ -7,7 +7,7 @@
|
||||
between a secondary, user-allocated stack on the heap and the real
|
||||
stack.
|
||||
|
||||
Copyright (c) 2017 Earle F. Philhower, III. All rights reserved.
|
||||
Copyright (C) 2021 Earle F. Philhower, III. All rights reserved.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -7,7 +7,7 @@
|
||||
between a secondary, user-allocated stack on the heap and the real
|
||||
stack.
|
||||
|
||||
Copyright (c) 2017 Earle F. Philhower, III. All rights reserved.
|
||||
Copyright (C) 2021 Earle F. Philhower, III. All rights reserved.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -3,7 +3,7 @@
|
||||
- Mostly compatible with Arduino WiFi shield library and standard
|
||||
WiFiClient/ServerSecure (except for certificate handling).
|
||||
|
||||
Copyright (c) 2018 Earle F. Philhower, III
|
||||
Copyright (C) 2021 Earle F. Philhower, III
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -3,7 +3,7 @@
|
||||
- Mostly compatible with Arduino WiFi shield library and standard
|
||||
WiFiClient/ServerSecure (except for certificate handling).
|
||||
|
||||
Copyright (c) 2018 Earle F. Philhower, III
|
||||
Copyright (C) 2021 Earle F. Philhower, III
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
i18n.h - internationalization for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
af_AF.h - localization for Afrikaans - Afrikaans for Tasmota
|
||||
|
||||
Copyright (C) 2020 Christiaan Heerze
|
||||
Copyright (C) 2021 Christiaan Heerze
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
bg-BG.h - localization for Bulgaria - Bulgarian for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
cs-CZ.h - localization for Czech with diacritics - Czech for Tasmota
|
||||
|
||||
Copyright (C) 2020 Vladimír Synek
|
||||
Copyright (C) 2021 Vladimír Synek
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
de-DE.h - localization for German - Germany for Tasmota
|
||||
|
||||
Copyright (C) 2020 VinceMasuka
|
||||
Copyright (C) 2021 VinceMasuka
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
el-GR.h - localization for Greek - Greece for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends, translated by Nick Galfas
|
||||
Copyright (C) 2021 Theo Arends, translated by Nick Galfas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
en-GB.h - localization for English - United Kingdom for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
es-ES.h - localization for Spanish - Spain for Tasmota
|
||||
|
||||
Copyright (C) 2020 Adrian Scillato
|
||||
Copyright (C) 2021 Adrian Scillato
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
fr-FR.h - localization for French - France for Tasmota
|
||||
Copyright (C) 2020 Olivier Francais
|
||||
Copyright (C) 2021 Olivier Francais
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
he-HE.h - localization for Hebrew - Israel for Tasmota
|
||||
|
||||
Copyright (C) 2020 Yuval Mejahez
|
||||
Copyright (C) 2021 Yuval Mejahez
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
hu-HU.h - localization for Hungarian in Hungary for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
it-IT.h - localization for Italian - Italy for Tasmota
|
||||
|
||||
Copyright (C) 2020 Gennaro Tortone - some mods by Antonio Fragola - Updated by bovirus - rev. 24.12.2020
|
||||
Copyright (C) 2021 Gennaro Tortone - some mods by Antonio Fragola - Updated by bovirus - rev. 24.12.2020
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
ko-KO.h - localization for Korean - Korean for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends (translated by NyaamZ)
|
||||
Copyright (C) 2021 Theo Arends (translated by NyaamZ)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
nl-NL.h - localization for Dutch - Nederland for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
pl-PL-d.h - localization for Polish with diacritics - Poland for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends (translated by roblad - Robert L., upgraded by R. Turala)
|
||||
Copyright (C) 2021 Theo Arends (translated by roblad - Robert L., upgraded by R. Turala)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
pt-BR.h - localization for Portuguese - Brazil for Tasmota
|
||||
|
||||
Copyright (C) 2020 Fabiano Bovo
|
||||
Copyright (C) 2021 Fabiano Bovo
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
pt-PT.h - localization for Portuguese - Portugal for Tasmota
|
||||
|
||||
Copyright (C) 2020 Paulo Paiva
|
||||
Copyright (C) 2021 Paulo Paiva
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
ro-RO.h - localization for Romanian - Romania and Moldova for Tasmota
|
||||
|
||||
Copyright (C) 2020 Augustin Marti
|
||||
Copyright (C) 2021 Augustin Marti
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
ru-RU.h - localization for Russian - Rissia for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends / roman-vn
|
||||
Copyright (C) 2021 Theo Arends / roman-vn
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
sk-SK.h - localization for Slovak with diacritics - Slovak for Tasmota
|
||||
|
||||
Copyright (C) 2020 Vladimír Jendroľ
|
||||
Copyright (C) 2021 Vladimír Jendroľ
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
sv-SE.h - localization for Swedish - Svenska for Tasmota
|
||||
|
||||
Copyright (C) 2020 Gunnar Norin
|
||||
Copyright (C) 2021 Gunnar Norin
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tr-TR.h - localization for Turkish - Turkey for Tasmota
|
||||
|
||||
Copyright (C) 2020 Ali Sait Teke and Theo Arends
|
||||
Copyright (C) 2021 Ali Sait Teke and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
uk-UA.h - localization for Ukrainian - Ukraine for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends / vadym-adik
|
||||
Copyright (C) 2021 Theo Arends / vadym-adik
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
vi-VN.h - localization for Vietnam for Tasmota
|
||||
|
||||
Copyright (C) 2020 translateb by Tâm.NT
|
||||
Copyright (C) 2021 translateb by Tâm.NT
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
zh-CN.h - localization for Chinese (Simplified) - China for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends (translated by killadm)
|
||||
Copyright (C) 2021 Theo Arends (translated by killadm)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
zh-TW.h - localization for Chinese (Traditional) - Taiwan for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends (translated by dannydu)
|
||||
Copyright (C) 2021 Theo Arends (translated by dannydu)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
my_user_config.h - user specific configuration for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
settings.h - setting variables for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
settings.ino - user settings for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support.ino - support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_button.ino - button support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Federico Leoni and Theo Arends
|
||||
Copyright (C) 2021 Federico Leoni and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_command.ino - command support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_cores.ino - Arduino core support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_crash_recorder.ino - record the call stack in RTC in case of crash
|
||||
|
||||
Copyright (C) 2020 Stephan Hadinger, Theo Arends,
|
||||
Copyright (C) 2021 Stephan Hadinger, Theo Arends,
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_device_groups.ino - device groups support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Paul C Diem
|
||||
Copyright (C) 2021 Paul C Diem
|
||||
|
||||
Device group allow multiple devices to be in a group with power, light
|
||||
brightness, fade and speed settings and other module-specific settings
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_eeprom.ino - eeprom support for Sonoff-Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends & Gerhard Mutz
|
||||
Copyright (C) 2021 Theo Arends & Gerhard Mutz
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_esp32.ino - ESP32 specific code for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends / Jörg Schüler-Maroldt
|
||||
Copyright (C) 2021 Theo Arends / Jörg Schüler-Maroldt
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_esptool.ino - esptool support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_features.ino - feature support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_filesystem.ino - Filesystem support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_flash_log.ino - log to flash support for Sonoff-Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends & Christian Baars
|
||||
Copyright (C) 2021 Theo Arends & Christian Baars
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_float.ino - Small floating point support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
jpeg_utils.c - Version header file for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_light_list.ino - Lightweight Linked List for simple objects - optimized for low code size and low memory
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -18,9 +18,9 @@
|
||||
*/
|
||||
|
||||
/*********************************************************************************************\
|
||||
*
|
||||
*
|
||||
* private class for Linked List element
|
||||
*
|
||||
*
|
||||
\*********************************************************************************************/
|
||||
template <typename T>
|
||||
class LList;
|
||||
@ -43,9 +43,9 @@ protected:
|
||||
};
|
||||
|
||||
/*********************************************************************************************\
|
||||
*
|
||||
*
|
||||
* Lightweight Linked List - optimized for low code size
|
||||
*
|
||||
*
|
||||
\*********************************************************************************************/
|
||||
template <typename T>
|
||||
class LList {
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_network.ino - Network support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_rotary.ino - rotary switch support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_rtc.ino - Real Time Clock support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_buffer.ino - Static binary buffer for Zigbee on Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_statistics.ino - gather statistics for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_switch.ino - switch support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_tasmota.ino - Core support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_udp.ino - Udp support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Heiko Krupp and Theo Arends
|
||||
Copyright (C) 2021 Heiko Krupp and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
support_wifi.ino - wifi support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tasmota.h - Master header file for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tasmota.ino - Tasmota firmware for iTead Sonoff, Wemos and NodeMCU hardware
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tasmota_ca.ino - Certificate authorities for Tasmota, LetsEncrypt and AWS
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,3 +1,22 @@
|
||||
/*
|
||||
tasmota_compat.h - ESP32 support for Tasmota
|
||||
|
||||
Copyright (C) 2021 Jörg Schüler-Maroldt and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef ESP32
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tasmota_configurations.h - Configurations for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tasmota_configurations_ESP32.h - ESP32 only Configurations for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tasmota_globals.h - Function prototypes and global configurations for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tasmota_template.h - template settings for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tasmota_template_legacy.h - template settings for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
tasmota_version.h - Version header file for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
user_config_override.h - user configuration overrides my_user_config.h for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_01_webserver.ino - webserver for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_02_mqtt.ino - mqtt support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_03_energy.ino - Energy sensor support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_04_light.ino - PWM, WS2812 and sonoff led support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -134,7 +134,7 @@ const char kLightCommands[] PROGMEM = "|" // No prefix
|
||||
D_CMND_WHITE "|" D_CMND_CHANNEL "|" D_CMND_HSBCOLOR
|
||||
"|" D_CMND_CTRANGE
|
||||
#ifdef USE_LIGHT_VIRTUAL_CT
|
||||
"|" D_CMND_VIRTUALCT
|
||||
"|" D_CMND_VIRTUALCT
|
||||
#endif // USE_LIGHT_VIRTUAL_CT
|
||||
#ifdef USE_LIGHT_PALETTE
|
||||
"|" D_CMND_PALETTE
|
||||
@ -2385,7 +2385,7 @@ bool calcGammaBulbs(uint16_t cur_col_10[5]) {
|
||||
}
|
||||
}
|
||||
#endif // ESP8266
|
||||
|
||||
|
||||
// Now see if we need to mix RGB and White
|
||||
// Valid only for LST_RGBW, LST_RGBCW, SetOption105 1, and white is zero (see doc)
|
||||
if ((LST_RGBW <= Light.subtype) && (Settings.flag4.white_blend_mode) && (0 == cur_col_10[3]+cur_col_10[4])) {
|
||||
@ -2400,7 +2400,7 @@ bool calcGammaBulbs(uint16_t cur_col_10[5]) {
|
||||
white_bri10 = (white_bri10 > 1023) ? 1023 : white_bri10; // max 1023
|
||||
rgbwwtable_applied_white = true;
|
||||
}
|
||||
|
||||
|
||||
#ifdef USE_LIGHT_VIRTUAL_CT
|
||||
// compute virtual CT, which is suppsed to be compatible with white_blend_mode
|
||||
if (Light.virtual_ct && (!white_free_cw) && (LST_RGBW <= Light.subtype)) { // any light with a white channel
|
||||
@ -2444,7 +2444,7 @@ bool calcGammaBulbs(uint16_t cur_col_10[5]) {
|
||||
cur_col_10[3] = white_bri10; // simple case, we set the White level to the required brightness
|
||||
} else if ((LST_COLDWARM == Light.subtype) || (LST_RGBCW == Light.subtype)) {
|
||||
// if sum of both channels is > 255, then channels are probably uncorrelated
|
||||
if (!white_free_cw) {
|
||||
if (!white_free_cw) {
|
||||
// then we split the total energy among the cold and warm leds
|
||||
cur_col_10[cw0+1] = changeUIntScale(ct_10, 0, 1023, 0, white_bri10);
|
||||
cur_col_10[cw0] = white_bri10 - cur_col_10[cw0+1];
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_05_irremote.ino - infra red support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Heiko Krupp, Lazar Obradovic and Theo Arends
|
||||
Copyright (C) 2021 Heiko Krupp, Lazar Obradovic and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_05_irremote_full.ino - complete integration of IRremoteESP8266 for Tasmota
|
||||
|
||||
Copyright (C) 2020 Heiko Krupp, Lazar Obradovic, Theo Arends, Stephan Hadinger
|
||||
Copyright (C) 2021 Heiko Krupp, Lazar Obradovic, Theo Arends, Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_06_snfbridge.ino - sonoff RF bridge 433 support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Erik Andrén Zachrisson (fw update)
|
||||
Copyright (C) 2021 Theo Arends and Erik Andrén Zachrisson (fw update)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_07_domoticz.ino - domoticz support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_08_serial_bridge.ino - serial bridge support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Dániel Zoltán Tolnai
|
||||
Copyright (C) 2021 Theo Arends and Dániel Zoltán Tolnai
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_09_timers.ino - timer support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_10_rules.ino - rule support for Tasmota
|
||||
|
||||
Copyright (C) 2020 ESP Easy Group and Theo Arends
|
||||
Copyright (C) 2021 ESP Easy Group and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_10_scripter.ino - script support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Gerhard Mutz and Theo Arends
|
||||
Copyright (C) 2021 Gerhard Mutz and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_11_knx.ino - KNX IP Protocol support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Adrian Scillato (https://github.com/ascillato)
|
||||
Copyright (C) 2021 Adrian Scillato (https://github.com/ascillato)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -590,7 +590,7 @@ void KNX_CB_Action(message_t const &msg, void *arg)
|
||||
else if ((chan->type >= KNX_SLOT1) && (chan->type <= KNX_SLOT5)) // KNX RX SLOTs (write command)
|
||||
{
|
||||
if (!toggle_inhibit) {
|
||||
char command[35]; //4294967295.00 13chars + 17
|
||||
char command[35]; //4294967295.00 13chars + 17
|
||||
if (msg.data_len == 1) {
|
||||
// Command received
|
||||
snprintf_P(command, sizeof(command), PSTR("event KNXRX_CMND%d=%d"), ((chan->type) - KNX_SLOT1 + 1 ), msg.data[0]);
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_12_home_assistant.ino - home assistant support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Erik Montnemery, Federico Leoni and Theo Arends
|
||||
Copyright (C) 2021 Erik Montnemery, Federico Leoni and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_13_display.ino - Display support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_14_mp3.ino - MP3 support for Tasmota
|
||||
|
||||
Copyright (C) 2020 gemu2015, mike2nl and Theo Arends
|
||||
Copyright (C) 2021 gemu2015, mike2nl and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_15_pca9685.ino - Support for I2C PCA9685 12bit 16 pin hardware PWM driver on Tasmota
|
||||
|
||||
Copyright (C) 2020 Andre Thomas and Theo Arends
|
||||
Copyright (C) 2021 Andre Thomas and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_16_tuyamcu.ino - Tuya MCU support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Federico Leoni, digiblur, Joel Stein and Theo Arends
|
||||
Copyright (C) 2021 Federico Leoni, digiblur, Joel Stein and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_17_rcswitch.ino - RF transceiver using RcSwitch library for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_18_armtronix_dimmers.ino - Armtronix dimmers support for Tasmota
|
||||
|
||||
Copyright (C) 2020 wvdv2002 and Theo Arends
|
||||
Copyright (C) 2021 wvdv2002 and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_19_ps16dz.dimmer.ino - PS_16_DZ dimmer support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Joel Stein and Theo Arends
|
||||
Copyright (C) 2021 Joel Stein and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_20_hue.ino - Philips Hue support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Heiko Krupp and Theo Arends
|
||||
Copyright (C) 2021 Heiko Krupp and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_21_wemo.ino - wemo support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Heiko Krupp and Theo Arends
|
||||
Copyright (C) 2021 Heiko Krupp and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_21_wemo_multi.ino - multiple wemo support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Magic73, Heiko Krupp and Theo Arends
|
||||
Copyright (C) 2021 Magic73, Heiko Krupp and Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_22_sonoff_ifan.ino - sonoff iFan02 and iFan03 support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends
|
||||
Copyright (C) 2021 Theo Arends
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_23_zigbee_constants.ino - zigbee support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -1165,11 +1165,11 @@ String getEmberStatus(uint8_t status) {
|
||||
0x39, 0x3A, 0x3D, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36,
|
||||
0x40, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4A, 0x4B, 0x4C,
|
||||
0x58, 0x59, 0x5A, 0x66, 0x69, 0x6A, 0x6C,
|
||||
0x70, 0x71, 0x72, 0x74, 0x75, 0x76,
|
||||
0x80, 0x81, 0x82, 0x84, 0x85, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F,
|
||||
0x70, 0x71, 0x72, 0x74, 0x75, 0x76,
|
||||
0x80, 0x81, 0x82, 0x84, 0x85, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F,
|
||||
0x90, 0x91, 0x94, 0x96, 0x98, 0x99, 0x9A, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF,
|
||||
0x93, 0x95, 0xA1, 0xA3, 0xA4, 0xA5, 0xA6, 0xA8,
|
||||
0xB3, 0xB7, 0xB8, 0xBB, 0xBD, 0xA9, 0xAA,
|
||||
0x93, 0x95, 0xA1, 0xA3, 0xA4, 0xA5, 0xA6, 0xA8,
|
||||
0xB3, 0xB7, 0xB8, 0xBB, 0xBD, 0xA9, 0xAA,
|
||||
0xB0, 0xB1, 0xB4, 0xB6, 0xB5, 0xBA };
|
||||
|
||||
char msg[32];
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_23_zigbee_1_headers.ino - zigbee support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_23_zigbee_1z_libs.ino - zigbee support for Tasmota, JSON replacement libs
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -45,9 +45,9 @@ int strcmp_PP(const char *p1, const char *p2) {
|
||||
}
|
||||
|
||||
/*********************************************************************************************\
|
||||
*
|
||||
*
|
||||
* Variables for Rules from last Zigbee message received
|
||||
*
|
||||
*
|
||||
\*********************************************************************************************/
|
||||
|
||||
typedef struct Z_LastMessageVars {
|
||||
@ -65,9 +65,9 @@ uint16_t Z_GetLastCluster(void) { return gZbLastMessage.cluster; }
|
||||
uint8_t Z_GetLastEndpoint(void) { return gZbLastMessage.endpoint; }
|
||||
|
||||
/*********************************************************************************************\
|
||||
*
|
||||
*
|
||||
* Class for single attribute
|
||||
*
|
||||
*
|
||||
\*********************************************************************************************/
|
||||
|
||||
enum class Za_type : uint8_t {
|
||||
@ -126,7 +126,7 @@ public:
|
||||
attr_type(0xFF),
|
||||
attr_multiplier(1)
|
||||
{};
|
||||
|
||||
|
||||
Z_attribute(const Z_attribute & rhs) {
|
||||
deepCopy(rhs);
|
||||
}
|
||||
@ -213,9 +213,9 @@ protected:
|
||||
};
|
||||
|
||||
/*********************************************************************************************\
|
||||
*
|
||||
*
|
||||
* Class for attribute ordered list
|
||||
*
|
||||
*
|
||||
\*********************************************************************************************/
|
||||
|
||||
|
||||
@ -309,9 +309,9 @@ Z_attribute & Z_attribute_list::addAttributePMEM(const char * name) {
|
||||
}
|
||||
|
||||
/*********************************************************************************************\
|
||||
*
|
||||
*
|
||||
* Implementation for Z_attribute
|
||||
*
|
||||
*
|
||||
\*********************************************************************************************/
|
||||
|
||||
// free any allocated memoruy for keys
|
||||
@ -719,9 +719,9 @@ void Z_attribute::deepCopy(const Z_attribute & rhs) {
|
||||
}
|
||||
|
||||
/*********************************************************************************************\
|
||||
*
|
||||
*
|
||||
* Implementation for Z_attribute_list
|
||||
*
|
||||
*
|
||||
\*********************************************************************************************/
|
||||
// add a cluster/attr_id attribute at the end of the list
|
||||
Z_attribute & Z_attribute_list::addAttribute(uint16_t cluster, uint16_t attr_id, uint8_t suffix) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_23_zigbee.ino - zigbee support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -235,7 +235,7 @@ public:
|
||||
inline void setCT(uint16_t _ct) { ct = _ct; }
|
||||
inline void setX(uint16_t _x) { x = _x; }
|
||||
inline void setY(uint16_t _y) { y = _y; }
|
||||
|
||||
|
||||
static const Z_Data_Type type = Z_Data_Type::Z_Light;
|
||||
// 12 bytes
|
||||
uint8_t colormode; // 0x00: Hue/Sat, 0x01: XY, 0x02: CT | 0xFF not set, default 0x01
|
||||
@ -248,7 +248,7 @@ public:
|
||||
|
||||
/*********************************************************************************************\
|
||||
* Device specific: PIR
|
||||
*
|
||||
*
|
||||
// List of occupancy time-outs:
|
||||
// 0xF = default (90 s)
|
||||
// 0x0 = no time-out
|
||||
@ -274,7 +274,7 @@ public:
|
||||
|
||||
inline uint8_t getOccupancy(void) const { return occupancy; }
|
||||
inline uint16_t getIlluminance(void) const { return illuminance; }
|
||||
|
||||
|
||||
inline void setOccupancy(uint8_t _occupancy) { occupancy = _occupancy; }
|
||||
inline void setIlluminance(uint16_t _illuminance) { illuminance = _illuminance; }
|
||||
|
||||
@ -429,7 +429,7 @@ public:
|
||||
}
|
||||
|
||||
void convertZoneStatus(Z_attribute_list & attr_list, uint16_t val) const;
|
||||
|
||||
|
||||
// 4 bytes
|
||||
uint16_t zone_status; // last known state for sensor 1 & 2
|
||||
uint16_t zone_type; // mapped to the Zigbee standard
|
||||
@ -503,7 +503,7 @@ void Z_Data_Alarm::convertZoneStatus(Z_attribute_list & attr_list, uint16_t val)
|
||||
|
||||
/*********************************************************************************************\
|
||||
* Mode
|
||||
*
|
||||
*
|
||||
// List of modes
|
||||
// 0x1 = Tuya Zigbee mode
|
||||
// 0xF (default) = ZCL standard mode
|
||||
@ -524,7 +524,7 @@ public:
|
||||
};
|
||||
|
||||
/*********************************************************************************************\
|
||||
*
|
||||
*
|
||||
\*********************************************************************************************/
|
||||
const uint8_t Z_Data_Type_len[] PROGMEM = {
|
||||
0, // 0x00 Z_Data_Type::Z_Unknown
|
||||
@ -556,9 +556,9 @@ size_t Z_Data::DataTypeToLength(Z_Data_Type t) {
|
||||
|
||||
|
||||
/*********************************************************************************************\
|
||||
*
|
||||
*
|
||||
* Device specific Linked List
|
||||
*
|
||||
*
|
||||
\*********************************************************************************************/
|
||||
class Z_Data_Set : public LList<Z_Data> {
|
||||
public:
|
||||
@ -886,7 +886,7 @@ public:
|
||||
Z_Device & isKnownLongAddrDevice(uint64_t longaddr) const;
|
||||
Z_Device & isKnownIndexDevice(uint32_t index) const;
|
||||
Z_Device & isKnownFriendlyNameDevice(const char * name) const;
|
||||
|
||||
|
||||
Z_Device & findShortAddr(uint16_t shortaddr);
|
||||
const Z_Device & findShortAddr(uint16_t shortaddr) const;
|
||||
Z_Device & findLongAddr(uint64_t longaddr);
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_23_zigbee_2a_devices_impl.ino - zigbee support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_23_zigbee.ino - zigbee support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
xdrv_23_zigbee.ino - zigbee support for Tasmota
|
||||
|
||||
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
||||
Copyright (C) 2021 Theo Arends and Stephan Hadinger
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user