Benutzer-Werkzeuge

Webseiten-Werkzeuge


hardware:controllers:youless

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
hardware:controllers:youless [2017/06/02 08:38] tiedihardware:controllers:youless [2018/01/25 16:22] (aktuell) – code jau
Zeile 41: Zeile 41:
 <code>sudo nano /etc/yl.php</code> <code>sudo nano /etc/yl.php</code>
 the file "yl.php" in the folder "etc" doesn't exist before, so you now have created. Insert the following code and press "STRG" +"X" to save an exit the file: the file "yl.php" in the folder "etc" doesn't exist before, so you now have created. Insert the following code and press "STRG" +"X" to save an exit the file:
-<code php|yl.php>+<code php yl.php>
 <?php <?php
   /**   /**
Zeile 153: Zeile 153:
 <code>sudo nano /etc/vzapihelper.php</code> <code>sudo nano /etc/vzapihelper.php</code>
 Insert the following code and press "STRG" +"X" to save an exit the file: Insert the following code and press "STRG" +"X" to save an exit the file:
-<code php|vzapihelper.php>+<code php vzapihelper.php>
 <?php <?php
   /**   /**
Zeile 246: Zeile 246:
 <code>sudo nano /etc/yl.sh</code> <code>sudo nano /etc/yl.sh</code>
 Insert the following code and press "STRG" +"X" to save an exit the file: Insert the following code and press "STRG" +"X" to save an exit the file:
-<code sh|yl.sh> +<code bash yl.sh> 
-#/bin/bash+#!/bin/bash
 while true while true
 do do
Zeile 277: Zeile 277:
 To edit the crontab type To edit the crontab type
 <code> <code>
-crontab -e+sudo nano /etc/rc.local
 </code> </code>
-and add the following line on the bottom of the file:+and add the following line on the bottom of the file, before the line "exit 0":
 <code> <code>
-* * * * * /bin/bash /etc/yl.sh+bash /etc/yl.sh&
 </code> </code>
-It's very important the under this line is another line which is empty oder you can type a #. If it's not the crontab won't work. 
- 
-{{:hardware:controllers:unbenannt.jpg?400|}} 
  
 So that's it. now it should work. So that's it. now it should work.
Zeile 313: Zeile 310:
  
 For any feedback please contact wf (at) bitplan.com or tiedi (at) web.de. Enjoy ... For any feedback please contact wf (at) bitplan.com or tiedi (at) web.de. Enjoy ...
 +
 +
 +[[https://wiki.volkszaehler.org/howto/raspberry_pi_image?s[]=raspberry|how to flash a complete volkszahler image on your raspberry]]
 +
 +
  
hardware/controllers/youless.1496385504.txt.gz · Zuletzt geändert: 2017/06/02 08:38 von tiedi