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/controller2.conf

100 lines
1.2 KiB
Text
Raw Normal View History

2020-08-27 19:35:26 +00:00
[controller]
name = "second emgauwa device"
database = "/var/lib/emgauwa/controller/db2.sqlite"
2020-08-27 19:35:26 +00:00
mqtt-host = "localhost"
2020-08-27 19:35:26 +00:00
[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
2020-08-27 19:35:26 +00:00
[logging]
level = "debug"
file = "/var/log/emgauwa/controller2.log"
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 8
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 9
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 7
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 0
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 2
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 3
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 12
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 13
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 14
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 11
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 10
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 6
inverted = 0
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 5
inverted = 1
pulse-duration = 5
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 4
inverted = 1
pulse-duration = 5
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 1
inverted = 1
pulse-duration = 2
[[relays]]
2020-08-27 19:35:26 +00:00
driver = gpio
pin = 16
inverted = 1
pulse-duration = 2