Description Usage Arguments Value Examples
Set the air conditioner (pod) Climate Reactmode. Set to TRUE to enable and FALSE to disable.
1 2 | sensibo.pod.smartmode.set(pod, enable = NULL,
key = getOption("sensibo.key"))
|
pod |
(character) Pod unique id. Required: TRUE |
enable |
(logical) Set to TRUE to turn on the climate react, FALSE to turn off instead. |
key |
(character) API key from https://home.sensibo.com/me/api. |
A list with the updated status of Climate React settings change.
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()
## Enable the Climate React mode for the first pod
sensibo.pod.smartmode.set(pods.id[1], TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.