add: choose initial relay mode

This commit is contained in:
Tobias Reisinger 2020-08-20 21:51:42 +02:00
parent 5e05d603c1
commit d7c274ca86
11 changed files with 57 additions and 27 deletions

View file

@ -8,6 +8,8 @@ mqtt-port = 1885
mqtt-host = localhost
relay-count = 10
relay-init = 1
database = controller_db.lmdb
log-level = debug
log-file = stdout
@ -16,11 +18,13 @@ log-file = stdout
driver = piface
pin = 0
inverted = 0
init = 0
[relay-1]
driver = piface
pin = 1
inverted = 0
init = 0
[relay-2]
driver = gpio