telldus/3rdparty/tellstickcontroller/tellstickControllerRfcmd.conf
2011-11-11 12:02:16 +01:00

108 lines
4.5 KiB
Text

################################################################################
#
# Configuration file for tellstickController
#
# Copyright (C) 2008 Rickard Andersson (ran42ran@gmail.com)
# Version: 1.4
#
################################################################################
#
# 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 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
# List of location settings.
#
# Usage example:
# Set Key Value
# Set Timezone Europe/Stockholm
#
#
Set Timezone Europe/Stockholm
Set Altitude -0.833
Set Latitude 58.24
Set Longitude 15.31
Set dbfile /var/lib/tellstickController.db
Set pidfile /var/run/tellstickController.pid
Set logfile /var/log/tellstickController.log
set progrsm /usr/bin/rfcmd
# Aliases for recevier devices.
#
# Usage example:
# Alias Name Sender Dimmer Protocol Housecode Channel
# Alias BedroomWindow /dev/tellstick0 yes Nexa A 1
# Alias device42 /dev/tellstick1 No Waveman B 3
# or
# Usage example:
# Alias Name Sender Dimmer Protocol Channel
# Alias MythTv_Backlight /dev/ttyUSB0 No Sartano 000000001
#
#
Alias Bedroom_bed /dev/tellstick0 No Nexa G 11
Alias Bedroom_window /dev/tellstick0 No Nexa G 10
Alias Bedroom_mythtv_power /dev/tellstick0 No Nexa G 6
Alias Bedroom_mythtv_leds /dev/tellstick0 No Nexa G 7
Alias Kitchen_cabinets /dev/tellstick0 No Nexa G 2
Alias Kitchen_window /dev/tellstick0 No Nexa G 12
Alias Livingroom_cabinets /dev/tellstick0 No Nexa G 3
Alias Livingroom_wall_north /dev/tellstick0 No Nexa G 4
Alias Livingroom_wall_east /dev/tellstick0 No Nexa G 9
Alias Livingroom_uplight /dev/tellstick0 Yes Nexa G 5
Alias Livingroom_mythtv_leds /dev/tellstick0 No Nexa G 8
Alias Livingroom_window /dev/tellstick0 No Nexa G 1
Alias Study_window /dev/tellstick0 No Nexa G 13
# Group aliases uses for handling a group of aliases
#
# Usage examples:
# Group Name Delay List of Aliases
# Group Livingroom_walls 60 Livingroom_wall_north Livingroom_wall_east
# Group Kitchen 5 Kitchen_cabinets Kitchen_window
#
#
Group Normal_lights 120 Bedroom_window Kitchen_cabinets Kitchen_window Livingroom_window Livingroom_wall_east Study_window
Group Extra_lights 180 Livingroom_cabinets Livingroom_uplight Livingroom_wall_north
Group All_lights 10 Bedroom_mythtv_leds Bedroom_window Bedroom_bed Kitchen_cabinets Kitchen_window Livingroom_cabinets Livingroom_mythtv_leds Livingroom_uplight Livingroom_wall_north Livingroom_wall_east Livingroom_window Study_window
Group Christmas_lights 60 Bedroom_window Kitchen_window Study_window
# Timer rules for reciever devices.
#
# Usage examples:
# Rule Alias DeviceOn DeviceOff
# Rule BedroomWindow Sunrise Sunrise+01:30
# Rule BedroomWindow 18:33 23:10+Random(00:45)
# Rule MythTv_Backlight Weekend/20:00 Weekend/Sunset
#
#
Rule Normal_lights Workweek/Sunset-01:00+Random(00:50) Workweek/00:01+Random(00:50)
Rule Normal_lights Weekend/Sunset-01:00+Random(00:50) Weekend/00:01+Random(00:50)
Rule Extra_lights No 00:15+Random(00:30)
Rule All_lights No 02:00
Rule All_lights No 03:00
#Rule Bedroom_window Workweek/07:30 Workweek/08:30
#Rule Christmas_lights 07:00+Random(00:15) 10:00+Random(00:30)
#Rule Christmas_lights 15:00+Random(00:30) 00:30+Random(00:15)
#Rule Livingroom_cabinets 18:55+Random(01:00) 21:55+Random(01:00)
#Rule Livingroom_wall_north 19:55+Random(01:00) 20:55+Random(01:00)
#Rule Bedroom_bed 20:55+Random(01:00) 22:55+Random(01:00)