add: choose initial relay mode
This commit is contained in:
parent
5e05d603c1
commit
d7c274ca86
11 changed files with 57 additions and 27 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue