wemo_PORT: WeMo Switch Port

Description Usage Arguments Value Author(s) Examples

Description

Automatically detects the port used by WeMo Switch smart plugs.

Usage

1
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, [email protected]

Examples

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

## End(Not run)

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