thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Apache License 2.0
1.72k stars 829 forks source link

My thingsboard gateway does not suport my timeseries variables number [HELP] #453

Closed adriortega closed 2 years ago

adriortega commented 3 years ago

Describe the issue Hi, I am trying to send data from some devices using the thingsboard gateway and the MQTT connection. I have 5 different devices, with a json for each of them. 4 of these jsons send their data, attributes and timeseriesm with no problem.

Neverthless, the json with a bigger amount of variables, 3522 timeseries parameters, has problems with the MQTT connection. It is able to send the 478 attributes to the cloud, but not the timeseries. I suppose that the most probable problem is the huge number of timeseries data.

When I try to send the data, it seems as the gateway disconnects the mqtt connection and in the next second is reconnects again, but the data is not sent.

My question is, there is a threshold number of variables for each json?

Configuration As I have said before, the mqtt connection is continously disconnecting and reconnecting, and I have capture it in the cmd logs.

image

Connector name (If you need help with some connector/converter):

MQTT with SSL for two-way authentication.



**Versions (please complete the following information):**
 - OS: Windows 7 Professional.
 - Thingsboard IoT Gateway version 2.5.5.2
 - Python version 3.7.8
samson0v commented 2 years ago

Hi @adriortega, you can try to update your Gateway via the master branch and use minPackSendDelayMS in tb_gateway.yaml.

Example: зображення

Thanks for your interest in ThingsBoard IoT Gateway.