sensibo.pod.historical {sensibo.sky} | R Documentation |
Probe the historical measurements sent by a given air conditioner (pod) for up to 7 days in the past.
Description
Probe the historical measurements sent by a given air conditioner (pod) for up to 7 days in the past.
Usage
sensibo.pod.historical(pod, days = 1, key = getOption("sensibo.key"))
Arguments
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. |
Value
A data frame with with time, temperature and humidity values.
Examples
## 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)
[Package sensibo.sky version 1.0.0 Index]