Thanks for the detailed answer mate. So, to be sure I get this correct, when you work in the elevator frame, and using the conservation of energy in the same way as you did in the lab frame, you get:
$$P_{contact} + P_{weight} + P_{chem} = \frac{dT}{dt}$$
$$P_{contact}=0 , P_{weight} = -...