ll_get_device_state_logs | R Documentation |
Returns state logs joined with devices table so filter conditions can be applied on the devices as well. Sorted by descending order (i.e. latest record first).
ll_get_device_state_logs(
group_id = default(group_id),
filter = NULL,
select = c(device_id, device_name, device_state_log_id, log_datetime, log_type,
log_message, starts_with("state"), notes),
max_rows = NULL,
convert_to_TZ = Sys.timezone(),
con = default(con),
quiet = default(quiet)
)
filter |
what filter conditions to apply, if any (forwarded to filter) |
select |
what columns to select (forwarded to select), by default a selection of the most commonly used columns |
max_rows |
if provided, only selects the indicated number of rows (more efficient this way than part of the filter) |
convert_to_TZ |
if provided, converts the log_datetime to the provided timezone (by default the local one stored in |
device state logs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.