Commit Graph

113 Commits

Author SHA1 Message Date
Adrian Scillato 442a7f9ba7
Use t_bearssl.h instead of bearssl.h 2021-04-29 23:39:08 -03:00
ksaye 8aa006625a
Moving includes back to local
Moving the includes back under the '#ifdef USE_MQTT_AZURE_IOT', so the build process will complete for all builds.
2021-04-29 14:45:45 -05:00
ksaye 5b90754af6
Moving the SSL and Base64 to global 2021-04-29 13:13:58 -05:00
ksaye 3c78626b12
Adding support for SAS Token Generation
Azure IoT Hub uses a Sha256 has as opposed to a password.  This change enables the admin to add the 'Preshared Key' and lets Tasmota calculate the SAS token, vs the original changes where the end user had to calculate the SAS Token.
2021-04-29 12:53:46 -05:00
Theo Arends 74156c9965 Add support for MQTT using Azure IoT Hub
Add support for MQTT using Azure IoT Hub by Kevin Saye (#11906)
2021-04-27 11:23:17 +02:00
ksaye 5228f04b19
Adding support for Azure IoT Hub
Simple testing documentation here: https://kevinsaye.wordpress.com/2021/04/26/using-tasmota-with-azure-iot-hub/ until I can contribute tot the Tasmota documentation site.
2021-04-26 18:02:38 -05:00
Theo Arends 283a1201f1 Add comments to MqttPublish 2021-04-21 10:38:20 +02:00
Theo Arends ff13c563d8 Move MqttPublish log to heap 2021-04-21 09:52:05 +02:00
Theo Arends 10df74e0bf Update xdrv_02_mqtt.ino 2021-04-20 18:35:32 +02:00
Theo Arends 507e075bc1 Fix stack shortage exception 2 by using heap 2021-04-20 18:29:07 +02:00
Theo Arends e94b997627 Fix restart Info JSON messages 2021-04-07 15:22:07 +02:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Stephan Hadinger c524124e1e TLS support for private keys on ESP32 2021-03-30 19:17:03 +02:00
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