A temperature control method for an energy storage system comprising an energy storage battery, comprising: obtaining a real-time temperature of the energy storage battery; determining whether the energy storage battery is in a charging-and-discharging state currently or after a preset time; 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 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: 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; 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 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. obtaining a real-time temperature of the energy storage battery; determining whether the energy storage battery is in a charging-and-discharging state currently or after a preset time; 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 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: 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; 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 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. 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; 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 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.