ThingsboardApi-class: Thingboard API Class

Description Fields See Also Examples

Description

Thingboard API Class

Fields

url

character URL of the 'ThingsBoard' IoT platform.

publicId

character the public ID of the device

token

character the current token

tokenTimeOut

A numeric contains the time out of a token in seconds (default 300)

tokenEpiration

A numeric with the Epoch of the expiration date time of current token

See Also

The ThingsboardApi class methods :

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
thinksboard_api = tryCatch(
  {
    ThingsboardApi(url="http://scada.g-eau.fr",
                   publicId="299cedc0-f3e9-11e8-9dbf-cbc1e37c11e3")
  },
  error = function(e) {
    message("An error occured:\n", e)
    return(FALSE)
  }
)

Rthingsboard documentation built on Jan. 19, 2022, 5:08 p.m.