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-04-27 23:13:22 +00:00
|
|
|
user = "" // read("env:USER")
|
|
|
|
group = "" // read("env:USER")
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
logging {
|
2024-04-19 16:37:30 +00:00
|
|
|
level = read?("env:EMGAUWA_CONTROLLER_LOGGING_LEVEL") ?? "DEBUG"
|
2024-03-28 02:19:15 +00:00
|
|
|
file = "stdout"
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
relays {
|
2024-03-28 02:19:15 +00:00
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-04-27 23:13:22 +00:00
|
|
|
pin = 24
|
2024-03-28 02:19:15 +00:00
|
|
|
inverted = true
|
|
|
|
}
|
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-04-27 23:13:22 +00:00
|
|
|
pin = 23
|
2024-03-28 02:19:15 +00:00
|
|
|
inverted = true
|
|
|
|
}
|
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-04-27 23:13:22 +00:00
|
|
|
pin = 22
|
2024-03-28 02:19:15 +00:00
|
|
|
inverted = true
|
|
|
|
}
|
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-04-27 23:13:22 +00:00
|
|
|
pin = 27
|
2024-03-28 02:19:15 +00:00
|
|
|
inverted = true
|
|
|
|
}
|
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-04-27 23:13:22 +00:00
|
|
|
pin = 18
|
2024-03-28 02:19:15 +00:00
|
|
|
inverted = true
|
|
|
|
}
|
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-04-27 23:13:22 +00:00
|
|
|
pin = 17
|
2024-03-28 02:19:15 +00:00
|
|
|
inverted = true
|
|
|
|
}
|
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-04-27 23:13:22 +00:00
|
|
|
pin = 15
|
2024-03-28 02:19:15 +00:00
|
|
|
inverted = true
|
|
|
|
}
|
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-04-27 23:13:22 +00:00
|
|
|
pin = 14
|
2024-03-28 02:19:15 +00:00
|
|
|
inverted = true
|
|
|
|
}
|
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-03-28 02:19:15 +00:00
|
|
|
pin = 1
|
|
|
|
inverted = false
|
|
|
|
}
|
|
|
|
new {
|
2024-04-27 23:38:57 +00:00
|
|
|
driver = "null"
|
2024-03-28 02:19:15 +00:00
|
|
|
pin = 0
|
|
|
|
inverted = false
|
|
|
|
}
|
2024-02-18 18:50:22 +00:00
|
|
|
}
|