From 78f5650bdc1cee01c4ed51ee78f3e003bd382dc4 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Wed, 15 Oct 2014 17:11:07 +0000 Subject: [PATCH] fhem.pl: global ATTR/DELETEATTR/MODIFIED events (Forum #27731) git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6770 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/docs/commandref_frame.html | 3 ++ fhem/docs/commandref_frame_DE.html | 10 +++++-- fhem/fhem.pl | 46 +++++++++++++++++++----------- 4 files changed, 40 insertions(+), 20 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index c173bfb72..01d847b63 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: global ATTR/DELETEATTR/MODIFIED events - feature: 55_GDS.pm - attr disable added - bugfix: SYSMON: prevent endless loop at startup with 'disable' attribute - feature: SYSMON: added FritzBox informations: DSL rate, DSLAM sync time, count of CRC an FEC diff --git a/fhem/docs/commandref_frame.html b/fhem/docs/commandref_frame.html index de53fb2b7..bb5a79c0e 100644 --- a/fhem/docs/commandref_frame.html +++ b/fhem/docs/commandref_frame.html @@ -593,6 +593,7 @@ The following local attributes are used by a wider range of devices: Use "attr <name> ?" to get a list of possible attributes. See the Device specification section for details on <devspec>. + After setting the attribute, the global event "ATTR" will be generated.

Examples: @@ -688,6 +689,7 @@ The following local attributes are used by a wider range of devices: or all attributes for a device (if no <attrname> is defined). See the Device specification section for details on <devspec>.
+ After deleting the attribute, the global event "DELETEATTR" will be generated.
Examples: @@ -891,6 +893,7 @@ The following local attributes are used by a wider range of devices: one argument to an at type definition, only the time part will be changed. In case of a notify type definition, only the regex part will be changed. All other values (state, attributes, etc) will remain intact. + After modify, the global event "MODIFIED" will be generated.

Example: