Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
44 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env ruby | ||
#We start the thermoserver using the config file from this folder | ||
Kernel.exec("ruby ../thermoserver/thermoserver.rb ./boot-server.json") |
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
<%="hello world<br />Here"%> | ||
|
||
<p /> | ||
List of available thermostats to control | ||
...Clickable List... => link to control.erb | ||
Create new thermostat to control | ||
<% list_of_heaters.each do |heater_name|%> | ||
|
||
<p>List of available thermostats to control</p> | ||
<% heater_url = url("/app/control/#{app_api_key}/#{heater_name}")%> | ||
<a href="<%=heater_url%>"><%=heater_name%></a><br /> | ||
|
||
<% end # list_of_heaters.each do...%> | ||
|
||
<p>Create new thermostat to control</p> | ||
...Input box for name of thermostat... | ||
...Button to create new... | ||
...Button to create new... |