controller-legacy/controller.ini

70 lines
880 B
INI
Raw Normal View History

2020-04-16 23:38:25 +00:00
[controller]
name = new emgauwa device
2020-06-25 23:28:00 +00:00
: 4422 for testing; 4421 for dev-env; 4420 for testing-env; 4419 for prod-env
2020-04-16 23:38:25 +00:00
discovery-port = 4421
2020-06-25 23:28:00 +00:00
: 1886 for testing; 1885 for dev-env; 1884 for testing-env; 1883 for prod-env
mqtt-port = 1885
2020-07-14 18:43:58 +00:00
mqtt-host = localhost
2020-06-25 23:28:00 +00:00
2020-04-16 23:38:25 +00:00
relay-count = 10
2020-08-20 20:04:52 +00:00
relays-init = 1
2020-08-20 19:51:42 +00:00
2020-04-24 13:08:26 +00:00
database = controller_db.lmdb
2020-05-06 23:41:16 +00:00
log-level = debug
2020-07-26 19:05:41 +00:00
log-file = stdout
2020-04-16 23:38:25 +00:00
[relay-0]
driver = piface
pin = 0
2020-04-18 00:09:50 +00:00
inverted = 0
2020-08-20 19:51:42 +00:00
init = 0
2020-04-16 23:38:25 +00:00
[relay-1]
driver = piface
pin = 1
2020-04-18 00:09:50 +00:00
inverted = 0
2020-08-20 20:04:52 +00:00
init = 1
2020-04-16 23:38:25 +00:00
[relay-2]
driver = gpio
2020-04-18 11:28:23 +00:00
pin = 5
2020-04-18 00:09:50 +00:00
inverted = 1
2020-04-16 23:38:25 +00:00
[relay-3]
driver = gpio
2020-04-18 11:28:23 +00:00
pin = 4
2020-04-18 00:09:50 +00:00
inverted = 1
2020-04-16 23:38:25 +00:00
[relay-4]
driver = gpio
2020-04-17 23:50:36 +00:00
pin = 3
2020-04-18 00:09:50 +00:00
inverted = 1
2020-04-16 23:38:25 +00:00
[relay-5]
driver = gpio
2020-04-18 11:28:23 +00:00
pin = 2
2020-04-18 00:09:50 +00:00
inverted = 1
2020-04-16 23:38:25 +00:00
[relay-6]
driver = gpio
2020-04-18 11:28:23 +00:00
pin = 1
2020-04-18 00:09:50 +00:00
inverted = 1
2020-06-30 20:37:12 +00:00
pulse-duration = 3
2020-04-16 23:38:25 +00:00
[relay-7]
driver = gpio
2020-04-18 11:28:23 +00:00
pin = 0
2020-04-18 00:09:50 +00:00
inverted = 1
2020-06-30 20:37:12 +00:00
pulse-duration = 3
2020-04-16 23:38:25 +00:00
[relay-8]
driver = gpio
2020-04-18 11:28:23 +00:00
pin = 16
2020-04-18 00:09:50 +00:00
inverted = 1
2020-04-16 23:38:25 +00:00
[relay-9]
driver = gpio
2020-04-18 11:28:23 +00:00
pin = 15
2020-04-18 00:09:50 +00:00
inverted = 1