2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

HMCCU: Version 5.0

git-svn-id: https://svn.fhem.de/fhem/trunk@24949 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
zap 2021-09-11 14:54:19 +00:00
parent 79d315f8dc
commit 0786cc0367
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: Release candidate 7
- bugfix: 88_HMCCU.pm: Release candidate 6
@ -7,4 +9,6 @@
- bugfix: 88_HMCCU.pm: Release candidate 3
- bugfix: 88_HMCCU.pm: Release candidate 2
- 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

View File

@ -1712,7 +1712,7 @@ sub HMCCU_Get ($@)
my $rc;
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);
return HMCCU_SetError ($hash, $rc, $result) if ($rc < 0);
return HMCCU_SetState ($hash, 'OK', $result);
@ -10396,7 +10396,8 @@ sub HMCCU_MaxHashEntries ($$)
time consuming.
</li><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>
</ul>
<br/>
@ -10505,7 +10506,7 @@ sub HMCCU_MaxHashEntries ($$)
is queried. Default is 'Value'. Method for write access to datapoints is always
'State'.
</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
only variables matching this expression are stored as readings.
</li><br/>

View File

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