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
web-this/boiler/web-boiler-html.c@91:8b192efd0288, 2020-06-10 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed Jun 10 10:08:06 2020 +0000
- Revision:
- 91:8b192efd0288
- Parent:
- 53:c1bf7d9db507
- Child:
- 104:46ce1aaf8be7
Changed the run on residual to a fixed 4 bit fraction temperature to allow better than one degree precision.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 24:e3ed1b52c6e6 | 1 | #include "http.h" |
andrewboyson | 53:c1bf7d9db507 | 2 | #include "web-nav-this.h" |
andrewboyson | 51:c7c6ce0d57ad | 3 | #include "web-add.h" |
andrewboyson | 24:e3ed1b52c6e6 | 4 | |
andrewboyson | 49:9491c966dc60 | 5 | void WebBoilerHtml() |
andrewboyson | 24:e3ed1b52c6e6 | 6 | { |
andrewboyson | 24:e3ed1b52c6e6 | 7 | HttpOk("text/html; charset=UTF-8", "no-cache", NULL, NULL); |
andrewboyson | 51:c7c6ce0d57ad | 8 | WebAddHeader("Boiler", "settings.css", "boiler.js"); |
andrewboyson | 51:c7c6ce0d57ad | 9 | WebAddNav(BOILER_PAGE); |
andrewboyson | 51:c7c6ce0d57ad | 10 | WebAddH1("Boiler"); |
andrewboyson | 24:e3ed1b52c6e6 | 11 | |
andrewboyson | 51:c7c6ce0d57ad | 12 | WebAddH2("Outputs"); |
andrewboyson | 51:c7c6ce0d57ad | 13 | WebAddAjaxLed("Boiler call", "ajax-blr-call-toggle"); |
andrewboyson | 51:c7c6ce0d57ad | 14 | WebAddAjaxLed("Boiler pump", "ajax-blr-pump-toggle"); |
andrewboyson | 36:07c7e4d197f2 | 15 | |
andrewboyson | 51:c7c6ce0d57ad | 16 | WebAddH2("Inputs"); |
andrewboyson | 91:8b192efd0288 | 17 | WebAddAjaxLabelledSuffix("Tank", "ajax-tank-html", "°C"); |
andrewboyson | 91:8b192efd0288 | 18 | WebAddAjaxLabelledSuffix("Boiler output", "ajax-blr-out-html", "°C"); |
andrewboyson | 91:8b192efd0288 | 19 | WebAddAjaxLabelledSuffix("Boiler return", "ajax-blr-rtn-html", "°C"); |
andrewboyson | 91:8b192efd0288 | 20 | WebAddAjaxLabelledSuffix("Boiler temp rise", "ajax-blr-rise-html", "°C"); |
andrewboyson | 35:bb8a6d1c034c | 21 | |
andrewboyson | 51:c7c6ce0d57ad | 22 | WebAddH2("Parameters"); |
andrewboyson | 51:c7c6ce0d57ad | 23 | WebAddAjaxInput("Tank 'off' setpoint (deg)", 2, "ajax-tank-set-point", "tanksetpoint" ); |
andrewboyson | 51:c7c6ce0d57ad | 24 | WebAddAjaxInput("Tank 'on' temp drop (deg)", 2, "ajax-tank-hysteresis", "tankhysteresis"); |
andrewboyson | 51:c7c6ce0d57ad | 25 | WebAddAjaxInput("Boiler run on (deg)", 2, "ajax-blr-run-on-deg", "boilerresidual"); |
andrewboyson | 51:c7c6ce0d57ad | 26 | WebAddAjaxInput("Boiler run on (sec)", 2, "ajax-blr-run-on-time", "boilerrunon" ); |
andrewboyson | 24:e3ed1b52c6e6 | 27 | |
andrewboyson | 51:c7c6ce0d57ad | 28 | WebAddEnd(); |
andrewboyson | 24:e3ed1b52c6e6 | 29 | |
andrewboyson | 24:e3ed1b52c6e6 | 30 | } |