From 643875e6af90963f65e7b36c0b01f4c5f69708a9 Mon Sep 17 00:00:00 2001
From: Ellert <>
Date: Sat, 15 Aug 2020 17:21:34 +0000
Subject: [PATCH] 98_DOIFtools: new getter 'get DOIFtools subsInPackageDOIF'
for MODEL Perl (Forum #63938)
git-svn-id: https://svn.fhem.de/fhem/trunk@22610 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/CHANGED | 3 ++-
fhem/FHEM/98_DOIFtools.pm | 25 +++++++++++++++++++++++--
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/fhem/CHANGED b/fhem/CHANGED
index 40cc35324..f4f5bad0d 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: 98_DOIFtools: get subsInPackageDOIF for MODEL Perl (Forum #63938)
- bugfix: 49_SSCam(STRM): avoid possible warnings during shutdown/restart
- bugfix: 52_I2C_HDC1008: fix "temperature" (broken by change from Aug, 1st)
- feature: 49_SSCam: new attribute ptzNoCapPrePat
@@ -15,7 +16,7 @@
update button in header of Portal Graphics, minor
code changes according PBP
- change: 10_WS980: change conversion ration of w/m2 to 0.0079
-.- bugfix: 98_DOIFtools: improve popup position (Forum #113404)
+ - bugfix: 98_DOIFtools: improve popup position (Forum #113404)
- bugfix: 48_BlinkCamera: videoDelete on new API and first TFA pin verify
- bugfix: 73_AutoShuttersControl: fix shading in drive then shutter is closed
- change: 32_withings: added sleep apnea index reading
diff --git a/fhem/FHEM/98_DOIFtools.pm b/fhem/FHEM/98_DOIFtools.pm
index a2d1a8176..684253bb5 100644
--- a/fhem/FHEM/98_DOIFtools.pm
+++ b/fhem/FHEM/98_DOIFtools.pm
@@ -1711,9 +1711,24 @@ Example specifications:
$ret .= "
"; return $ret; + } elsif ($arg eq "subsInPackageDOIF") { + no strict 'refs'; + my $byd="OldReadingsNum AttrVal OldValue Value ReadingsAge Log set_Event ReadingsTimestamp fhem_set DOIF_ExecTimer set_Reading_Begin set_Exec get_Reading OldReadingsVal Dumper OldReadingsTimestamp get_State fhem ReadingsNum set_Reading gettimeofday ReadingsVal set_State AttrNum mkIcon InternalVal OldTimestamp set_Reading_End set_Reading_Update get_Exec del_Exec InternalNum Log3 "; + my $ftn=""; + my $txt = "
Sub | Device |
$k | ".($d[0] ? " $d[0] ":" n/a *")." |
set <name> targetDOIF <target name>
set <name> deleteReadingInTargetDevice <readings to delete name>
get DOIFtools hsvColorGradient 240,360,7,30,1,80,80
get <name> subsInPackageDOIF