'Thingsboard Gateway Telemetry topic closes my MQTT Connection
I have come across an issue that I can't seem to resolve with Thingsboard.
I am using the Gateway for telemetry. My gateway has many different devices connected to it. The way that my gateway works, is that as a "Device" below it publishes an "update", the gateway forwards the update to the TB gateway. This is done in the following format:
{
"Device A": [
{
"ts": 1483228800000,
"values": {
"temperature": 42,
"humidity": 80
}
}
]
}
The problem that I have is that as soon as I tell my gateway to send telemetry for more than 1 device, the whole thing comes to a halt and my MQTT client constantly disconnects and reconnects again.
I can only assume that this is because I am trying to send a single message/payload per device update, rather than one payload with all devices updates in one go. Unfortunately, my software does not support the latter...
Does anyone know a way around this?
Thanks in advance!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
