/thermostat

Primary LanguageJavaScript

thermostat

USER STORIES

Thermostat starts at 20 degrees

  • As a thermostat user.
  • I want the start temp to be 20.
  • So that the temp is comfortable.

You can increase the temp with an up function

  • As a thermostat user
  • I want to be able to increase the temperature
  • So that I can be warm

You can decrease the temp with a down function

  • As a thermostat user
  • I want to be able to decrease the temperature
  • So that I can be cool

The minimum temperature is 10 degrees

  • As a thermostat user
  • I want to be able to set the min temp
  • So that it is never too cold

If power saving mode is on, the maximum temperature is 25 degrees

  • As a thermostat user
  • I don't want to waste money
  • To avoid overheating I want to set a max temp in PSM.

If power saving mode is off, the maximum temperature is 32 degrees

  • As a thermostat user
  • I don't want to waste money
  • To avoid overheating I want to set a max temp.

Power saving mode is on by default

  • As a thermostat user
  • I don't want to waste money
  • I want the the thermostats default to be power save

You can reset the temperature to 20 with a reset function

  • As a thermostat user
  • So that it is comfortable
  • I want to be able able to reset the temp

You can ask about the thermostat's current energy usage: < 18 is low-usage, < 25 is medium-usage, anything else is high-usage.

  • As a thermostat user
  • To be aware of energy usage
  • I want to be able to check the usage level

(In the challenges where we add an interface, low-usage will be indicated with green, medium-usage indicated with black, high-usage indicated with red.)