Commit Graph

237 Commits

Author SHA1 Message Date
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
Theo Arends c00d7035d9 Redesign GPIO to 16-bit 2020-09-29 18:10:21 +02:00
Theo Arends 805f93cfab Redesign GPIO to 16-bit 2020-09-29 14:08:48 +02:00
Theo Arends 46cbe13e9b Fix ESP32 compilation 2020-09-25 18:34:14 +02:00
Theo Arends 9cbd2d531d Initial GPIO redesign 2020-09-25 18:15:31 +02:00
Theo Arends ace6097052 Allow software SPI without hardware SPI 2020-08-23 15:34:19 +02:00
Theo Arends f268697e54 Add command ``Restart 2`` to halt system
Add command ``Restart 2`` to halt system. Needs hardware reset or power cycle to restart (#9046)
2020-08-10 16:19:44 +02:00
Paul C Diem c3112b20e0 Fix missed merge of device_group_count initialization. Rename remote_device_mode setting to multiple_device_groups. 2020-08-09 10:16:15 -05:00
Theo Arends b8973d64d0
Merge pull request #9023 from stefanbode/patch-16
Added exposure of MCP Out Pins as Relays
2020-08-03 18:23:51 +02:00
Theo Arends a3445e5b5f Add ESP32 ADC framework 2020-08-03 18:21:34 +02:00
stefanbode d16cdb108c
Added required hooks 2020-08-03 18:08:49 +02:00
Theo Arends 1d990ad091 Fix ESP32 PWM range 2020-08-03 11:52:25 +02:00
Theo Arends e1b825ed75 Fix ESP32 PWM resolution calculation 2020-08-02 12:40:15 +02:00
Theo Arends a84ebe552a Refactor rules processing 2020-07-20 17:24:51 +02:00
Theo Arends eeed6768d0 Third try to fix counter interrupt storm 2020-07-20 11:20:58 +02:00
Theo Arends 934ca43463 Remove Arduino ESP8266 Core support before 2.7.1
Remove Arduino ESP8266 Core support for versions before 2.7.1
2020-07-17 11:49:56 +02:00
Theo Arends 84ee6393a5 Add second rotary support
Add second rotary support default used for CW light control when first rotary is used for RGB light control (#8864)
2020-07-13 15:10:23 +02:00
Theo Arends b5f45aa295 Fix ESP32 SPI config 2020-06-20 17:58:21 +02:00
Norbert Richter 9b44a369d8
Fix some json unescapes 2020-06-19 12:33:31 +02:00
Theo Arends daef0a759d Stop blinks when no network configured 2020-06-15 22:40:15 +02:00
Theo Arends ef0b797686 Add basic support for ESP32 ethernet
Add basic support for ESP32 ethernet adding commands ``Wifi 0/1`` and ``Ethernet 0/1`` both default ON (#8503)
2020-06-15 18:27:04 +02:00
Paul C Diem 3d42fae8bd Fix SO88 incoming power state check 2020-05-29 18:55:33 -05:00
Staars 55e56fee43 Touch pin as button for ESP32 2020-05-27 15:59:32 +02:00
Paul C Diem bc6d7ceb87 Add support for SetOption88 to put each relay in a separate device groups 2020-05-26 22:07:25 -05:00
Theo Arends 32a39b828c
Merge pull request #8553 from phjr/fix-device-power-on-esp8266
fix default power state logic invoked even if already serviced by a d…
2020-05-26 18:31:32 +02:00
Peter Halicky f80d2ede3a fix default power state logic invoked even if already serviced by a driver 2020-05-26 18:20:46 +02:00
Theo Arends 66233b1749 Add support for full MAC address
Add support for unique MQTTClient (and inherited fallback topic) by full Mac address using ``mqttclient DVES_%12X`` (#8300)
2020-05-26 17:08:13 +02:00
Theo Arends bacb730b53 Fix escape of non-JSON received serial data
Fix escape of non-JSON received serial data (#8329)
2020-05-26 12:35:21 +02:00