A temperature control method for an energy storage system comprising an energy storage battery, comprising: (S01) obtaining a real-time temperature of the energy storage battery; (S02) determining whether the energy storage battery is in a charging-and-discharging state currently or after a preset time; (S03) controlling, in a case that the energy storage battery is not in the charging-and-discharging state, the real-time temperature of the energy storage battery within a first preset range; and (S04) controlling, in a case that the energy storage battery is in the charging-and-discharging state, the real-time temperature of the energy storage battery within a second preset range, comprising: (S041) comparing the real-time temperature T of the energy storage battery with a fifth threshold T5 and a sixth threshold T6, respectively, wherein the fifth threshold T5 is less than the sixth threshold T6, the fifth threshold T5 is the lower limit of the second preset range, and the sixth threshold T6 is the upper limit of the second preset range; (S042) controlling an air conditioner to start heating in a case that the real-time temperature T is less than that the fifth threshold T5; and (S043) controlling the air conditioner to start cooling in a case that the real-time temperature T is greater than the sixth threshold T6; wherein a lower limit of the first preset range is less than a lower limit of the second preset range, and an upper limit of the first preset range is greater than an upper limit of the second preset range. (S01) obtaining a real-time temperature of the energy storage battery; (S02) determining whether the energy storage battery is in a charging-and-discharging state currently or after a preset time; (S03) controlling, in a case that the energy storage battery is not in the charging-and-discharging state, the real-time temperature of the energy storage battery within a first preset range; and (S04) controlling, in a case that the energy storage battery is in the charging-and-discharging state, the real-time temperature of the energy storage battery within a second preset range, comprising: (S041) comparing the real-time temperature T of the energy storage battery with a fifth threshold T5 and a sixth threshold T6, respectively, wherein the fifth threshold T5 is less than the sixth threshold T6, the fifth threshold T5 is the lower limit of the second preset range, and the sixth threshold T6 is the upper limit of the second preset range; (S042) controlling an air conditioner to start heating in a case that the real-time temperature T is less than that the fifth threshold T5; and (S043) controlling the air conditioner to start cooling in a case that the real-time temperature T is greater than the sixth threshold T6; wherein a lower limit of the first preset range is less than a lower limit of the second preset range, and an upper limit of the first preset range is greater than an upper limit of the second preset range. (S041) comparing the real-time temperature T of the energy storage battery with a fifth threshold T5 and a sixth threshold T6, respectively, wherein the fifth threshold T5 is less than the sixth threshold T6, the fifth threshold T5 is the lower limit of the second preset range, and the sixth threshold T6 is the upper limit of the second preset range; (S042) controlling an air conditioner to start heating in a case that the real-time temperature T is less than that the fifth threshold T5; and (S043) controlling the air conditioner to start cooling in a case that the real-time temperature T is greater than the sixth threshold T6; wherein a lower limit of the first preset range is less than a lower limit of the second preset range, and an upper limit of the first preset range is greater than an upper limit of the second preset range. <EOS>