heating_control_system_with_webinterface
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| heating_control_system_with_webinterface [2014/10/31 19:29] – [Webrequest] karl | heating_control_system_with_webinterface [2017/04/04 06:42] (aktuell) – [First Implementation - WiFi-Relay-Board] karl | ||
|---|---|---|---|
| Zeile 9: | Zeile 9: | ||
| ===== Project Goal ===== | ===== Project Goal ===== | ||
| - | * The overall goal is to keep the temperature in my office at a nice temperature when I'm there, and so save energy, when I'm not there. | + | * The overall goal is to keep the temperature in my office at a nice temperature when I'm there, and to save energy, when I'm not there. |
| * Control the central heating system with the circulation pump for the radiators. | * Control the central heating system with the circulation pump for the radiators. | ||
| - | * Very simple | + | * A local userinterface, |
| - | * Webinterface, | + | * Webinterface, |
| * The regulator-algorithm should be local in the office. So it will work without any internet connection. But the system will have to relay on a working WiFi connection. | * The regulator-algorithm should be local in the office. So it will work without any internet connection. But the system will have to relay on a working WiFi connection. | ||
| Zeile 33: | Zeile 33: | ||
| ===== Communication ===== | ===== Communication ===== | ||
| - | ==== Webrequest | + | ==== HTTP ==== |
| - | When you request a website by entering a url in your web browser, the web server gets a message via TCP. I've tested this with the simple software tool [[Networking#SocketTest from Akshathkumar Shetty]]. \\ | + | For the communication simple HTTP messages will be used, to tranfer data between |
| - | I've opened a TCP server listening to port 8080. When I enter | + | |
| - | http:// | + | |
| - | , I get this message | + | |
| - | GET / | + | |
| - | Host: localhost: | + | |
| - | User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/ | + | |
| - | Accept: text/ | + | |
| - | Accept-Language: | + | |
| - | Accept-Encoding: | + | |
| - | Connection: keep-alive | + | |
| - | The server also knows, which IP address wants to connect to it. | + | |
| - | The most important thing is, that we can transfer data in a very simple way from the browser to the TCP server, by passing some arguments into the URL. In fact it doesn' | ||
| + | ===== First Implementation - WiFi-Relay-Board ===== | ||
| + | 16.12.2014 | ||
| + | {{ :: | ||
| + | {{ : | ||
| + | The first version, which has the most important feature - remotly turning on the heating system - has been implemented the last days. \\ | ||
| + | I built the Wifi-Relay-Board. The firmware is very simple. It fetches every 30 seconds a text-file from my webserver, which tells the relay-board, | ||
| + | Here is a link to the text-file: [[http:// | ||
| + | This file I can edit with the online text editor, written in PHP. Many thanks to Simon Thorpe, which has written this nice web-application. [[https:// | ||
| + | Here you can download the software and documentation: | ||
| + | {{tag> | ||
heating_control_system_with_webinterface.1414780187.txt.gz · Zuletzt geändert: von karl
