76_SMAInverter.pm - Abfrage von SMA Wechselrichter

Begonnen von sct14675, 28 Juli 2016, 11:01:16

Vorheriges Thema - Nächstes Thema

MadMax

Du hast natürlich Rest mit 6,6 + 7,4 = 14.
Dann ziehen wir noch 1kwh entlang der Batterie von der EToday ab und es passt  ;D

Die Batteri hat scheinba von gester auf Heute nach 0uhr gereich.
ETODAY ist das was der Wechselrichte AC-Seitig ausgibt. Also auch das aus der Batteri vom Vortag.
Darum gibt es auch den Wert EPVTODAY für der Erzeugung.

Meine Wertepassen 99,9% zu dem vom WR uns dem Sunnyportal.

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

300P

....mir geht es dabei nicht um "Rechthaberei".

Bei mir passt das Ergebnis auch und ich bin voll mit deinen bisherigen Ausführung konform....  ;)

Ich weiss aktuell auch nicht so ganz was seit den letzten neuen Veränderungen bzw. neuen Werten nun an den ausgelesenen Werten hineininterpretiert wird. ???

Es war und ist ein Modul zum reinen Auslesen der verfügbaren Werte aus einem WR - kein Statistikmodul -.
Alles andere muss man nach meinem Verständnis dann schon selber "er- oder berechnen".
Ganz genau kann es jedenfalls keiner von uns wissen was die Techniker von SMA auf deren Webportalen wann und wie zu welchem Zeitpunkt berechnen lassen oder an Werten (nicht) anzeigen / streichen / etc.. usw. :-X

Gruß
300P
FHEM 6.3 - Raspberry Pi 3 / Pi 4 - VControl300 mit VITOVALOR 300P - SMAEM - SMAInverter - DbLog/DbRep - MariaDB/QNAP - div. HTTPMOD - div. Modbus ser+TCP - SolarForecast - Tibber + Ladung mit SMA-SBS25

MadMax

Hallo 300p,

Ich meinte das auch nicht so. Aber 7,4 + 6,6 sind halt nicht 13  :o

Gena, das Modul ließt die "Rohen" Daten vom WR.

Ich Checke das Modu dann auch so ein.

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

xasher

Hallo zusammen,

vielen Dank für die Antwort. Ich habe tatsächlich den falschen Wert für die Erzeugung angenommen.
Gibt es irgendwo die Möglichkeit nachzulesen, was die Werte bedeuten? Mir ist das teilweise nicht ganz klar.

Vielen Dank und viele Grüße
Alex

isy

Moin Alex.
unten am Ende des WR findest du die Hilfe.
Alles gut erklärt.

Heißt "Help for <Inverter>

VG Helmut
Ein Weg wird erst zu einem Weg, wenn man ihn geht

xasher


isy

Vergleich der Zahlen zw. den Systemen:

Solarview:
Akt. Leistg WR: 930 [W], Bilanz ÜP: 647 [W], Tagesertrag 2.4 [kWh], Tagesbezug: 2.4 [kWh], Einspeisung: 0.9 [kWh]

SMAEM
Bilanz ÜP: 651.6 [W]

Sunny Tripower 10SE
Akt. Leistg WR: 930 [W], Bilanz ÜP: 640 [W], Tagesertrag 2356 [Wh], Tagesbezug: 2423 [Wh], Einspeisung: 872 [Wh],
Ladestatus BYD: 0 %, BYD Ladung: 0 [Wh], BYD Entladung: 0 [Wh]

--> Sieht sehr gut aus! Klasse Arbeit

Readings der berechneten Felder:
"Bilanz ÜP" ist berechnet aus "Meter_Power_Grid_FeedIn" - "Meter_Power_Grid_Consumation"
"Tagesbezug" ist berechnet aus "statMeter_TOTAL_Grid_Consumation", (Statistics Modul)
"Einspeisung" ist berechnet aus "statMeter_TOTAL_Grid_FeedIn"


Die Abweichungen zw. den einzelnen Systemen ergeben sich aus unterschiedlichen Update Intervallen.
Der Einsatz des statistics Modules ist dringend notwendig.
Batterie noch auf 0, da ein Stecker defekt ist.

VG Helmut
Ein Weg wird erst zu einem Weg, wenn man ihn geht

MadMax

Bekommst du jetzt ein Stecker?
Wir hatten ein kompletten Satz Stecker für einen STP 10.0 SE in weniger als einer Woche bekommen.
Bei dir dauert das doch schon fast drei Wochen?

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

