Skip to content

sacot41/Test_subcrib_unreliable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test project for bug in Thingsboard Python SDK

Thingsboard Python SDK seem to have bug; subcription for device under a gateway is not reliable.

Step to reproduce :

  1. Connect to Thingsboard.cloud as a gateway with the TBGatewayMqttClient class.
  2. Connect a device with the method "gw_connect_device".
  3. Subscript to all attribute with method "gw_subscribe_to_all_device_attributes".
  4. Test that you receive attribute update. This should work.
  5. Wait some time. Typically, it's under 5 minutes.
  6. Test again attribute update. Callback defined in "gw_subscribe_to_all_device_attributes" will not receive any update.

I test it under python 3.7 and 3.11.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages