This repository has been archived by the owner on Dec 19, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
piface.conf
115 lines (99 loc) · 3.95 KB
/
piface.conf
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
//piface.conf [Autogenerated]
//This file is part of the PiFace driver (written by Robin Stevenhagen) for domoticz, and allows for more advanced pin configuration options
//This file can optionaly hold all the configuration for all attached PiFace boards.
//Please note that if this file is found the default config is discarded, and only the configuration in this file is used, all IO that is not specified will
///be configured as not used.
//
// Configuration line syntax:
// piface.<board address>.<I/O>.<pin number>.<parameter>=<value>
//
// <board address>: Check piface (JP1 & JP2) jumper settings, value between 0..3
//
// <I/O>: input
// output
//
// <pinnumber>: value between 0..7
//
// <parameter>: enabled
// pin_type
// count_enabled
// count_update_interval_sec
//
// Available <parameter> / <values>:
// enabled: true or 1
// false or 0
//
// pin_type: level //best to keep this paramter to level for outputs, as Domoticz does not like other values
// inv_level
// rising
// falling
//
// count_enabled: true or 1
// false or 0
//
// count_update_interval_sec: 0 to 3600
//
piface.0.output.0.enabled=false
piface.0.output.0.pin_type=level
piface.0.output.0.count_enabled=false
piface.0.output.0.count_update_interval_sec=10
piface.0.input.0.enabled=true
piface.0.input.0.pin_type=rising
piface.0.input.0.count_enabled=false
piface.0.input.0.count_update_interval_sec=10
piface.0.output.1.enabled=false
piface.0.output.1.pin_type=level
piface.0.output.1.count_enabled=false
piface.0.output.1.count_update_interval_sec=10
piface.0.input.1.enabled=true
piface.0.input.1.pin_type=rising
piface.0.input.1.count_enabled=true
piface.0.input.1.count_update_interval_sec=1
piface.0.output.2.enabled=false
piface.0.output.2.pin_type=level
piface.0.output.2.count_enabled=false
piface.0.output.2.count_update_interval_sec=10
piface.0.input.2.enabled=true
piface.0.input.2.pin_type=rising
piface.0.input.2.count_enabled=false
piface.0.input.2.count_update_interval_sec=10
piface.0.output.3.enabled=false
piface.0.output.3.pin_type=level
piface.0.output.3.count_enabled=false
piface.0.output.3.count_update_interval_sec=10
piface.0.input.3.enabled=true
piface.0.input.3.pin_type=rising
piface.0.input.3.count_enabled=false
piface.0.input.3.count_update_interval_sec=10
piface.0.output.4.enabled=false
piface.0.output.4.pin_type=level
piface.0.output.4.count_enabled=false
piface.0.output.4.count_update_interval_sec=10
piface.0.input.4.enabled=false
piface.0.input.4.pin_type=rising
piface.0.input.4.count_enabled=false
piface.0.input.4.count_update_interval_sec=10
piface.0.output.5.enabled=false
piface.0.output.5.pin_type=level
piface.0.output.5.count_enabled=false
piface.0.output.5.count_update_interval_sec=10
piface.0.input.5.enabled=false
piface.0.input.5.pin_type=rising
piface.0.input.5.count_enabled=false
piface.0.input.5.count_update_interval_sec=10
piface.0.output.6.enabled=false
piface.0.output.6.pin_type=level
piface.0.output.6.count_enabled=false
piface.0.output.6.count_update_interval_sec=10
piface.0.input.6.enabled=false
piface.0.input.6.pin_type=rising
piface.0.input.6.count_enabled=false
piface.0.input.6.count_update_interval_sec=10
piface.0.output.7.enabled=false
piface.0.output.7.pin_type=level
piface.0.output.7.count_enabled=false
piface.0.output.7.count_update_interval_sec=10
piface.0.input.7.enabled=false
piface.0.input.7.pin_type=rising
piface.0.input.7.count_enabled=false
piface.0.input.7.count_update_interval_sec=10