wemo_STATE {magicLamp} | R Documentation |
Check WeMo Switch State
Description
Check the ON/OFF state of WeMo Switch smart plugs.
Usage
wemo_STATE(ip)
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
## Not run:
wemo_STATE("192.0.1.1")
## End(Not run)
[Package magicLamp version 0.1.0 Index]