2024-02-18 18:50:22 +00:00
|
|
|
amends "./lib/controller.pkl"
|
|
|
|
|
|
|
|
server {
|
2024-03-28 02:19:15 +00:00
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 4419
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|
|
|
|
|
2024-03-04 15:09:03 +00:00
|
|
|
database = "sqlite://emgauwa-controller.sqlite"
|
2024-02-18 18:50:22 +00:00
|
|
|
|
|
|
|
permissions {
|
2024-03-28 02:19:15 +00:00
|
|
|
user = read("env:USER")
|
|
|
|
group = read("env:USER")
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
logging {
|
2024-03-28 02:19:15 +00:00
|
|
|
level = read?("env:LOGGING_LEVEL") ?? "DEBUG"
|
|
|
|
file = "stdout"
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
relays {
|
2024-03-28 02:19:15 +00:00
|
|
|
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
|
|
|
|
}
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|