wemo_PORT {magicLamp} | R Documentation |
WeMo Switch Port
Description
Automatically detects the port used by WeMo Switch smart plugs.
Usage
wemo_PORT(ip, timeout = 0.1)
Arguments
ip |
A characted string or vector of character strings representing the IP address(es) of WeMo Switch smart plug(s). |
timeout |
Number of seconds to wait for a response until giving up. Can not be less than 1 ms (default: 0.1). |
Value
A tibble
with two columns:
- ip
The IP address of the WeMo Switch smart plug.
- port
The port at which the WeMo Switch smart plug can be accessed. NA will be returned is no WeMo Switch is detected at this IP.
Author(s)
Simon Garnier, garnier@njit.edu
Examples
## Not run:
wemo_PORT("192.0.1.1")
## End(Not run)
[Package magicLamp version 0.1.0 Index]