mirror of
https://github.com/brmlab/brmdoor_libnfc.git
synced 2025-06-07 16:14:01 +02:00
Open Switch thread skeleton
This commit is contained in:
parent
fdc3007904
commit
388d8a80b0
2 changed files with 28 additions and 0 deletions
|
@ -41,3 +41,11 @@ password = whatevs
|
|||
channels = #test-bjornbot
|
||||
tls = True
|
||||
reconnect_delay = 300
|
||||
|
||||
[open-switch]
|
||||
# Controls showing status of "OPEN/CLOSE" switch that is connected to some GPIO pin
|
||||
# Changes topic of connected IRC channels if IRC is enabled
|
||||
# enabled - True/False
|
||||
# status_file - file in sysfs that contains 1 or 0 defining the state of button
|
||||
enabled = True
|
||||
status_file = /sys/class/gpio/gpio11/value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue