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
Tobias Reisinger a757c7b30f upgpkg: controller-testing v0.3.3
upgpkg: controller v0.3.3
add: new try to speed up building
2020-08-25 11:23:55 +02:00

63 lines
850 B
INI

[controller]
name = new emgauwa device
: 4422 for testing; 4421 for dev-env; 4420 for testing-env; 4419 for prod-env
discovery-port = 4419
: 1886 for testing; 1885 for dev-env; 1884 for testing-env; 1883 for prod-env
mqtt-port = 1883
mqtt-host = localhost
relay-count = 10
database = /var/lib/emgauwa/controller/db.sqlite
log-level = info
log-file = /var/log/emgauwa/controller.log
[relay-0]
driver = gpio
pin = 5
inverted = 1
[relay-1]
driver = gpio
pin = 4
inverted = 1
[relay-2]
driver = gpio
pin = 3
inverted = 1
[relay-3]
driver = gpio
pin = 2
inverted = 1
[relay-4]
driver = gpio
pin = 1
inverted = 1
[relay-5]
driver = gpio
pin = 0
inverted = 1
[relay-6]
driver = gpio
pin = 16
inverted = 1
[relay-7]
driver = gpio
pin = 15
inverted = 1
[relay-8]
driver = piface
pin = 1
inverted = 0
[relay-9]
driver = piface
pin = 0
inverted = 0