isy

Wohl wahr.
Ich  habe schon Druck gemacht, kein Erfolg.
Ein Weg wird erst zu einem Weg, wenn man ihn geht

gunzebe

Hallo zusammen,

habe diese Woche meinen SMA STP X 25 installiert bekommen. Der Zugriff auf den WR mit diesem Modul scheint nicht so wirklich zu funktionieren. (Oder ich mache etwas falsch...)

Da die X Serie noch relativ neu ist gehe ich davon aus, dass sich da wohl irgendwas geändert hat...hat das schon jemand im Einsatz und kann mir hier weiterhelfen? Im Modul selbst wird der WR ja auch nicht aufgeführt.

Vielen Dank für Input und Gruß,
Bene

MadMax

Hallo Bene,

Bitte stell das Modul auf Verbose 5 und frage dann bitte die Daten ab.
Schick mir dann bitte den Auszug aus dem Log.
Die Tripower X sere hatte ich schon Vorbereitet.

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

Lythie

#1301
Hi,

das Thema STX hatte ich ja auch schon mal angebracht...

Zitat von: Lythie am 31 Januar 2023, 00:22:54
Nochmal zurück zum neuen Modell SMA STX20: Ich habe jetzt Logs zur Tageszeit:

2023.01.30 16:28:14 4: SMAstx20 - ###############################################################
2023.01.30 16:28:14 4: SMAstx20 - ##########  Begin of new SMAInverter get data cycle  ##########
2023.01.30 16:28:14 4: SMAstx20 - ###############################################################
2023.01.30 16:28:14 4: SMAstx20 - timeout cycles since module start: 3
2023.01.30 16:28:14 4: SMAstx20 -> Start BlockingCall SMAInverter_getstatusDoParse
2023.01.30 16:28:14 4: SMAstx20 - current time: 30.01.2023 16:28:14
2023.01.30 16:28:14 4: SMAstx20 - operation time begin: 30.01.2023 07:37:53
2023.01.30 16:28:14 4: SMAstx20 - operation time end: 30.01.2023 17:49:16
2023.01.30 16:28:14 5: SMAstx20 -
2023.01.30 16:28:14 4: SMAstx20 - Send login to 192.168.178.114 on Port 9522 with password .....
2023.01.30 16:28:14 5: SMAstx20 - Send: 534D4100000402A000000001003A001060650EA0FFFFFFFFFFFF0001E90023BB590700010000000001800C04FDFF07000000840300000EE2D76300000000CDFCF2EACBEDEBF8ECDCEBC170516D5F4B4645000000000
2023.01.30 16:29:09 3: STX20: MapConvert called from FormatReading did not find 475.881530761719 (475.881530761719) in map NaN:0
2023.01.30 16:29:14 3: SMAInverter SMAstx20 - WARNING - old process 19836 will be killed now to start a new BlockingCall
2023.01.30 16:29:14 1: SMAInverter SMAstx20 -> BlockingCall SMAInverter_getstatusDoParse Timeout: process terminated

Die Zeile mit dem STX20: gehört augenscheinlich zum HTTPMOD-Device meines WR.

Config ist wie folgt:
define SMAstx20 SMAInverter PW 192.168.178.114
attr SMAstx20 suppressReading 1
attr SMAstx20 verbose 5

... und war noch eine Antwort schuldig (sorry, war etwas hektisch die letzten Tage). Ich nutze Version FVERSION 76_SMAInverter.pm:v2.21.2-s27097/2023-01-22 und folgende Infos sehe ich im Log (verbose mittlerweile auf 3, im o.g. Post war es noch 5):

2023.02.26 14:21:52 1: SMAInverter SMAstx20 -> BlockingCall SMAInverter_getstatusDoParse Timeout: process terminated
2023.02.26 14:22:06 1: SMAstx20 - Format of inverter response does not fit.
2023.02.26 14:22:10 3: InfluxDBLogger: [influxDB] defined with server http://localhost:8086 database FHEM-bucket notifydev Mythz,STX20,SolarPrognose,SMAstx20,DWD
2023.02.26 14:22:12 3: SMAstx20 - Set interval to 60
2023.02.26 14:23:17 3: SMAInverter SMAstx20 - WARNING - old process 18822 will be killed now to start a new BlockingCall
2023.02.26 14:23:17 1: SMAInverter SMAstx20 -> BlockingCall SMAInverter_getstatusDoParse Timeout: process terminated
2023.02.26 14:24:17 3: SMAInverter SMAstx20 - WARNING - old process 18883 will be killed now to start a new BlockingCall
2023.02.26 14:24:17 1: SMAInverter SMAstx20 -> BlockingCall SMAInverter_getstatusDoParse Timeout: process terminated
2023.02.26 14:25:17 3: SMAInverter SMAstx20 - WARNING - old process 18936 will be killed now to start a new BlockingCall
2023.02.26 14:25:17 1: SMAInverter SMAstx20 -> BlockingCall SMAInverter_getstatusDoParse Timeout: process terminated


Kann man mit den Infos etwas anfangen? Bzw. was bräuchte es noch?

Edit: Habe gerade ge-updated auf 76_SMAInverter.pm:v2.21.6-s27233/2023-02-16, jetzt sehe ich mit verbose=5 folgendes:

2023.02.28 21:45:26 4: SMAstx20 - ###############################################################
2023.02.28 21:45:26 4: SMAstx20 - ##########  Begin of new SMAInverter get data cycle  ##########
2023.02.28 21:45:26 4: SMAstx20 - ###############################################################
2023.02.28 21:45:26 4: SMAstx20 - timeout cycles since module start: 0
2023.02.28 21:45:26 4: SMAstx20 -> INVCLASS 0
2023.02.28 21:45:26 4: SMAstx20 -> INVTYPE 0
2023.02.28 21:45:26 4: SMAstx20 -> Start BlockingCall SMAInverter_getstatusDoParse
2023.02.28 21:45:26 4: SMAstx20 - current time: 28.02.2023 21:45:26
2023.02.28 21:45:26 4: SMAstx20 - operation time begin: 28.02.2023 06:46:09
2023.02.28 21:45:26 4: SMAstx20 - operation time end: 28.02.2023 18:40:19
2023.02.28 21:45:26 5: SMAstx20 -> row_array before encoding:
2023.02.28 21:45:26 5: SMAstx20 -> modulstate sleep
2023.02.28 21:45:26 5: SMAstx20 -> opertime_start 28.02.2023 06:46:09
2023.02.28 21:45:26 5: SMAstx20 -> opertime_stop 28.02.2023 18:40:19
2023.02.28 21:45:26 5: SMAstx20 -> state done
2023.02.28 21:45:26 4: SMAstx20 -> BlockingCall SMAInverter_getstatusDoParse finished
2023.02.28 21:45:26 4: SMAstx20 -> Start BlockingCall SMAInverter_getstatusParseDone
2023.02.28 21:45:26 5: SMAstx20 -> row_array after decoding:
2023.02.28 21:45:26 5: SMAstx20 -> modulstate sleep
2023.02.28 21:45:26 5: SMAstx20 -> opertime_start 28.02.2023 06:46:09
2023.02.28 21:45:26 5: SMAstx20 -> opertime_stop 28.02.2023 18:40:19
2023.02.28 21:45:26 5: SMAstx20 -> state done
2023.02.28 21:45:26 4: SMAstx20 -> BlockingCall SMAInverter_getstatusParseDone finished

Edit 1.3.: Bzw. tagsüber:
2023.03.01 14:28:15 3: SMAInverter SMAstx20 - WARNING - old process 14636 will be killed now to start a new BlockingCall
2023.03.01 14:28:15 1: SMAInverter SMAstx20 -> BlockingCall SMAInverter_getstatusDoParse Timeout: process terminated
2023.03.01 14:28:15 4: SMAstx20 - ###############################################################
2023.03.01 14:28:15 4: SMAstx20 - ##########  Begin of new SMAInverter get data cycle  ##########
2023.03.01 14:28:15 4: SMAstx20 - ###############################################################
2023.03.01 14:28:15 4: SMAstx20 - timeout cycles since module start: 3
2023.03.01 14:28:15 4: SMAstx20 -> INVCLASS 0
2023.03.01 14:28:15 4: SMAstx20 -> INVTYPE 0
2023.03.01 14:28:15 4: SMAstx20 -> Start BlockingCall SMAInverter_getstatusDoParse
2023.03.01 14:28:15 4: SMAstx20 - current time: 01.03.2023 14:28:15
2023.03.01 14:28:15 4: SMAstx20 - operation time begin: 01.03.2023 06:44:02
2023.03.01 14:28:15 4: SMAstx20 - operation time end: 01.03.2023 18:42:06
2023.03.01 14:28:15 5: SMAstx20 -
2023.03.01 14:28:15 4: SMAstx20 - Send login to 192.168.178.114 on Port 9522 with password ...
2023.03.01 14:28:15 5: SMAstx20 - Send: 534D4100000402A000000001003A001060650EA0FFFFFFFFFFFF0001E90023BB590700010000000001800C04FDFF0700000084030000EF52FF6300000000CDFCF2EACBEDEBF8ECDCEBC170516D5F4B4645000000000
Rasbpi 4 mit Originalnetzteil, fhem zur Heizungsanbindung, vzlogger für Stromzähler, httpmod für Tibber-Bridge, influxDB und Grafana, PV S/O mit 23kWp ÜE, THZ403Sol inkl. 2 Kollektoren, ohne Zirkulationspumpe, Bau aus 2011 als KfW70/EnEV2009 mit 255qm Fläche, Jahresheizwärmebedarf 12.500 kWh/a

