Warning about open-switch thread not working properly

This commit is contained in:
Ondrej Mikle 2017-10-29 16:04:24 +01:00
parent ef1d8b8080
commit 8a35b8b884
2 changed files with 10 additions and 7 deletions

View file

@ -46,9 +46,10 @@ reconnect_delay = 300
# Controls showing status of "OPEN/CLOSE" switch that is connected to some GPIO pin
# Changes topic of connected IRC channels if IRC is enabled
# There is no point in enabling this if you disabled IRC
# Not yet usable - do not use because of GIL and python-irc not retrieving topic from channel
# enabled - True/False
# status_file - file in sysfs that contains 1 or 0 defining the state of button
# open_value - which value in status_file respresents the switch being in "OPEN" position, 1 character
enabled = True
enabled = False
status_file = /sys/class/gpio/gpio11/value
open_value = 1