From 4b708f08a3710c8e25a08dd32410cdd7d0d7d07c Mon Sep 17 00:00:00 2001
From: risiko79 <>
Date: Tue, 5 Jan 2016 18:47:29 +0000
Subject: [PATCH] 98_weekprofile: translate documentation
git-svn-id: https://svn.fhem.de/fhem/trunk@10373 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/98_weekprofile.pm | 107 ++++++++++++++++++++++++++++++++++--
1 file changed, 101 insertions(+), 6 deletions(-)
diff --git a/fhem/FHEM/98_weekprofile.pm b/fhem/FHEM/98_weekprofile.pm
index 9439e6745..24fbbd081 100644
--- a/fhem/FHEM/98_weekprofile.pm
+++ b/fhem/FHEM/98_weekprofile.pm
@@ -754,7 +754,7 @@ sub weekprofile_getEditLNK_MasterDev($$)
=pod
-=begin html
+=begin html_de
weekprofile
@@ -762,19 +762,19 @@ sub weekprofile_getEditLNK_MasterDev($$)
ToDo: Übersetzung
Mit dem Modul 'weekprofile' können mehrere Wochenprofile verwaltet und an unterschiedliche Geräte
- übertragen werden. Aktuell werden folgende Hardware unterstützt:
+ übertragen werden. Aktuell wird folgende Hardware unterstützt:
alle MAX Thermostate
Homatic HM-CC-RT-DN
Homatic HM-CC-TC
Homatic HM-TC-IT-WM-W-EU
Im Standardfall wird das Modul mit einem Geräte = 'Master-Gerät' assoziiert,
- um das Wochenprofil vom Gerät grafisch bearbeiten zu können und andere Profile auf das Gerät zu bringen.
+ um das Wochenprofil vom Gerät grafisch bearbeiten zu können und andere Profile auf das Gerät zu übertragen.
Achtung: Das Übertragen von Wochenprofilen erfordet eine Menge an Credits.
Dies wird vom Modul nicht berücksichtigt. So kann es sein, dass nach dem
- Setzen\Aktualisieren eines Profils das Proil im Modul nicht mit dem Profil im Gerät
- übereinstimmt.
+ Setzen\Aktualisieren eines Profils das Profil im Modul nicht mit dem Profil im Gerät
+ übereinstimmt solange das komplette Profil übertragen wurde.
Define
@@ -788,7 +788,7 @@ sub weekprofile_getEditLNK_MasterDev($$)
Bei Ändern\Setzen des Proils wird es automatisch an das 'Master-Geräte' gesendet
Es wird sind mit abgespeicht
- Wird kein 'Master-Gerätes' angegeben, wird ein 'default' Profil angelegt.
+ Wird kein 'Master-Geräte' angegeben, wird ein 'default' Profil angelegt.
@@ -846,6 +846,101 @@ sub weekprofile_getEditLNK_MasterDev($$)
+
+=end html_de
+
+=begin html
+
+
+weekprofile
+
+ With this module you can manage and edit different weekprofiles. You can send the profiles to different devices.
+ Currently the following devices will by supported:
+ - MAX
+ - Homatic HM-CC-RT-DN
+ - Homatic HM-CC-TC
+ - Homatic HM-TC-IT-WM-W-EU
+
+ In the normal case the module is assoziated with a master device.
+ So a profile 'master' will be created automatically. This profile correnspond to the current active
+ profile on the master device.
+ You can also use this module without a master device. In this case a default profile will be created.
+
+ Attention:
+ To transfer a profile to a device it needs a lot of Credits.
+ This is not taken into account from this module. So it could be happend that the profile in the module
+ and on the device are not equal until the whole profile is transfered completly.
+
+
+ Define
+
+ define <name> weekprofile [master device]
+
+ Activate the module with or without an assoziated master device. The master device is an optional parameter.
+ With a master device a spezial profile 'master' will be created.
+ Special master' profile handling:
+ - Can't be deleted
+ - Will be automatically transfered to the master device if it was modified
+ - Will not be saved
+
+ Without a master device a 'default' profile will be created
+
+
+
+ Set
+
+ - profile_data
+ set <name> profile_data <profilename> <json data>
+ The profile 'profilename' will be changed. The data have to be in json format.
+
+ - send_to_device
+ set <name> send_to_device <profilename> [device]
+ The profile 'profilename' will be transfered to the device. Without the parameter device the profile
+ will be transferd to the master device.
+
+ - copy_profile
+ set <name> copy_profile <source> <destination>
+ Copy from source to destination. The destination will be overwritten
+
+ - remove_profile
+ set <name> remove_profile <profilename>
+ Delete profile 'profilename'.
+
+
+
+
+ Get
+
+ - profile_data
+ get <name> profile_data <profilename>
+ Get the profile date from 'profilename' in json-Format
+
+ - profile_names
+ set <name> profile_names
+ Get a comma seperated list of profile names
+
+
+
+
+ Attributes
+
+ - widgetWeekdays
+ Comma seperated list od week days starting at Monday
+ attr name widgetWeekdays Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday
+
+ - widgetEditOnNewPage
+ Editing the profile on a new html page if it is set to '1'
+
+ - configFile
+ Path and filename of the configuration file where the profiles will be stored
+ Default: ./log/weekprofile-.cfg
+
+ - icon
+ icon for edit
+ Default: edit_settings
+
+
+
=end html