software:controller:ethersex
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:controller:ethersex [2013/08/23 20:05] – [Konfigurieren] udo1 | software:controller:ethersex [2017/05/15 22:45] (aktuell) – Frontend-Verzeichnis geändert jau | ||
|---|---|---|---|
| Zeile 13: | Zeile 13: | ||
| < | < | ||
| # apt-get update | # apt-get update | ||
| - | # apt-get install avr-libc | + | # apt-get install |
| </ | </ | ||
| Zeile 25: | Zeile 25: | ||
| < | < | ||
| # sudo apt-get update | # sudo apt-get update | ||
| - | # sudo apt-get install avr-libc | + | # sudo apt-get install |
| </ | </ | ||
| Zeile 45: | Zeile 45: | ||
| ===== Konfigurieren ===== | ===== Konfigurieren ===== | ||
| - | <note important> | + | <note important> |
| - | die Datei watchasync.c ausgetauscht | + | |
| Um S0-Impulse vom AVR zur Middleware zu bekommen, benutzen wir den watchasync-Service von ethersex. Dieser Service ist recht flexibel und somit auch etwas komplex. | Um S0-Impulse vom AVR zur Middleware zu bekommen, benutzen wir den watchasync-Service von ethersex. Dieser Service ist recht flexibel und somit auch etwas komplex. | ||
| Zeile 121: | Zeile 120: | ||
| HTTP Method: POST | HTTP Method: POST | ||
| Path in front of pin identifier: "/ | Path in front of pin identifier: "/ | ||
| - | Path at the end: " | + | Path at the end: " |
| + | [*] Include unix timestamp | ||
| + | Path in front of timestamp: ".json?ts=" | ||
| </ | </ | ||
| Zeile 132: | Zeile 133: | ||
| Der Aufruf im volkszaehler Frontend lautet: | Der Aufruf im volkszaehler Frontend lautet: | ||
| - | < | + | < |
| ==== AVR-Zeit ==== | ==== AVR-Zeit ==== | ||
| Zeile 161: | Zeile 162: | ||
| Port number: 80 | Port number: 80 | ||
| HTTP Method: POST | HTTP Method: POST | ||
| - | Path in front of pin identifier: " | + | Path in front of pin identifier: "/middleware.php/ |
| - | Path at the end: "" | + | Path at the end: "000" |
| [*] Include unix timestamp | [*] Include unix timestamp | ||
| Path in front of timestamp: " | Path in front of timestamp: " | ||
software/controller/ethersex.1377281108.txt.gz · Zuletzt geändert: von udo1