initial temperature app (copied from a16x164)