thingsboard-python-client-sdk icon indicating copy to clipboard operation
thingsboard-python-client-sdk copied to clipboard

If you use 'gw_send_attributes' for send in loop, make sure you have some sleep time in the end of loop.

Open jiekechoo opened this issue 3 years ago • 0 comments

If you do not have sleep time, there are some lost in TB. NO ERRORS.

for (device, data) in dataset:
  gateway.gw_connect_device(device)
  gateway.gw_send_attributes(device, data)
  gateway.gw_disconnect_device(device)
  time.sleep(0.01)

jiekechoo avatar Sep 01 '22 15:09 jiekechoo