lightOn()

Turn on the LED. For WeMo switches, turn on the switch. For Dropcam, turn on camera (enable streaming)

Arguments

none.

Returns

If successful, will return a tag object with updated signal strength (rssi), battery voltage, txpwr, etc. If tag did not respond, will return null.

For WeMo device, you can use returned tag object's lit property to check if the operation was successful or not (because WeMo not connected to Internet, Belkin's Remote Access service outage etc). Then if not successful, take some action. For example, to turn on WeMo,
if(!wemo.lightOn().lit)<~phone~>.push("could not turn on "+wemo.name);