Skip to content
 
 

Latest commit

 

History

108 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Not ready for prime time! (Incomplete and undocumented, but what's here is useful and works.)

This code is utterly untested, but will get you pointed in the right direction.

mothership_url = "http://www.wherever.org:8080"
thingsboard_username = "who_are_you"
thingsboard_password = "xyzzy"

tbapi = TbApi(mothership_url, thingsboard_username, thingsboard_password)

device = tbapi.get_device_by_name("device_name")

latest_temp = tbapi.get_latest_telemetry(device, "temperature")
all_humidity = tbapi.get_telemetry(device, "humidity")     # Lots more options on this method

About

Beginnings of a library for interacting with Thingsboard via the REST interface

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages