Controls the central heating system and the lights.

Dependencies:   1-wire clock crypto fram log lpc1768 net web wiz mbed

Revision:
8:8ac076ce51af
Parent:
0:22b158d3c76f
--- a/web-this/home/web-home-html.c	Mon Jun 06 11:10:04 2022 +0000
+++ b/web-this/home/web-home-html.c	Sat Nov 12 10:03:38 2022 +0000
@@ -6,7 +6,7 @@
     HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL);
     WebAddHeader("Home", NULL, "radiator.js");
     
-    HttpAddText("<a href='/program' class='hamburger'>\r\n");
+    HttpAddText("<a href='/radiator' class='hamburger'>\r\n");
         HttpAddText("<div class='bar'  ></div>\r\n");
         HttpAddText("<div class='space'></div>\r\n");
         HttpAddText("<div class='bar'  ></div>\r\n");
@@ -18,11 +18,13 @@
     
     HttpAddText("<div id='ajax-date-local'></div>\r\n");
     HttpAddText("<br/>\r\n");
-    WebAddAjaxLabelledSuffix("Hall temperature", "ajax-hall-html", "&deg;C");
+    WebAddAjaxLabelledSuffix("Hall temperature"  , "ajax-hall-html", "&deg;C");
+    HttpAddText("<br/>\r\n");
+    WebAddAjaxInputToggle   ("Radiators"         , "ajax-radiators-on-toggle", "htg-chg-override");
     HttpAddText("<br/>\r\n");
-    WebAddAjaxInputToggle("Winter mode", "ajax-mode-toggle"    , "htg-chg-mode"    );
+    WebAddAjaxInputToggle   ("Hot water priority", "ajax-hw-prot-toggle"     , "htg-chg-hw-prot" );
     HttpAddText("<br/>\r\n");
-    WebAddAjaxInputToggle("Radiators"  , "ajax-radiator-toggle", "htg-chg-override");
+    WebAddAjaxInputToggle   ("Winter mode"       , "ajax-mode-toggle"        , "htg-chg-mode"    );
     HttpAddText("<br/>\r\n");
 
     WebAddEnd();