ll_add_device | R Documentation |
Add new device
ll_add_device(
device_name,
desc = NA,
device_type_id = "undefined",
group_id = default(group_id),
particle_id = NA,
in_use = TRUE,
con = default(con),
quiet = default(quiet)
)
device_name |
device name / id, must be unique for each group (will error if not) |
desc |
device description |
device_type_id |
device type name, must exist in database (will error if not) |
group_id |
group name, must exist in database (will error if not) |
particle_id |
optional, will be automatically filled in the first time the device logs to the database |
in_use |
whether device is in use (if not, cannot log any data) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.