This repository has been archived on 2024-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
package/controller-testing/controller.conf

66 lines
877 B
Text
Raw Permalink Normal View History

[controller]
name = "first emgauwa device"
database = "/var/lib/emgauwa/controller/db.sqlite"
mqtt-host = "localhost"
[ports]
# 4422 for testing; 4421 for dev-env; 4420 for testing-env; 4419 for prod-env
discovery = 4420
# 1886 for testing; 1885 for dev-env; 1884 for testing-env; 1883 for prod-env
mqtt = 1884
[logging]
level = "debug"
file = "/var/log/emgauwa/controller.log"
[[relays]]
driver = "gpio"
pin = 5
inverted = 1
[[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