Description Usage Arguments Value Examples
Probe the historical measurements sent by a given air conditioner (pod) for up to 7 days in the past.
1 | sensibo.pod.historical(pod, days = 1, key = getOption("sensibo.key"))
|
pod |
(character) Pod unique id. |
days |
(integer) The number of days of measurements to get (max 7), including current day. |
key |
(character) API key from https://home.sensibo.com/me/api. |
A data frame with with time, temperature and humidity values.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# Assuming that a valid Sensibo Sky API Key was created on https://home.sensibo.com/me/api
# and added to a 'sensibo.sky' global option.
#
# options("sensibo.key" = <Your Sensibo API Key>)
## Getting the list of pods available to the user
pods.id <- sensibo.pods()
## Get a week of data values from the first pod
pod.data <- sensibo.pod.historical(pods.id[1], days = 7)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.