Heat-Powered Magnetic Thermometer