-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate config => server can tell you if a config file is OK Implemented and cleaned up APIs for operation_mode and override_mode resume_normal_operations set_default_mode initialize_new_heater
- Loading branch information
1 parent
81a3262
commit 47dd365
Showing
10 changed files
with
343 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
"config": { | ||
"port": 8080, | ||
"api_key": "abc123xyz", | ||
"app_api_key": "xyz789xyz", | ||
"base_folder": "./" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"debug": {"log_level": 1}, | ||
"operation_mode": "daily_schedule", | ||
"default_mode": "daily_schedule", | ||
"daily_schedule": { | ||
"times_of_operation": [ | ||
{"start": "12:00 am", "stop": "6:30 am", "temp_f": 60}, | ||
{"start": "6:30 am", "stop": "10:00 am", "temp_f": 68}, | ||
{"start": "10:00 am", "stop": "6:30 pm", "temp_f": 64}, | ||
{"start": "6:30 pm", "stop": "11:00 pm", "temp_f": 68}, | ||
{"start": "11:00 pm", "stop": "12:00 am", "temp_f": 60} | ||
]}, | ||
"immediate": {"temp_f": 72, "time_stamp": "1/1/2001 10:15am"}, | ||
"temp_override": {"time_stamp": "1/1/2001 10:15am", "temp_f": 72}, | ||
"off": "off" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
thermoserver/test/valid-backbedroom.default-off.confg.json.orig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"debug": {"log_level": 9}, | ||
"operation_mode": "daily_schedule", | ||
"default_mode": "off", | ||
"daily_schedule": { | ||
"times_of_operation": [ | ||
{"start": "12:00 am", "stop": "6:30 am", "temp_f": 60}, | ||
{"start": "6:30 am", "stop": "10:00 am", "temp_f": 72}, | ||
{"start": "10:00 am", "stop": "6:00 pm", "temp_f": 74}, | ||
{"start": "7:00 pm", "stop": "11:00 pm", "temp_f": 73}, | ||
{"start": "11:00 pm", "stop": "12:00 am", "temp_f": 60} | ||
]}, | ||
"immediate": {"temp_f": 77, "time_stamp": "9/14/13 10:15am"}, | ||
"temp_override": {"time_stamp": "9/14/29 10:15am", "temp_f": 72}, | ||
"off": "off" | ||
} |
Oops, something went wrong.