MQTT connected light switch with geofencing