This repository has been archived on 2024-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
package/controller/controller.ini

64 lines
847 B
INI
Raw Normal View History

2020-07-01 21:28:49 +00:00
[controller]
name = new emgauwa device
: 4422 for testing; 4421 for dev-env; 4420 for testing-env; 4419 for prod-env
2020-07-01 22:59:04 +00:00
discovery-port = 4419
2020-07-01 21:28:49 +00:00
: 1886 for testing; 1885 for dev-env; 1884 for testing-env; 1883 for prod-env
2020-07-01 22:59:04 +00:00
mqtt-port = 1883
2020-07-14 19:47:29 +00:00
mqtt-host = localhost
2020-07-01 21:28:49 +00:00
relay-count = 10
database = /var/lib/emgauwa/controller.sqlite
2020-07-01 22:59:04 +00:00
log-level = info
log-file = /var/log/emgauwa/controller.log
2020-07-01 21:28:49 +00:00
[relay-0]
driver = gpio
pin = 5
inverted = 1
2020-07-02 01:04:36 +00:00
[relay-1]
2020-07-01 21:28:49 +00:00
driver = gpio
pin = 4
inverted = 1
2020-07-02 01:04:36 +00:00
[relay-2]
2020-07-01 21:28:49 +00:00
driver = gpio
pin = 3
inverted = 1
2020-07-02 01:04:36 +00:00
[relay-3]
2020-07-01 21:28:49 +00:00
driver = gpio
pin = 2
inverted = 1
2020-07-02 01:04:36 +00:00
[relay-4]
2020-07-01 21:28:49 +00:00
driver = gpio
pin = 1
inverted = 1
2020-07-02 01:04:36 +00:00
[relay-5]
2020-07-01 21:28:49 +00:00
driver = gpio
pin = 0
inverted = 1
2020-07-02 01:04:36 +00:00
[relay-6]
2020-07-01 21:28:49 +00:00
driver = gpio
pin = 16
inverted = 1
2020-07-02 01:04:36 +00:00
[relay-7]
2020-07-01 21:28:49 +00:00
driver = gpio
pin = 15
inverted = 1
2020-07-02 01:04:36 +00:00
[relay-8]
driver = piface
pin = 1
inverted = 0
[relay-9]
driver = piface
pin = 0
inverted = 0