-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswitches.yaml
executable file
·68 lines (68 loc) · 4.59 KB
/
switches.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
- platform: command_line
scan_interval: 5
switches:
provoleas_led:
command_on: echo -n 11 | nc 192.168.1.100 6722
command_off: echo -n 21 | nc 192.168.1.100 6722
friendly_name: LED
provoleas_aristera:
command_on: echo -n 12 | nc 192.168.1.100 6722
command_off: echo -n 22 | nc 192.168.1.100 6722
friendly_name: Aristera
# provoleas_led_cmd:
# command_on: "ssh -i /ssl/rroot_key -o StrictHostKeyChecking=no [email protected] 'echo -n 11 | nc 192.168.1.100 6722'"
# command_off: "ssh -i /ssl/rroot_key -o StrictHostKeyChecking=no [email protected] 'echo -n 21 | nc 192.168.1.100 6722'"
# command_state: "ssh -i /ssl/rroot_key -o StrictHostKeyChecking=no [email protected] 'echo -n 00 | nc 192.168.1.100 6722'"
# value_template: '{{ value == "10000000" or value == "11000000" }}'
# friendly_name: Προβολέας LED
# provoleas_aristera_cmd:
# command_on: "ssh -i /ssl/rroot_key -o StrictHostKeyChecking=no [email protected] 'echo -n 12 | nc 192.168.1.100 6722'"
# command_off: "ssh -i /ssl/rroot_key -o StrictHostKeyChecking=no [email protected] 'echo -n 22 | nc 192.168.1.100 6722'"
# command_state: "ssh -i /ssl/rroot_key -o StrictHostKeyChecking=no [email protected] 'echo -n 00 | nc 192.168.1.100 6722'"
# value_template: '{{ value == "01000000" or value == "11000000" }}'
# friendly_name: Προβολέας Αλογόνου
# pdf2file_makis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/PDF2file_makis.sh'"
# friendly_name: PDF σε αρχείο
# pdf2file_pavlina:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/PDF2file_pavlina.sh'"
# friendly_name: PDF σε αρχείο
# pdf2file_thanasis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/PDF2file_thanasis.sh'"
# friendly_name: PDF σε αρχείο
# pdf2mail_makis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/PDF2mail_makis.sh'"
# friendly_name: PDF στο email
# pdf2mail_pavlina:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/PDF2mail_pavlina.sh'"
# friendly_name: PDF στο email
# pdf2mail_thanasis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/PDF2mail_thanasis.sh'"
# friendly_name: PDF στο email
# pdf2print_makis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/PDF2print_makis.sh'"
# friendly_name: PDF εκτύπωση
# pdf2print_pavlina:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/PDF2print_pavlina.sh'"
# friendly_name: PDF εκτύπωση
# pdf2print_thanasis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/PDF2print_thanasis.sh'"
# friendly_name: pdf εκτύπωση
# jpeg2mail_makis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/JPEG2mail_makis.sh'"
# friendly_name: Φωτογραφία στο email
# jpeg2mail_pavlina:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/JPEG2mail_pavlina.sh'"
# friendly_name: Φωτογραφία στο email
# jpeg2mail_thanasis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/JPEG2mail_thanasis.sh'"
# friendly_name: Φωτογραφία στο email
# jpeg2file_makis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/JPEG2file_makis.sh'"
# friendly_name: Φωτογραφία σε αρχείο
# jpeg2file_pavlina:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/JPEG2file_pavlina.sh'"
# friendly_name: Φωτογραφία σε αρχείο
# jpeg2file_thanasis:
# command_on: "ssh -i /ssl/odroid -o StrictHostKeyChecking=no [email protected] 'bash /home/scanner_scripts/JPEG2file_thanasis.sh'"
# friendly_name: Φωτογραφία σε αρχείο