Commit Graph

99 Commits

Author SHA1 Message Date
Theo Arends d5ca2994ee Add commands MqttKeepAlive and MqttTimeout
- Add commands ``MqttKeepAlive 1..100`` to set Mqtt Keep Alive timer (default 30) and ``MqttTimeout 1..100`` to set Mqtt Socket Timeout (default 4) (#5341)
- Changed PubSubClient library from EspEasy v2.7.12 to Tasmota v2.8.12
- Bump version to 9.3.1.2
2021-03-18 17:44:10 +01:00
Theo Arends ff7a911e45 Fix logging if network down (#11373) 2021-03-18 09:27:46 +01:00
Stephan Hadinger 296933569e ESP32 increase TLS buffers 2021-03-12 08:18:16 +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
Stephan Hadinger a436dd416d Added macro for SO synonyms and MQTT 2021-01-28 09:04:42 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
Theo Arends bb7a2e83f8 Refactor settings 2021-01-22 11:54:15 +01:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
Stephan Hadinger a90eb18f1e Fix Web UI that would not change TLS mode 2021-01-16 17:11:45 +01:00
Stephan Hadinger cc43530639 ESP32 support for TLS MQTT using BearSSL (same as ESP8266) 2021-01-15 18:23:05 +01:00
Stephan Hadinger 800f86d56e Moving more to PROGMEM 2021-01-12 19:31:15 +01:00
Theo Arends 85b2d62225 ESP8266 Support for 2MB and up linker files with 1MB and up LittleFS
Breaking Change: ESP8266 until now NOT SUPPORTED linker files 2MB and up. Current settings will be overwritten once LittleFS is enabled
2021-01-11 17:56:18 +01:00
Theo Arends 2b7d605696 Changed maximum chars in AddLog_P logging
Changed maximum chars in AddLog_P logging reduced from 700 to 128 (LOGSZ) to enhance stability
2021-01-02 16:20:15 +01:00
Theo Arends 708d231c9c Reduce generic log buffer to 128 chars 2021-01-02 14:59:02 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends d75beb92f3 Add support character `#` to be replaced by `space`-character
Add support character `#` to be replaced by `space`-character in command ``Publish`` topic (#10258)
2020-12-26 12:18:16 +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 0624ee1ca3 Add logging quick exit code 2020-12-23 10:56:21 +01:00
Theo Arends 244611f12f Add logging buffer management 2020-12-22 15:26:07 +01:00
Theo Arends 5f7aacf13c Refactor logging 2020-12-19 17:29:14 +01:00
Theo Arends 2eb4eef08c Rename web_log to log_buffer 2020-12-18 16:30:37 +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 453844e965 Update xdrv_02_mqtt.ino 2020-11-22 12:26:05 +01:00
Theo Arends c580a9c387 Refactor MQTT and webserver 2020-11-17 17:15:29 +01:00
Theo Arends 17c94a2b62 Changed MQTT Wifi connection timeout
Changed MQTT Wifi connection timeout from 5000 to 200 mSec (#9886)
2020-11-17 16:44:00 +01:00
Theo Arends 846da7b6ca Fix GUI MqttUser and MqttPassword updates
Fix GUI MqttUser and MqttPassword updates when TLS is compiled in (#9825)
2020-11-13 13:54:51 +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 653adfa1cb Refactor Button Switch MQTT data 2020-11-03 16:24:49 +01:00
Theo Arends c0c198f957
Merge pull request #9674 from s-hadinger/minimal_notls
Don't try to connect to TLS with Tasmota-minimal
2020-10-30 17:04:46 +01:00
Stephan Hadinger 4ca8a4cf02 Allow the use of TLS in MINIMAL if compiled with TLS 2020-10-30 16:46:57 +01:00
Stephan Hadinger 750d35283b Don't try to connect to TLS with Tasmota-minimal 2020-10-30 16:29:36 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +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 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
Stephan Hadinger b599b5b183 Fix TLS fingerprint compilation #9582 2020-10-21 11:19:59 +02:00
Stephan Hadinger 1af525619a Webserver->on() optimization phase 2 2020-10-20 18:56:18 +02:00
Theo Arends 4d9d6cd987 Fix MQTT data corruption on ``MQTTLog 4``
Fix MQTT data corruption on ``MQTTLog 4`` (#9571)
2020-10-19 12:46:57 +02:00
Theo Arends f79ed4464e Fix MQTT data corruption on ``MQTTLog 4`
Fix MQTT data corruption on ``MQTTLog 4`` (#9571)
2020-10-19 12:39:27 +02:00
Theo Arends 5ec972376c Consolidate function RemoveSpace 2020-10-10 17:00:37 +02:00
Theo Arends 70d49d210b Remove ctrlchars from mqtt log message 2020-10-10 16:44:35 +02:00
Theo Arends 1da31e5f15 Make LWT state message user configurable
Make LWT state message user configurable (#9395)
2020-09-27 12:51:50 +02:00
Stephan Hadinger 6eadeb81ea Fix TLS crash 2020-09-14 21:48:32 +02:00
Stephan Hadinger bef03c69f6 Add ``#define USE_MQTT_AWS_IOT_LIGHT`` for password based AWS IoT authentication 2020-09-08 21:22:52 +02:00
Stephan Hadinger b0188642b1 Change triple-mode TLS via configuration in a single firmware (TLS AWS IoT, Letsencrypt and No-TLS) 2020-08-12 17:20:37 +02:00
Theo Arends a84ebe552a Refactor rules processing 2020-07-20 17:24:51 +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