Central Heating controller using the real time clock, PHY module for internet, 1-wire interface for temperature sensors, a system log and a configuration file

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

/media/uploads/andrewboyson/heating.sch

/media/uploads/andrewboyson/heating.brd

/media/uploads/andrewboyson/eagle.epf

Revision:
41:6413522ed343
Parent:
36:07c7e4d197f2
Child:
47:229338b3adcb
diff -r e3b01bec9b7e -r 6413522ed343 http-derived/boiler/http-boiler-html.c
--- a/http-derived/boiler/http-boiler-html.c	Fri Mar 15 12:21:02 2019 +0000
+++ b/http-derived/boiler/http-boiler-html.c	Mon Mar 25 10:35:43 2019 +0000
@@ -13,19 +13,19 @@
     PageAddH1(PageSite, "Boiler");
     
     PageAddH2("Outputs");
-    PageAddAjaxLed(12, "Boiler call", "ajax-blr-call-toggle");
-    PageAddAjaxLed(12, "Boiler pump", "ajax-blr-pump-toggle");
+    PageAddAjaxLed("Boiler call", "ajax-blr-call-toggle");
+    PageAddAjaxLed("Boiler pump", "ajax-blr-pump-toggle");
     
     PageAddH2("Inputs");
-    PageAddAjaxLabelled(11, "Tank",          "ajax-tank-html",    "°C");
-    PageAddAjaxLabelled(11, "Boiler output", "ajax-blr-out-html", "°C");
-    PageAddAjaxLabelled(11, "Boiler return", "ajax-blr-rtn-html", "°C");
+    PageAddAjaxLabelledSuffix("Tank",          "ajax-tank-html",    "°C");
+    PageAddAjaxLabelledSuffix("Boiler output", "ajax-blr-out-html", "°C");
+    PageAddAjaxLabelledSuffix("Boiler return", "ajax-blr-rtn-html", "°C");
 
     PageAddH2("Parameters");
-    PageAddInputInt(12, "Tank 'off' setpoint (deg)", 2, BoilerGetTankSetPoint(),   "/boiler", "tanksetpoint"  );
-    PageAddInputInt(12, "Tank 'on' temp drop (deg)", 2, BoilerGetTankHysteresis(), "/boiler", "tankhysteresis");
-    PageAddInputInt(12, "Boiler run on (deg)",       2, BoilerGetRunOnResidual(),  "/boiler", "boilerresidual");
-    PageAddInputInt(12, "Boiler run on (sec)",       2, BoilerGetRunOnTime(),      "/boiler", "boilerrunon"   );
+    PageAddInputInt("Tank 'off' setpoint (deg)", 2, BoilerGetTankSetPoint(),   "/boiler", "tanksetpoint"  );
+    PageAddInputInt("Tank 'on' temp drop (deg)", 2, BoilerGetTankHysteresis(), "/boiler", "tankhysteresis");
+    PageAddInputInt("Boiler run on (deg)",       2, BoilerGetRunOnResidual(),  "/boiler", "boilerresidual");
+    PageAddInputInt("Boiler run on (sec)",       2, BoilerGetRunOnTime(),      "/boiler", "boilerrunon"   );
 
     PageAddEnd();