Benutzer-Werkzeuge

Webseiten-Werkzeuge


software:controller:ethersex

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
software:controller:ethersex [2013/08/23 20:10] – [Die einfachere Variante: Verwenden der Serverzeit für die Zeitstempel] udo1software:controller:ethersex [2017/05/15 22:45] (aktuell) – Frontend-Verzeichnis geändert jau
Zeile 13: Zeile 13:
 <code> <code>
 # apt-get update # apt-get update
-# apt-get install avr-libc avrdude binutils-avr dialog gawk git gcc-avr git libncurses5-dev m4 make gcc+# apt-get install gcc-avr avr-libc binutils-avr m4 gawk libncurses5-dev make dialog git-core avrdude
 </code> </code>
  
Zeile 25: Zeile 25:
 <code> <code>
 # sudo apt-get update # sudo apt-get update
-# sudo apt-get install avr-libc avrdude binutils-avr dialog gawk git gcc-avr git libncurses5-dev m4 make gcc+# sudo apt-get install gcc-avr avr-libc binutils-avr m4 gawk libncurses5-dev make dialog git-core avrdude 
 </code> </code>
  
Zeile 45: Zeile 45:
 ===== Konfigurieren ===== ===== Konfigurieren =====
  
-<note important>Da die middleware und das Frontend mittlerweile auf eine Timestamp-Auflösung in Millisekunden umgestellt wurde, muss in E6 unter /services/watchasync +<note important>Da die middleware und das Frontend mittlerweile auf eine Timestamp-Auflösung in Millisekunden umgestellt wurde, muss in E6  im watchasync service unter "Path at the end:" "000" eingetragen werden.</note>
-die Datei watchasync.c ausgetauscht werden.\\ Hier die geänderte Version: {{:hardware:controllers:watchasync.rar|}}</note>+
  
 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: "/middleware.php/data/"    Path in front of pin identifier: "/middleware.php/data/"
-   Path at the end: ""+   Path at the end: "000"
    [*] Include unix timestamp    [*] Include unix timestamp
      Path in front of timestamp: ".json?ts="      Path in front of timestamp: ".json?ts="
Zeile 134: Zeile 133:
  
 Der Aufruf im volkszaehler Frontend lautet: Der Aufruf im volkszaehler Frontend lautet:
-<code>demo.volkszaehler.org/frontend/?uuid=<UUID></code>+<code>demo.volkszaehler.org/?uuid=<UUID></code>
  
 ==== AVR-Zeit ==== ==== AVR-Zeit ====
Zeile 163: Zeile 162:
    Port number: 80    Port number: 80
    HTTP Method: POST    HTTP Method: POST
-   Path in front of pin identifier: "middleware.php/data/" //oder eigener Pfad, i.d.r.> middleware.php/data/ +   Path in front of pin identifier: "/middleware.php/data/" //oder eigener Pfad, i.d.r.> middleware.php/data/ 
-   Path at the end: ""+   Path at the end: "000"
    [*] Include unix timestamp    [*] Include unix timestamp
      Path in front of timestamp: ".json?ts="      Path in front of timestamp: ".json?ts="
software/controller/ethersex.1377281407.txt.gz · Zuletzt geändert: 2013/08/23 20:10 von udo1