Pošljite SMS: Nonlinear waves in heterogeneous elastic rods via homogenization