magicLamp magicLamp is an R package that provides a set of utility functions to interact with WeMo Switch smart plugs.