Dracolein

Moin zusammen,

habe vorgestern nach monaten mal wieder ein FHEM-Update durchlaufen lassen und mir fielen heute folgende Logeinträge auf, die ich bisher nie gesehen habe:

Zitat
2023.03.03 09:52:30 1: SMATripower6 - Inverter answer does not match our parameters.
2023.03.03 11:47:00 1: SMATripower6 - Format of inverter response does not fit.
2023.03.03 17:17:30 1: SMATripower6 - Inverter answer does not match our parameters.

FHEM-Modulversion: FVERSION 76_SMAInverter.pm:v2.21.6-s27233/2023-02-16
Aktuelle Firmware auf dem SMA-Device:  Firmware-Version: 4.0.8.R

Raspberry Pi 4 mit FHEM; FTUI Dashboard auf Asus 15,6" VT168H Touchscreen; ZigBee mit ConBee2 USB-Stick; div. Shelly 2.5; integr. Gaszähler mit ESP8266 & ESPEasy;

MadMax

Hallo,

Ich habe aktuell Probleme mit meinem Raspberry die ist erstmal beheben muss.
Trotzdem kannst du bitte mal mit Verbose 5 ein Log schreiben und bitte hier posten.

Danke.
Gruß Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

MadMax

Hallo Lythie,

sieht so aus als könnte sich das Modul nicht im WR anmelden.

Zitat von: Lythie am 28 Februar 2023, 19:28:17

[tt]2023.02.28 21:45:26 4: SMAstx20 - ###############################################################
2023.02.28 21:45:26 4: SMAstx20 - ##########  Begin of new SMAInverter get data cycle  ##########
2023.02.28 21:45:26 4: SMAstx20 - ###############################################################
2023.02.28 21:45:26 4: SMAstx20 - timeout cycles since module start: 0
2023.02.28 21:45:26 4: SMAstx20 -> INVCLASS 0
2023.02.28 21:45:26 4: SMAstx20 -> INVTYPE 0
2023.02.28 21:45:26 4: SMAstx20 -> Start BlockingCall SMAInverter_getstatusDoParse
2023.02.28 21:45:26 4: SMAstx20 - current time: 28.02.2023 21:45:26
2023.02.28 21:45:26 4: SMAstx20 - operation time begin: 28.02.2023 06:46:09
2023.02.28 21:45:26 4: SMAstx20 - operation time end: 28.02.2023 18:40:19
2023.02.28 21:45:26 5: SMAstx20 -> row_array before encoding:
2023.02.28 21:45:26 5: SMAstx20 -> modulstate sleep
2023.02.28 21:45:26 5: SMAstx20 -> opertime_start 28.02.2023 06:46:09
2023.02.28 21:45:26 5: SMAstx20 -> opertime_stop 28.02.2023 18:40:19
2023.02.28 21:45:26 5: SMAstx20 -> state done
2023.02.28 21:45:26 4: SMAstx20 -> BlockingCall SMAInverter_getstatusDoParse finished
2023.02.28 21:45:26 4: SMAstx20 -> Start BlockingCall SMAInverter_getstatusParseDone
2023.02.28 21:45:26 5: SMAstx20 -> row_array after decoding:
2023.02.28 21:45:26 5: SMAstx20 -> modulstate sleep
2023.02.28 21:45:26 5: SMAstx20 -> opertime_start 28.02.2023 06:46:09
2023.02.28 21:45:26 5: SMAstx20 -> opertime_stop 28.02.2023 18:40:19
2023.02.28 21:45:26 5: SMAstx20 -> state done
2023.02.28 21:45:26 4: SMAstx20 -> BlockingCall SMAInverter_getstatusParseDone finished
[/tt]

