ThingsboardApi-class {Rthingsboard}R Documentation

Thingboard API Class

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


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)
  }
)


[Package Rthingsboard version 0.2.7 Index]