Andrew Boyson / Mbed 2 deprecated heating

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

Committer:
andrewboyson
Date:
Wed Jun 09 09:25:03 2021 +0000
Revision:
6:0164a06f25e7
Parent:
5:3579001bea1b
Child:
8:8ac076ce51af
Activated the boiler call disable if delta t is outside of the window.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 0:22b158d3c76f 1 #include "http.h"
andrewboyson 0:22b158d3c76f 2 #include "web-nav-this.h"
andrewboyson 0:22b158d3c76f 3 #include "web-add.h"
andrewboyson 0:22b158d3c76f 4
andrewboyson 0:22b158d3c76f 5 void WebRadiatorHtml()
andrewboyson 0:22b158d3c76f 6 {
andrewboyson 0:22b158d3c76f 7 HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL);
andrewboyson 0:22b158d3c76f 8 WebAddHeader("Radiator", "settings.css", "radiator.js");
andrewboyson 0:22b158d3c76f 9 WebAddNav(RADIATOR_PAGE);
andrewboyson 0:22b158d3c76f 10 WebAddH1("Radiator");
andrewboyson 0:22b158d3c76f 11
andrewboyson 0:22b158d3c76f 12 WebAddH2("Output");
andrewboyson 0:22b158d3c76f 13 WebAddAjaxLed ("Radiator pump", "ajax-radiator-toggle");
andrewboyson 0:22b158d3c76f 14
andrewboyson 0:22b158d3c76f 15 WebAddH2("Inputs");
andrewboyson 0:22b158d3c76f 16 WebAddAjaxLabelledSuffix("Hall temperature", "ajax-hall-html", "°C");
andrewboyson 5:3579001bea1b 17 WebAddAjaxLabelledSuffix("Tank temperature", "ajax-tank-html", "°C");
andrewboyson 0:22b158d3c76f 18 WebAddAjaxLed ("Programmer output", "ajax-program-toggle");
andrewboyson 0:22b158d3c76f 19
andrewboyson 0:22b158d3c76f 20 WebAddH2("Parameters");
andrewboyson 6:0164a06f25e7 21 WebAddAjaxInputToggle ("Mode Summer|Winter", "ajax-mode-toggle" , "htg-chg-mode" );
andrewboyson 6:0164a06f25e7 22 WebAddAjaxInput ("Winter (night)", 2, "ajax-night-set-point" , "nighttemp");
andrewboyson 6:0164a06f25e7 23 WebAddAjaxInput ("Summer (frost)", 2, "ajax-frost-set-point" , "frosttemp");
andrewboyson 6:0164a06f25e7 24 WebAddAjaxInputToggle ("Override", "ajax-override-toggle" , "htg-chg-override");
andrewboyson 6:0164a06f25e7 25 WebAddAjaxInput ("Override cancel time", 4, "ajax-override-cancel-minute", "overridecancelminute");
andrewboyson 6:0164a06f25e7 26 WebAddAjaxInputToggle ("Hot water priority", "ajax-hw-prot-toggle" , "htg-chg-hw-prot" );
andrewboyson 6:0164a06f25e7 27 WebAddAjaxInput ("Hot water priority tank min", 2, "ajax-hw-prot-temp" , "hwprotecttemp");
andrewboyson 0:22b158d3c76f 28
andrewboyson 0:22b158d3c76f 29 WebAddEnd();
andrewboyson 0:22b158d3c76f 30
andrewboyson 0:22b158d3c76f 31 }