2023-11-23 15:00:24 +00:00
|
|
|
database = "sqlite://emgauwa-controller.sqlite"
|
2023-11-24 23:39:44 +00:00
|
|
|
name = "Emgauwa Controller"
|
2023-11-23 15:00:24 +00:00
|
|
|
|
|
|
|
[core]
|
|
|
|
port = 4419
|
|
|
|
host = "127.0.0.1"
|
|
|
|
|
|
|
|
[logging]
|
|
|
|
level = "DEBUG"
|
|
|
|
file = "stdout"
|
2023-11-24 23:39:44 +00:00
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "gpio"
|
|
|
|
pin = 5
|
|
|
|
inverted = 1
|
2023-11-27 11:49:40 +00:00
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "gpio"
|
|
|
|
pin = 4
|
|
|
|
inverted = 1
|
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "gpio"
|
|
|
|
pin = 3
|
|
|
|
inverted = 1
|
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "gpio"
|
|
|
|
pin = 2
|
|
|
|
inverted = 1
|
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "gpio"
|
|
|
|
pin = 1
|
|
|
|
inverted = 1
|
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "gpio"
|
|
|
|
pin = 0
|
|
|
|
inverted = 1
|
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "gpio"
|
|
|
|
pin = 16
|
|
|
|
inverted = 1
|
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "gpio"
|
|
|
|
pin = 15
|
|
|
|
inverted = 1
|
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "piface"
|
|
|
|
pin = 1
|
|
|
|
inverted = 0
|
|
|
|
|
|
|
|
[[relays]]
|
|
|
|
driver = "piface"
|
|
|
|
pin = 0
|
|
|
|
inverted = 0
|