From 34a028b0dd957de38213cad34affa22415e3e545 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Mon, 2 Jul 2018 20:11:29 +0000 Subject: [PATCH] 76_SMAInverter: Internal MODEL added git-svn-id: https://svn.fhem.de/fhem/trunk@16934 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/76_SMAInverter.pm | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 92a06174c..06f460f13 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. + - change: 76_SMAInverter: Internal MODEL added - feature: 49_SSCam: V5.3.0, new createStreamDev generic, control elements for runView content within fhemweb, some new CamLive- Readings, minor fixes diff --git a/fhem/FHEM/76_SMAInverter.pm b/fhem/FHEM/76_SMAInverter.pm index 610e36d6a..ae9fbda54 100644 --- a/fhem/FHEM/76_SMAInverter.pm +++ b/fhem/FHEM/76_SMAInverter.pm @@ -26,8 +26,9 @@ # # ################################################################################################################# -# Versions History done by DS_Starter +# Versions History by DS_Starter # +# 2.10.0 29.06.2018 Internal MODEL added # 2.9.2 08.10.2017 adapted to use extended abortArg (Forum:77472) # 2.9.1 24.04.2017 fix for issue #24 (Wrong INV_TYPE for STP10000TL-20) and fix for issue #25 (unpack out of range for SB1.5-1VL-40) # 2.9.0 23.04.2017 fixed issue #22: wrong logon command for SunnyBoy systems @@ -81,7 +82,7 @@ use Time::HiRes qw(gettimeofday tv_interval); use Blocking; use Time::Local; -my $SMAInverterVersion = "2.9.2"; +my $SMAInverterVersion = "2.10.0"; # Inverter Data fields and supported commands flags. # $inv_SPOT_ETODAY # Today yield @@ -949,6 +950,7 @@ sub getstatus_ParseDone ($) { foreach my $row (@row_array) { chomp $row; my @a = split(" ", $row, 2); + $hash->{MODEL} = $a[1] if($a[0] eq "device_type"); readingsBulkUpdate($hash, $a[0], $a[1]); } readingsBulkUpdate($hash, "background_processing_time", sprintf("%.4f",$brt)) if(AttrVal($name, "showproctime", undef));