Commit Graph

264 Commits

Author SHA1 Message Date
Theo Arends 06667d98fa Add ESP32 pulldown switches ``Switch_d``
Add ESP32 pulldown switches ``Switch_d`` (#10814)
2021-04-27 11:36:10 +02:00
Theo Arends 01390c2ca6 Add ESP32 pulldown buttons ``Button_d`` and ``Button_id``
Add ESP32 pulldown buttons ``Button_d`` and ``Button_id`` (#10814)
2021-04-26 13:56:44 +02:00
Theo Arends 1c2db8ca46 Minor strstr() refactor 2021-04-26 10:35:39 +02:00
Theo Arends 147440fd99 Add command ``Wifi 0/1`` for ESP8266
Add command ``Wifi 0/1`` for ESP8266 to turn wifi Off and On. When wifi is Off it is always returned On after a restart except for a wake-up from deepsleep (#11839)
2021-04-22 18:10:26 +02:00
Theo Arends 2fc3b93e9d Change command ``Power`` should not reset pulsetime
Change command ``Power`` should not reset pulsetime (#11805)
2021-04-22 15:03:56 +02:00
Theo Arends efbeeee6a4 Standardize version message 2021-04-14 14:33:21 +02:00
Adrian Scillato c63b211009
Fix Double Call of StartWebserver when it is in WiFiManager Mode 2021-04-12 13:35:34 -03:00
Theo Arends 7457d0b03c Refactor ESP32 Temperature and Hall Effect sensor 2021-04-12 16:21:33 +02:00
Theo Arends 591021a556 Add ESP32 Cpu Temperature 2021-04-12 14:59:40 +02:00
Theo Arends ab33b394f2 Add commands
Add commands ``Discover``, ``DiscoverButton`` and ``DiscoverSwitch``
2021-04-12 12:20:49 +02:00
Theo Arends c2cde43a54 Refactor Tasmota Discovery 2021-04-11 13:29:33 +02:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Theo Arends 36288037a8 Refactor energy init 2021-04-06 15:23:07 +02:00
Theo Arends ad50fc5522 Refactor teleperiod rules 2021-04-05 11:10:53 +02:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Theo Arends 2350697815 Use IRAM_ATTR in place of ICACHE_RAM_ATTR 2021-04-02 17:14:08 +02:00
Theo Arends bacf80a076 Add buffer overrun message on SerialBridge
Add buffer overrun message on SerialBridge (#11448)
2021-03-31 18:00:49 +02:00
Theo Arends e80c08cd18 Speed up initial power on state
Speed up initial power on state gaining 1mS pulse time (#11478)
2021-03-27 12:05:55 +01:00
Theo Arends 3174056eea Add relay switch time to zero-cross detection 2021-03-25 09:37:44 +01:00
Theo Arends 75308ee1e0 Fix zero cross special cases 2021-03-24 17:13:54 +01:00
Theo Arends 0d54299aaf Make ZCD user configurable using GPIO ZC Pulse 2021-03-23 15:42:15 +01:00
Theo Arends 6dc436039b Add support for Frequency monitoring and zero-cross detection on CSE7761 (Sonoff Dual R3)
Add support for Frequency monitoring and zero-cross detection on CSE7761 (Sonoff Dual R3)
2021-03-23 11:21:38 +01:00
Thomas Weißschuh 641df67362 only perform interlock delay once
Before the delay was executed for *each* device being turned off.
Therefore the delay grew with the size of the interlock group.
2021-03-21 15:29:21 +01:00
Theo Arends c87a4df7e9 Refactor TM1638 pin numbers 2021-03-19 10:33:46 +01:00
Stephan Hadinger 0475212b54 ESP32 support for secondary I2C controller 2021-03-10 22:20:21 +01:00
Theo Arends ef39821b6d Fix OTA auto gz selection 2021-03-09 16:50:52 +01:00
Theo Arends 25dc819279 Add version to OTA update
Add version to OTA update (#11243)
2021-03-07 14:41:04 +01:00
Theo Arends 89d8fbb0ec Change ARRAY_SIZE() to nitems() 2021-02-28 12:50:02 +01:00
JeroenSt dde67c5b46 Added options to retain info and state mqtt messages
https://github.com/arendst/Tasmota/discussions/11067

Changed version to current version in comments
https://github.com/arendst/Tasmota/pull/11079#discussion_r580057981
2021-02-22 12:19:32 +01:00
Theo Arends ead77e536c Refactor command file 2021-02-16 16:21:46 +01:00
Theo Arends e40bebd0ba Fix filerun restart hold 2021-02-16 13:00:10 +01:00
gemu2015 95bdb15ae9 upd 2021-02-15 17:26:55 +01:00
gemu2015 f6572a863b display text vars 2021-02-15 17:22:06 +01:00
Theo Arends 541443f0aa Refactor pin test 2021-02-14 16:07:35 +01:00
Theo Arends e6bff6bf9e Standardize on unconnected pin being -1 2021-02-14 13:06:19 +01:00
gemu2015 c5df7ed1ae Update support_tasmota.ino 2021-02-13 07:52:21 +01:00
gemu2015 3f4fda44a4 ili9341 update 2021-02-13 07:43:59 +01:00
Theo Arends 42c5af1b70 Remove ESP32 minimal support 2021-02-12 16:26:51 +01:00
Theo Arends 4fd4d73602 Add ESP8266 OTA upload fallback to .gz 2021-02-12 13:19:50 +01:00
Paul C Diem 133826c331 Use device map for received power item 2021-02-09 15:42:14 -06:00
Paul C Diem 60252a9043 Add DGR device map support 2021-02-09 15:10:32 -06:00
Paul C Diem 707e970250 Add no_share_mask support, DevGroupSend channels in hex, AND/OR operators, Use dynamic log buffer 2021-02-08 21:28:59 -06:00
Theo Arends b073905a2e Consolidate ESP specific functions 2021-02-08 11:34:29 +01:00
Theo Arends 8b0e45a58b Increase number of switch GPIOs from 8 to 28 2021-02-05 11:58:24 +01:00
Stephan Hadinger bf26ba3427 Reduce code size 2021-02-03 20:46:20 +01:00
Stephan Hadinger ca82ed07c9 Publish more precise Free Heap metric 2021-02-03 20:35:01 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
Stephan Hadinger 3265236fe1 Fix compilation ESP32 2021-01-18 22:37:36 +01:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
Theo Arends d99ba6992c Refactor BLE 2021-01-18 11:51:24 +01:00
Theo Arends f1d15c015c Fix ESP8266 SPI detection 2021-01-15 16:19:56 +01:00
Theo Arends a21acebdb4 Add support for Last Known Good Settings 2021-01-13 13:51:49 +01:00
Stephan Hadinger 800f86d56e Moving more to PROGMEM 2021-01-12 19:31:15 +01:00
Theo Arends 15598d71a9 Fix reset 5 and 6 when filesystem in use 2021-01-12 14:54:12 +01:00
gemu2015 07d88be281 fix sspi log 2021-01-09 08:50:29 +01:00
Theo Arends f8de9150d0 Add rotary No Pullup GPIO selection
Add rotary No Pullup GPIO selection ``Rotary A/B_n`` (#10407)
2021-01-06 12:51:12 +01:00
Theo Arends 97da3c7034 Add SDCard detection 2021-01-04 16:45:46 +01:00
Theo Arends ee1648d3e0 Prep SSD1331 driver 2021-01-01 16:05:06 +01:00
Theo Arends 54c1a2d029 Add support for SPI display driver for ST7789 TFT
Add support for SPI display driver for ST7789 TFT by Gerhard Mutz (#9037)
2021-01-01 15:05:58 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends 58e6ec55f1 Breaking change replacing SPI CS and SPI DC
Breaking change replacing SPI CS and SPI DC by device specific CS and DC
2020-12-31 16:17:30 +01:00
Theo Arends 9c2b8040f1 Revert "Breaking change replaced NRF24L01 GPIO selection"
This reverts commit 01f3a7da19.
2020-12-30 17:52:05 +01:00
Theo Arends 01f3a7da19 Breaking change replaced NRF24L01 GPIO selection
Breaking change replaced NRF24L01 GPIO selection from ``GPIO_SPI_CS`` by ``GPIO_NRF24_CS`` and ``GPIO_SPI_DC`` by ``GPIO_NRF24_DC``
2020-12-30 17:49:52 +01:00
Theo Arends f004cfea60 Breaking change regarding MFRC522 and ILI9341
- Replaced MFRC522 13.56MHz rfid card reader GPIO selection from ``GPIO_SPI_CS`` by ``GPIO_RC522_CS``
- Replaced ILI9341 GPIO selection from ``GPIO_SPI_CS`` by ``GPIO_ILI9341_CS`` and ``GPIO_SPI_DC`` by ``GPIO_ILI9341_DC``
2020-12-29 17:42:53 +01:00
Theo Arends b1b20c53b4 Prep removal of global log_data
Prep removal of global log_data providing re-entry
2020-12-23 18:00:59 +01:00
Theo Arends 244611f12f Add logging buffer management 2020-12-22 15:26:07 +01:00
Theo Arends dcfb74f457 Support for GPIO option selection
- Support for GPIO option selection
- Gpio ``Option_a1`` enabling PWM1 high impedance if powered off and no fading as used by Wyze bulbs (#10196)
2020-12-20 13:22:01 +01:00
Theo Arends bafcee4b05 Effort to get rid of PrepLog_P
Effort to get rid of PrepLog_P now syslog and mqttlog are async
2020-12-18 16:49:11 +01:00
Theo Arends b7af08c03b Redesign syslog and mqttlog using log buffer
Redesign syslog and mqttlog using log buffer (#10164)
2020-12-18 15:37:20 +01:00
Theo Arends b9a3fd4342 Fix initial baudrate
Fix initial baudrate (#7447)
2020-12-07 15:33:09 +01:00
Theo Arends 7be7d96de6 Fix SPI regression from 9.1 2020-11-30 11:51:27 +01:00
Theo Arends b527ab4d66 Prep for ESP32-C3 ph1 2020-11-28 12:46:17 +01:00
Theo Arends 547e5d9c5d Fix command ``gpio``
Fix command ``gpio`` using non-indexed functions regression from v9.1.0 (#9962)
2020-11-24 15:14:22 +01:00
Theo Arends 138ddfb16e Removed version compatibility check
Removed version compatibility check
2020-11-07 15:43:52 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends 488a360d5b Fixed NTP fallback server functionality
Fixed NTP fallback server functionality (#9739)
2020-11-06 15:22:03 +01:00
Christopher Tremblay b5b6b97295 Swapped strstr for strchr where applicable
strstr calls with a single character were changed to strchr which should be more efficient.
2020-11-04 02:20:17 -08:00
Federico Leoni f7ba0ba95e Switches: MQTT decoupling 2020-11-02 20:44:07 -03:00
Erik Montnemery ed8058b3e2
Attempt to fix regression introduced by #9589 2020-11-01 17:52:10 +01:00
Theo Arends c2482e9913 Add command ``SwitchText``
Add command ``SwitchText`` to change JSON switch names by barbudor (#9691)
2020-11-01 13:26:35 +01:00
Theo Arends 8338a9cc80 Refactor module change detection 2020-11-01 12:12:27 +01:00
Theo Arends 432051a7ef Fix setting last module 2020-10-31 12:04:28 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends 8a703adf84 Use global struct 2020-10-29 16:16:34 +01:00
Theo Arends e59bfc1d69 Use global struct 2020-10-29 13:58:50 +01:00
Theo Arends 280f0a9de7 Use global struct 2020-10-29 13:37:09 +01:00
Theo Arends 0d85f5c583 Use global struct 2020-10-29 12:58:22 +01:00
Theo Arends 0cfe1ac3e1 Use global struct 2020-10-29 12:39:44 +01:00
Theo Arends 3bebfb32d3 Use global struct 2020-10-29 12:21:24 +01:00
Theo Arends f1ac7b2d67 Use global struct 2020-10-28 19:03:39 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Theo Arends 594f57464f Prep global struct 2020-10-28 12:40:52 +01:00
Theo Arends 0f805014e6 Support WT32-ETH01
- Support for fixed output Hi or Lo GPIO
- Support for ESP32 based Wireless-Tag WT32-ETH01 (#9496)
2020-10-23 15:18:58 +02:00
Paul C Diem caaf7ac39c Make button press rules override PWM Dimmer functions 2020-10-20 10:48:49 -05:00
Paul C Diem f075a89d6b Add PWM Dimmer multi-press and ledmask support 2020-10-19 20:12:41 -05:00
Theo Arends 7bc8956d86 Changed management of serial baudrate
Changed management of serial baudrate (#9554)
2020-10-16 15:18:16 +02:00
Theo Arends 490e7d838e Fix Template using ``#define USER_TEMPLATE``
Fix Template using ``#define USER_TEMPLATE`` (#9506)
2020-10-10 12:20:15 +02:00
Theo Arends 0c90f71e00 Fix ADC initalization sequence
Fix ADC initalization sequence (#9473)
2020-10-06 12:12:14 +02:00
Theo Arends 677bb85ecd Fix ledlink blink when no network connected
Fix ledlink blink when no network connected regression from 8.3.1.4 (#9292)
2020-10-04 17:08:11 +02:00
Theo Arends a9630b9d05 Change pulsetime to allow use for all relays
Change pulsetime to allow use for all relays with 8 interleaved so ``Pulsetime1`` is valid for Relay1, Relay9, Relay17 etc. (#9279)
2020-10-02 17:32:45 +02:00