wemo_STATE: Check WeMo Switch State

Description Usage Arguments Value Author(s) Examples

Description

Check the ON/OFF state of WeMo Switch smart plugs.

Usage

1

Arguments

ip

A characted string or vector of character strings representing the IP address(es) of WeMo Switch smart plug(s).

Value

A tibble with two columns:

ip

The IP address of the WeMo Switch smart plug

state

'ON' if the WeMo Switch is turned on, 'OFF' if it is turned off. NA will be returned is no WeMo Switch is detected at this IP.

Author(s)

Simon Garnier, garnier@njit.edu

Examples

1
2
3
4
## Not run: 
wemo_STATE("192.0.1.1")

## End(Not run)

magicLamp documentation built on May 2, 2019, 1:08 p.m.