MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
This PR enables the detection of unstable connections when using AWS IoT; an unstable connection is defined as 5 or more MQTT connections within the last minute. If this type of connection is detected we deactivate the MQTT publication to focus on data received.
When receiving a new set of connection parameters, we also restart directly if the parameters do not work instead of considering other parameters like xtomqtt.
Checklist:
[X] The pull request is done against the latest development branch
[X] Only one feature/fix was added per PR and the code change compiles without warnings
Description:
This PR enables the detection of unstable connections when using AWS IoT; an unstable connection is defined as 5 or more MQTT connections within the last minute. If this type of connection is detected we deactivate the MQTT publication to focus on data received. When receiving a new set of connection parameters, we also restart directly if the parameters do not work instead of considering other parameters like xtomqtt.
Checklist: