58 lines
676 B
INI
58 lines
676 B
INI
|
[controller]
|
||
|
name = new emgauwa device
|
||
|
: 4421 for dev-env; 4420 for testing-env; 4419 for prod-env; 4422 for testing
|
||
|
discovery-port = 4420
|
||
|
relay-count = 10
|
||
|
database = /var/lib/emgauwa/db.lmdb
|
||
|
log-level = debug
|
||
|
|
||
|
[relay-0]
|
||
|
driver = piface
|
||
|
pin = 0
|
||
|
inverted = 0
|
||
|
|
||
|
[relay-1]
|
||
|
driver = piface
|
||
|
pin = 1
|
||
|
inverted = 0
|
||
|
|
||
|
[relay-2]
|
||
|
driver = gpio
|
||
|
pin = 5
|
||
|
inverted = 1
|
||
|
|
||
|
[relay-3]
|
||
|
driver = gpio
|
||
|
pin = 4
|
||
|
inverted = 1
|
||
|
|
||
|
[relay-4]
|
||
|
driver = gpio
|
||
|
pin = 3
|
||
|
inverted = 1
|
||
|
|
||
|
[relay-5]
|
||
|
driver = gpio
|
||
|
pin = 2
|
||
|
inverted = 1
|
||
|
|
||
|
[relay-6]
|
||
|
driver = gpio
|
||
|
pin = 1
|
||
|
inverted = 1
|
||
|
|
||
|
[relay-7]
|
||
|
driver = gpio
|
||
|
pin = 0
|
||
|
inverted = 1
|
||
|
|
||
|
[relay-8]
|
||
|
driver = gpio
|
||
|
pin = 16
|
||
|
inverted = 1
|
||
|
|
||
|
[relay-9]
|
||
|
driver = gpio
|
||
|
pin = 15
|
||
|
inverted = 1
|