Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
There was numerous issues raised by users trying to connect on MQTT TLS endpoints using a non-TLS firmware, or forgetting to enable TLS.
This PR adds a warning when trying to connect without TLS to a port that is by convention using TLS: 8883, 443, 8443
Exemple:
00:00:00.193 MQT: Warning non-TLS connection on TLS port 8883
This warning is not displayed in tasmota-minimal to save flash size.
Checklist:
[x] The pull request is done against the latest development branch
[x] Only relevant files were touched
[x] Only one feature/fix was added per PR and the code change compiles without warnings
[x] The code change is tested and works with Tasmota core ESP8266 V.2.7.7
[x] The code change is tested and works with Tasmota core ESP32 V.3.0.5
Description:
There was numerous issues raised by users trying to connect on MQTT TLS endpoints using a non-TLS firmware, or forgetting to enable TLS. This PR adds a warning when trying to connect without TLS to a port that is by convention using TLS:
8883
,443
,8443
Exemple:
This warning is not displayed in tasmota-minimal to save flash size.
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass