mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
77_SMAEM: fix Perl warning if no frequence is delivered
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21170 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
df3a27830b
commit
82dd3c17a7
1
CHANGED
1
CHANGED
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 77_SMAEM: fix Perl warning if no frequence is delivered
|
||||||
- bugfix: 93_DbRep: fix Perl warning
|
- bugfix: 93_DbRep: fix Perl warning
|
||||||
- feature: 70_DENON_AVR: added more surround modes (thx Shadow3561)
|
- feature: 70_DENON_AVR: added more surround modes (thx Shadow3561)
|
||||||
- bugfix: 70_Pushsafer: fix availableMessages reading
|
- bugfix: 70_Pushsafer: fix availableMessages reading
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright notice
|
# Copyright notice
|
||||||
#
|
#
|
||||||
# (c) 2016-2019 Copyright: Volker Kettenbach
|
# (c) 2016-2020 Copyright: Volker Kettenbach
|
||||||
# e-mail: volker at kettenbach minus it dot de
|
# e-mail: volker at kettenbach minus it dot de
|
||||||
#
|
#
|
||||||
# Credits:
|
# Credits:
|
||||||
@ -36,6 +36,7 @@ eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
|
|||||||
|
|
||||||
# Versions History by DS_Starter
|
# Versions History by DS_Starter
|
||||||
our %SMAEM_vNotesIntern = (
|
our %SMAEM_vNotesIntern = (
|
||||||
|
"4.0.1" => "10.02.2020 fix perl warning Forum: https://forum.fhem.de/index.php/topic,51569.msg1021988.html#msg1021988",
|
||||||
"4.0.0" => "16.12.2019 change module to OBIS metric resolution, change Readings Lx_THD to Lx_Strom, FirmwareVersion to SoftwareVersion ".
|
"4.0.0" => "16.12.2019 change module to OBIS metric resolution, change Readings Lx_THD to Lx_Strom, FirmwareVersion to SoftwareVersion ".
|
||||||
"new attribute \"noCoprocess\", many internal code changes ",
|
"new attribute \"noCoprocess\", many internal code changes ",
|
||||||
"3.5.0" => "14.12.2019 support of SMA Homemanager 2.0 >= 2.03.4.R, attribute \"serialNumber\", ".
|
"3.5.0" => "14.12.2019 support of SMA Homemanager 2.0 >= 2.03.4.R, attribute \"serialNumber\", ".
|
||||||
@ -622,7 +623,7 @@ sub SMAEM_DoParse ($) {
|
|||||||
my $cosphi = $obis->{"1:13.4.0"}/1000;
|
my $cosphi = $obis->{"1:13.4.0"}/1000;
|
||||||
push(@row_array, $ps."CosPhi ".sprintf("%.3f",$cosphi)."\n");
|
push(@row_array, $ps."CosPhi ".sprintf("%.3f",$cosphi)."\n");
|
||||||
|
|
||||||
my $grid_freq = $obis->{"1:14.4.0"}/1000;
|
my $grid_freq = $obis->{"1:14.4.0"}/1000 if($obis->{"1:14.4.0"});
|
||||||
push(@row_array, $ps."GridFreq ".$grid_freq."\n") if($grid_freq);
|
push(@row_array, $ps."GridFreq ".$grid_freq."\n") if($grid_freq);
|
||||||
|
|
||||||
push(@row_array, $ps."SoftwareVersion ".$obis->{"144:0.0.0"}."\n");
|
push(@row_array, $ps."SoftwareVersion ".$obis->{"144:0.0.0"}."\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user