Edit 1.3.: Bzw. tagsüber:
[tt]2023.03.01 14:28:15 3: SMAInverter SMAstx20 - WARNING - old process 14636 will be killed now to start a new BlockingCall
2023.03.01 14:28:15 1: SMAInverter SMAstx20 -> BlockingCall SMAInverter_getstatusDoParse Timeout: process terminated
2023.03.01 14:28:15 4: SMAstx20 - ###############################################################
2023.03.01 14:28:15 4: SMAstx20 - ##########  Begin of new SMAInverter get data cycle  ##########
2023.03.01 14:28:15 4: SMAstx20 - ###############################################################
2023.03.01 14:28:15 4: SMAstx20 - timeout cycles since module start: 3
2023.03.01 14:28:15 4: SMAstx20 -> INVCLASS 0
2023.03.01 14:28:15 4: SMAstx20 -> INVTYPE 0
2023.03.01 14:28:15 4: SMAstx20 -> Start BlockingCall SMAInverter_getstatusDoParse
2023.03.01 14:28:15 4: SMAstx20 - current time: 01.03.2023 14:28:15
2023.03.01 14:28:15 4: SMAstx20 - operation time begin: 01.03.2023 06:44:02
2023.03.01 14:28:15 4: SMAstx20 - operation time end: 01.03.2023 18:42:06
2023.03.01 14:28:15 5: SMAstx20 -
2023.03.01 14:28:15 4: SMAstx20 - Send login to 192.168.178.114 on Port 9522 with password ...
2023.03.01 14:28:15 5: SMAstx20 - Send: 534D4100000402A000000001003A001060650EA0FFFFFFFFFFFF0001E90023BB590700010000000001800C04FDFF0700000084030000EF52FF6300000000CDFCF2EACBEDEBF8ECDCEBC170516D5F4B4645000000000
[/tt]


was steht im Log nach der Anmeldung?

2023.03.01 14:28:15 4: SMAstx20 - Send login to 192.168.178.114 on Port 9522 with password ...
2023.03.01 14:28:15 5: SMAstx20 - Send: 534D4100000402A000000001003A001060650EA0FFFFFFFFFFFF0001E90023BB590700010000000001800C04FDFF0700000084030000EF52FF6300000000CDFCF2EACBEDEBF8ECDCEBC170516D5F4B4645000000000


Das sollte so aussehen wenn die Anmeldung nicht klapp (Passwort falsch)

2023.03.05 13:32:14 4: STP_8_0_SE_test - Send login to 192.168.10.111 on Port 9522 with password xxxxx
2023.03.05 13:32:14 5: STP_8_0_SE_test - Send: 534D4100000402A000000001003A001060650EA0B8017C848DB30001E90023BB590700010000000001800C04FDFF0700000084030000CE8B0464000000008DDDB9EDBDC0BFBEBEFD888800000000
2023.03.05 13:32:14 5: STP_8_0_SE_test - Received: 534d4100000402a000000001002e001060650be0e90023bb59070001b8017c848db300010001000001800d04fdff0700000084030000ce8b04640000000000000000
2023.03.05 13:32:14 1: STP_8_0_SE_test - Inverter answer does not match our parameters.


Oder so wenn es klappt:

2023.03.05 13:32:59 4: STP_8_0_SE_test - Send login to 192.168.10.111 on Port 9522 with password xxxxxxxx
2023.03.05 13:32:59 5: STP_8_0_SE_test - Send: 534D4100000402A000000001003A001060650EA0B8017C848DB30001E90023BB590700010000000001800C04FDFF0700000084030000FB8B046400000000D8DEE9B8BDBAB8BAB9A9888800000000
2023.03.05 13:32:59 5: STP_8_0_SE_test - Received: 534d4100000402a000000001002e001060650be0e90023bb59070001b8017c848db300010000000001800d04fdff0700000084030000fb8b04640000000000000000
2023.03.05 13:32:59 4: STP_8_0_SE_test - logged in to inverter serial: 3012396156, susyid: 440
2023.03.05 13:32:59 5: STP_8_0_SE_test - Logged in now


Bei dir fehlt im Log leoder die Antwort vom WR.

Wie ist der WR verbunden? LAN oder WLAN?

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 5x SMA Wechselrichter, BYD HVM, SMA EVCharger, Daikin Wärmepumpe über CAN

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax