#------------------------------------------------------------------------------ # /etc/config.d/owswitch - configuration file for owswitch # # Copyright (c) 2001-2019 The Eisfair Team, team(at)eisfair(dot)org # # Creation : 2016-06-13 jed # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ # general configuration #------------------------------------------------------------------------------ START_OWSWITCH='no' # activate owswitch: yes or no #------------------------------------------------------------------------------ # sensors #------------------------------------------------------------------------------ OWSWITCH_N='1' # number of sensors OWSWITCH_1_ID='3A.67C6697351FF' # sensor ID OWSWITCH_1_NAME='DS2413 sensor' # name of sensor OWSWITCH_1_ACTIVE='no' # activate sensor: yes or no OWSWITCH_1_PIO_N='2' # number of pio ports OWSWITCH_1_PIO_1_NAME='port 1' # name of pio port OWSWITCH_1_PIO_1_FUNC='input' # pio function: input, output or none OWSWITCH_1_PIO_1_INPUT_DEFAULT='0' # pio input default: 0-close, 1-open OWSWITCH_1_PIO_1_ON_EXEC_ACTIVE='no' # activate on-command OWSWITCH_1_PIO_1_ON_EXEC='' # command to execute on activation OWSWITCH_1_PIO_1_OFF_EXEC_ACTIVE='no' # activate off-command OWSWITCH_1_PIO_1_OFF_EXEC='' # command to execute on deactivation OWSWITCH_1_PIO_2_NAME='port 2' # name of pio port OWSWITCH_1_PIO_2_FUNC='output' # pio function: input, output or none OWSWITCH_1_PIO_2_INPUT_DEFAULT='0' # pio input default: 0-close, 1-open OWSWITCH_1_PIO_2_ON_EXEC_ACTIVE='no' # activate on-command OWSWITCH_1_PIO_2_ON_EXEC='' # command to execute on activation OWSWITCH_1_PIO_2_OFF_EXEC_ACTIVE='no' # activate off-command OWSWITCH_1_PIO_2_OFF_EXEC='' # command to execute on deactivation #------------------------------------------------------------------------------ # End #------------------------------------------------------------------------------