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.
Before this PR discovery messages at start were not published with ESP8266 due to memory, this PR fixes it.
Also we don't need to use JSON_MSG_BUFFER_MAX with ESP32 into discovery messages as we have now a base of 1024 with JSON_MSG_BUFFER which is more than the requirement for the cover discovery message
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:
Before this PR discovery messages at start were not published with ESP8266 due to memory, this PR fixes it. Also we don't need to use
JSON_MSG_BUFFER_MAX
with ESP32 into discovery messages as we have now a base of1024
withJSON_MSG_BUFFER
which is more than the requirement for the cover discovery messageChecklist: