HMCCU: Version 5.0

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24949 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
zap 2021-09-11 14:54:19 +00:00
parent f3faf4a20b
commit a35e964c7d
4 changed files with 13 additions and 8 deletions

View File

@ -1,4 +1,6 @@
- bugfix: 88_HMCCU.pm: Fixed some bux in version 5.0
- bugfix: 88_HMCCU.pm: Fixed some bugs in version 5.0
- bugfix: 88_HMCCU.pm: Fixed some bugs in version 5.0
- bugfix: 88_HMCCU.pm: Version 5.0 - bugfix: 88_HMCCU.pm: Version 5.0
- bugfix: 88_HMCCU.pm: Release candidate 7 - bugfix: 88_HMCCU.pm: Release candidate 7
- bugfix: 88_HMCCU.pm: Release candidate 6 - bugfix: 88_HMCCU.pm: Release candidate 6
@ -7,4 +9,6 @@
- bugfix: 88_HMCCU.pm: Release candidate 3 - bugfix: 88_HMCCU.pm: Release candidate 3
- bugfix: 88_HMCCU.pm: Release candidate 2 - bugfix: 88_HMCCU.pm: Release candidate 2
- bugfix: 88_HMCCU.pm: Fixed bug in set defaults command - bugfix: 88_HMCCU.pm: Fixed bug in set defaults command
- bugfix: 88_HMCCU.pm: Fixed state-/controldatapoint bug at FHEM start
- bugfix: 88_HMCCU.pm: Fixed some bugs. New command set readingFilter
- bugfix: 88_HMCCU.pm: Fixed device detection bugs - bugfix: 88_HMCCU.pm: Fixed device detection bugs

View File

@ -1712,7 +1712,7 @@ sub HMCCU_Get ($@)
my $rc; my $rc;
if ($opt eq 'vars') { if ($opt eq 'vars') {
my $varname = shift @$a // return HMCCU_SetError ($hash, "Usage: get $name vars {regexp}[,...]"); my $varname = shift @$a // return HMCCU_SetError ($hash, "Usage: get $name vars {regexp}");
($rc, $result) = HMCCU_GetVariables ($hash, $varname); ($rc, $result) = HMCCU_GetVariables ($hash, $varname);
return HMCCU_SetError ($hash, $rc, $result) if ($rc < 0); return HMCCU_SetError ($hash, $rc, $result) if ($rc < 0);
return HMCCU_SetState ($hash, 'OK', $result); return HMCCU_SetState ($hash, 'OK', $result);
@ -10396,7 +10396,8 @@ sub HMCCU_MaxHashEntries ($$)
time consuming. time consuming.
</li><br/> </li><br/>
<li><b>get &lt;name&gt; vars &lt;regexp&gt;</b><br/> <li><b>get &lt;name&gt; vars &lt;regexp&gt;</b><br/>
Get CCU system variables matching <i>regexp</i> and store them as readings. Get CCU system variables matching <i>regexp</i> and store them as readings. Use attribute
ccuGetVars to fetch variables periodically.
</li> </li>
</ul> </ul>
<br/> <br/>
@ -10505,7 +10506,7 @@ sub HMCCU_MaxHashEntries ($$)
is queried. Default is 'Value'. Method for write access to datapoints is always is queried. Default is 'Value'. Method for write access to datapoints is always
'State'. 'State'.
</li><br/> </li><br/>
<li><b>ccuGetVars &lt;interval&gt;[&lt;pattern&gt;]</b><br/> <li><b>ccuGetVars &lt;interval&gt;:[&lt;pattern&gt;]</b><br/>
Read CCU system variables periodically and update readings. If pattern is specified Read CCU system variables periodically and update readings. If pattern is specified
only variables matching this expression are stored as readings. only variables matching this expression are stored as readings.
</li><br/> </li><br/>

View File

@ -1765,7 +1765,7 @@ if (oSV) {
code => qq( code => qq(
object osysvar; object osysvar;
string ssysvarid; string ssysvarid;
foreach (ssysvarid, (dom.GetObject(ID_SYSTEM_VARIABLES)).EnumUsedIDs()) { foreach (ssysvarid, (dom.GetObject(ID_SYSTEM_VARIABLES)).EnumIDs()) {
osysvar = dom.GetObject(ssysvarid); osysvar = dom.GetObject(ssysvarid);
Write(osysvar.Name()); Write(osysvar.Name());
if(osysvar.ValueSubType() == 6) { if(osysvar.ValueSubType() == 6) {
@ -1784,7 +1784,7 @@ foreach (ssysvarid, (dom.GetObject(ID_SYSTEM_VARIABLES)).EnumUsedIDs()) {
parameters => 0, parameters => 0,
code => qq( code => qq(
string sSysVarId; string sSysVarId;
foreach (sSysVarId, (dom.GetObject(ID_SYSTEM_VARIABLES)).EnumUsedIDs()) { foreach (sSysVarId, (dom.GetObject(ID_SYSTEM_VARIABLES)).EnumIDs()) {
object oSysVar = dom.GetObject(sSysVarId); object oSysVar = dom.GetObject(sSysVarId);
Write(oSysVar.Name()); Write(oSysVar.Name());
if (oSysVar.ValueSubType() == 6) { if (oSysVar.ValueSubType() == 6) {

View File

@ -1,5 +1,5 @@
UPD 2021-09-09_19:12:29 103713 FHEM/88_HMCCURPCPROC.pm UPD 2021-09-09_19:12:29 103713 FHEM/88_HMCCURPCPROC.pm
UPD 2021-09-09_18:45:27 84909 FHEM/HMCCUConf.pm UPD 2021-09-11_15:40:16 84901 FHEM/HMCCUConf.pm
UPD 2021-09-02_19:33:39 43994 FHEM/88_HMCCUCHN.pm UPD 2021-09-02_19:33:39 43994 FHEM/88_HMCCUCHN.pm
UPD 2021-09-08_20:42:05 358142 FHEM/88_HMCCU.pm UPD 2021-09-11_16:31:05 358198 FHEM/88_HMCCU.pm
UPD 2021-09-02_19:33:39 31267 FHEM/88_HMCCUDEV.pm UPD 2021-09-02_19:33:39 31267 FHEM/88_HMCCUDEV.pm