Description Usage Arguments Value Author(s) Examples
Automatically detects the port used by WeMo Switch smart plugs.
1 | wemo_PORT(ip, timeout = 0.1)
|
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). |
A tibble
with two columns:
The IP address of the WeMo Switch smart plug.
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.
Simon Garnier, garnier@njit.edu
1 2 3 4 | ## Not run:
wemo_PORT("192.0.1.1")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.