Smartphone controlled table lamp