sensibo.pod.smartmode.set: Set the air conditioner (pod) Climate Reactmode. Set to TRUE...

Description Usage Arguments Value Examples

Description

Set the air conditioner (pod) Climate Reactmode. Set to TRUE to enable and FALSE to disable.

Usage

1
2
sensibo.pod.smartmode.set(pod, enable = NULL,
  key = getOption("sensibo.key"))

Arguments

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.

Value

A list with the updated status of Climate React settings change.

Examples

 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)

sensibo.sky documentation built on June 24, 2019, 5:03 p.m.