2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2024-11-22 09:49:50 +00:00
fhem-mirror/fhem/contrib/rotateShiftWork
2010-09-04 06:44:53 +00:00
..
README.rotateShiftWork Readme update and the additions from Martin 2008-12-12 11:06:36 +00:00
rotateShiftWork.sh Updating documentation to reflect new path changes. Thanks to A. Rott 2010-09-04 06:44:53 +00:00

rotateShiftWork.sh - Copyright (c)2008 Martin Fischer <m_fischer@gmx.de>

Description:
  The script rotateShiftWork.sh rotates a defined heating plan for
  one or more FHT devices to odd or even weeks.

Installation:
  Copy the script rotateShiftWork.sh to a directory of your choice,
  e.g.:
    'cp rotateShiftWork.sh /usr/local/bin'
  and make it executable:
    'chmod 775 /usr/local/bin/rotateShiftWork.sh'

  Edit the file rotateShiftWork.sh to your personal preferences.

  Edit your FHEM configuration file and add a line like this:
  define <timername> at *00:15:00 "<path_to_script>/rotateShiftWork.sh <fht-device>"

  where
    <timername> is a name of your choice, e.g.: timerEGwzHeizung
    <path_to_script> is /usr/local/bin in this example
    <fht-device> one ore more FHT device(s) e.g.: EGwzHeizung

  At last restart FHEM or do a rereadcfg.