2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00
fhem-mirror/fhem/contrib/rotateShiftWork/README.rotateShiftWork
rudolfkoenig bf01617314 Readme update and the additions from Martin
git-svn-id: https://svn.fhem.de/fhem/trunk@286 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2008-12-12 11:06:36 +00:00

25 lines
860 B
Plaintext

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.