I’m using the MQTT binding to read messages from a Sonoff ESP8285 device. This device runs Tasmota and reads out my P1 Smartmeter and Solaredge Inverter (through Modbus TCP). It sends out a JSON message to Mosquitto MQTT broker and the broker is connected to Openhab through the MQTT binding. Works flawless. Message is structured like:
{
Time: "xx",
P1: { item1: yy, Item2: zz, ...},
SOLAR:{ item1: dd, item2: ff, ...}
}
Yesterday I added some additional data items from the inverter to the datagram and suddenly the P1 meter stopped updating. With the debug logging set for the MQTT binding, it seemed the first part of the MQTT message was truncated. For now I fixed it using shorter ‘item’ names, but for codereadability this isn’t the best thing to do.
Is there a maximum MQTT message size for the binding? And if so, is it configurable?