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.74k stars 844 forks source link

[BUG] Duplicated telemetry #351

Closed everardogentil closed 4 years ago

everardogentil commented 4 years ago

Is there any reason for thingsboard-gateway sending duplicated telemetry for each modbus device connected to it?

image

The data is being sent from device to tb-gateway only once every 10 seconds.

imbeacon commented 4 years ago

Hi @everardogentil

Thank you for your report, I will investigate this issue next week.

imbeacon commented 4 years ago

Hi @everardogentil

Please attach your configuration file for modbus connector.

everardogentil commented 4 years ago

@zbeacon , here is the config file:

modbus_tcp.json.txt

imbeacon commented 4 years ago

Hi @everardogentil ,

I found and fixed the bug, please try to use the version from the master branch and let me know about the results.

everardogentil commented 4 years ago

Thank you, @zbeacon . I will try.