hardware:controllers:youless
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
hardware:controllers:youless [2017/06/02 08:36] – tiedi | hardware:controllers:youless [2017/06/08 09:28] – tiedi | ||
---|---|---|---|
Zeile 35: | Zeile 35: | ||
* php file: vzapihelper.php | * php file: vzapihelper.php | ||
* php file: yl.php | * php file: yl.php | ||
- | * sh file: yl.sh | + | * sh file: yl.sh (the only file you have to enter individual code. UUIDs of your VZ-Channels an the IP adress of your youless device) |
=== creating the 3 used files === | === creating the 3 used files === | ||
Zeile 247: | Zeile 247: | ||
Insert the following code and press " | Insert the following code and press " | ||
<code sh|yl.sh> | <code sh|yl.sh> | ||
- | #1 /bin/bash | + | #!/bin/bash |
while true | while true | ||
do | do | ||
Zeile 277: | Zeile 277: | ||
To edit the crontab type | To edit the crontab type | ||
< | < | ||
- | crontab -e | + | sudo nano / |
</ | </ | ||
- | 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": |
< | < | ||
- | * * * * * /bin/bash /etc/yl.sh | + | bash /etc/yl.sh& |
</ | </ | ||
- | 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. | ||
- | |||
- | {{: | ||
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:// | ||
+ | |||
+ | |||
hardware/controllers/youless.txt · Zuletzt geändert: 2018/01/25 16:22 von jau