Lattice elasticity, waves and temperature from an interaction potential