Automatically detects the port used by WeMo Switch smart plugs.
wemo_PORT(ip, timeout = 0.1)
A characted string or vector of character strings representing the IP address(es) of WeMo Switch smart plug(s).
Number of seconds to wait for a response until giving up. Can not be less than 1 ms (default: 0.1).
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, [email protected]
1 2 3 4
## Not run: wemo_PORT("18.104.22.168") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.