common/config/emgauwa-controller.pkl

71 lines
935 B
Text

amends "./lib/controller.pkl"
server {
host = "127.0.0.1"
port = 4419
}
database = "sqlite://emgauwa-controller.sqlite"
permissions {
user = read("env:USER")
group = read("env:USER")
}
logging {
level = read?("env:LOGGING_LEVEL") ?? "DEBUG"
file = "stdout"
}
relays {
new {
driver = "gpio"
pin = 5
inverted = true
}
new {
driver = "gpio"
pin = 4
inverted = true
}
new {
driver = "gpio"
pin = 3
inverted = true
}
new {
driver = "gpio"
pin = 2
inverted = true
}
new {
driver = "gpio"
pin = 1
inverted = true
}
new {
driver = "gpio"
pin = 0
inverted = true
}
new {
driver = "gpio"
pin = 16
inverted = true
}
new {
driver = "gpio"
pin = 15
inverted = true
}
new {
driver = "piface"
pin = 1
inverted = false
}
new {
driver = "piface"
pin = 0
inverted = false
}
}