ModbusAttr an Wechselrichter SolarEdge SE10k [gelöst]

Begonnen von BenMarloe, 09 Dezember 2017, 00:14:24

Vorheriges Thema - Nächstes Thema

pejonp

@Mellowback

Unter was für ein BS läuft dein FHEM ?

pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

Mellowback

hier die Infos zum BS


PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"

macfly

Zitat von: Mellowback am 25 August 2022, 13:44:10
kommt eine neue Fehlermeldung: Cannot load module SolarEdge

Ich will mich jetzt nicht dazwischendrängen, aber hast du mal das logfile angeschaut, wenn du obige Fehlermeldung erzeugst? definier das device mal neu und paste hier den auszug aus deinem fhem logfile.

Mellowback

hier das log bei ausführen des Befehls:



2022.08.25 20:06:33 1 : reload: Error:Modul 98_SolarEdge deactivated:
Can't locate Math/Round.pm in @INC (you may need to install the Math::Round module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/98_SolarEdge.pm line 69.
BEGIN failed--compilation aborted at ./FHEM/98_SolarEdge.pm line 69.
2022.08.25 20:06:33 0 : Can't locate Math/Round.pm in @INC (you may need to install the Math::Round module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/98_SolarEdge.pm line 69.
BEGIN failed--compilation aborted at ./FHEM/98_SolarEdge.pm line 69.

pejonp

#289
@Mellowback

unter Linux nachfolgendes ausführen:


cpan install Math::Round

oder

apt-get install libmath-round-perl


pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

Mellowback

leider immer noch gleiches problem:


2022.08.25 20:29:19 1 : PERL WARNING: Subroutine ExprMppt redefined at ./FHEM/98_SolarEdge.pm line 47.
2022.08.25 20:29:19 1 : PERL WARNING: Subroutine ExprMeter redefined at ./FHEM/98_SolarEdge.pm line 52.
2022.08.25 20:29:19 1 : reload: Error:Modul 98_SolarEdge deactivated:
Can't locate Math/Round.pm in @INC (you may need to install the Math::Round module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/98_SolarEdge.pm line 69.
BEGIN failed--compilation aborted at ./FHEM/98_SolarEdge.pm line 69.
2022.08.25 20:29:19 0 : Can't locate Math/Round.pm in @INC (you may need to install the Math::Round module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/98_SolarEdge.pm line 69.
BEGIN failed--compilation aborted at ./FHEM/98_SolarEdge.pm line 69.

pejonp

@Mellowback

Was hast du gemacht ?
Hast du FHEM bzw. den PC/Raspi neu gestartet ?

Häng doch mal dein Log an !

pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

Mellowback

mit dem zweiten Befehl hat es funktioniert:


apt-get install libmath-round-perl


Leider kommt jetzt folgende Meldung:


Usage: define <name> SolarEdge <id> <interval>|slave|server|relay|passive [host:port] [RTU|ASCII|TCP] [to <relayMasterDevice>]

pejonp

@Mellowback

Neustart gemacht ?!

so definiert ????


define SolarEdge SolarEdge 1 60 192.168.2.186:1502 TCP



wo ist der log ??

pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

Mellowback

define hat noch gefehlt :)

Muss ich jetzt noch

defmod SEdge SolarEdge Modbus-id 60 ip:port RTU


ergänzen ?

Mellowback

Hallo zusammen,

was ist eigentlich im Befehl der Unterschied zwischen RTU und TCP ?


aikawa24

das RTU und TCP sind glaub ich zwei verschiedene Protokolle, bei mir läuft das mit TCP alles wunderbar

aikawa24

ich hab da ein anderes Problem was aber an dem Solaredge WR liegt

ich habe noch ein Victron System laufen welches über Modbus-TCP die Daten vom Solaredge holt und so die Verbindung blockiert.

gibt es die Möglichkeit die Verbindung alle 1000ms wieder aufzubauen und gleich danach wieder frei zugeben?

pejonp

@aikawa24

schau mal hier, da wurde so etwas ähnliches beschrieben (https://forum.fhem.de/index.php/topic,75638.msg1230959.html#msg1230959). Vielleicht hilft es weiter.

Ansonsten hänge mal deine Konfig hier an oder auch im Modbus-Beitrag.

pejonp

LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

Mellowback

Hallo zusammen,

kann mir jemand sagen welches Reading der Eigenverbrauch ist und welcher Wert die Einspeisung angibt ?




2022-09-16 18:06:57
Battery_1_Firmware
48V DCDC 2.2.91
2022-09-11 05:10:16
Battery_1_Instantaneous_Current_A
-3.40282346638529e+38
2022-09-16 18:06:57
Battery_1_Instantaneous_Power_W
0
2022-09-16 18:06:57
Battery_1_Instantaneous_Voltage_V
-3.40282346638529e+38
2022-09-16 18:06:57
Battery_1_Manufacturer_Name
NONE
2022-09-11 05:10:16
Battery_1_Max_Charge_Continues_Power_W
-3.40282346638529e+38
2022-09-16 18:06:57
Battery_1_Max_Charge_Peak_Power_W
-3.40282346638529e+38
2022-09-16 18:06:57
Battery_1_Max_Discharge_Peak_Power_W
-3.40282346638529e+38
2022-09-16 18:06:57
Battery_1_Model
NONE
2022-09-11 05:10:16
Battery_1_Rated_Energy_WH
-3.40282346638529e+38
2022-09-16 18:06:57
Battery_1_SOE
-3.40282346638529e+38
2022-09-16 18:06:57
Battery_1_SOH
-3.40282346638529e+38
2022-09-16 18:06:57
Battery_1_SerialNumber
7E0658F8
2022-09-11 05:10:56
Battery_1_Status
Aus
2022-09-16 18:06:57
Block_AC_Current
5 1257 418 419 418 -2
2022-09-16 18:06:56
Block_AC_Energy_WH
5 993235 0 0 0 0
2022-09-16 18:06:56
Block_AC_Frequency
5 5003 -2 0 0 0
2022-09-16 18:06:56
Block_AC_PF
5 55603 -2 0 0 0
2022-09-16 18:06:56
Block_AC_Power
5 29760 -1 0 0 0
2022-09-16 18:06:56
Block_AC_VA
5 29959 -1 0 0 0
2022-09-16 18:06:56
Block_AC_VAR
5 62086 -1 0 0 0
2022-09-16 18:06:56
Block_AC_Voltage
9 4125 4105 4119 2380 2373 2377 -1 0 0
2022-09-16 18:06:56
Block_C_Model
5 SE7K-RWS48BEN4 0 0 0 0
2022-09-11 05:10:55
Block_DC_Current
5 4050 -3 0 0 0
2022-09-16 18:06:56
Block_DC_Power
5 3021 0 0 0 0
2022-09-16 18:06:56
Block_DC_Voltage
5 7459 -1 0 0 0
2022-09-16 18:06:56
C_DeviceAddress
1
2022-09-11 05:10:05
C_Manufacturer
SolarEdge
2022-09-11 05:10:55
C_Model
SE7K-RWS48BEN4
2022-09-11 05:10:55
C_SerialNumber
7E0658F8
2022-09-11 05:10:05
C_SunSpec_DID
three phase
2022-09-11 05:10:05
C_SunSpec_ID
SunS
2022-09-11 05:10:55
C_Version
0004.0016.0114
2022-09-11 05:10:05
I_AC_Current
12.57
2022-09-16 18:06:56
I_AC_Current_A
4.18
2022-09-16 18:06:56
I_AC_Current_B
4.19
2022-09-16 18:06:56
I_AC_Current_C
4.18
2022-09-16 18:06:56
I_AC_Current_SF
-2
2022-09-16 18:06:56
I_AC_Energy_WH
993235
2022-09-16 18:06:56
I_AC_Energy_WH_SF
0
2022-09-16 18:06:56
I_AC_Frequency
50.03
2022-09-16 18:06:56
I_AC_Frequency_SF
-2
2022-09-16 18:06:56
I_AC_PF
556.03
2022-09-16 18:06:56
I_AC_PF_SF
-2
2022-09-16 18:06:56
I_AC_Power
2976
2022-09-16 18:06:56
I_AC_Power_SF
-1
2022-09-16 18:06:56
I_AC_VA
2995.9
2022-09-16 18:06:56
I_AC_VAR
6208.6
2022-09-16 18:06:56
I_AC_VAR_SF
-1
2022-09-16 18:06:56
I_AC_VA_SF
-1
2022-09-16 18:06:56
I_AC_Voltage_AB
412.5
2022-09-16 18:06:56
I_AC_Voltage_AN
238
2022-09-16 18:06:56
I_AC_Voltage_BC
410.5
2022-09-16 18:06:56
I_AC_Voltage_BN
237.3
2022-09-16 18:06:56
I_AC_Voltage_CA
411.9
2022-09-16 18:06:56
I_AC_Voltage_CN
237.7
2022-09-16 18:06:56
I_AC_Voltage_SF
-1
2022-09-16 18:06:56
I_DC_Current
4.05
2022-09-16 18:06:56
I_DC_Current_SF
-3
2022-09-16 18:06:56
I_DC_Power
3021
2022-09-16 18:06:56
I_DC_Power_SF
0
2022-09-16 18:06:56
I_DC_Voltage
745.9
2022-09-16 18:06:56
I_DC_Voltage_SF
-1
2022-09-16 18:06:56
I_Status
Inverter is ON and producing power
2022-09-16 18:06:56
I_Temp_HeatSink
41 °C
2022-09-16 18:06:56
PV_2022_7
0
2022-08-31 00:00:23
PV_2022_8
0
2022-09-16 00:00:03
X_M_ConsumptionToday
14917
2022-09-16 18:06:57
X_M_ExportedCurrentMonth
0
2022-09-16 00:00:03
X_M_ExportedCurrentWeek
623227
2022-09-16 00:00:03
X_M_ExportedToday
12405
2022-09-16 18:06:57
X_M_Exported_2022_7
0
2022-08-31 00:00:24
X_M_Exported_2022_8
0
2022-09-16 00:00:03
X_M_ImportedCurrentMonth
0
2022-09-16 00:00:03
X_M_ImportedCurrentWeek
104747
2022-09-16 00:00:03
X_M_ImportedToday
7097
2022-09-16 18:06:57
X_M_Imported_2022_7
0
2022-08-31 00:00:24
X_M_Imported_2022_8
0
2022-09-16 00:00:03
X_Meter_1_Block_AC_Current
9 110 35 36 37 -1 0 0 0 0
2022-09-16 18:06:56
X_Meter_1_Block_AC_Frequency
9 5002 -2 0 0 0 0 0 0 0
2022-09-16 18:06:56
X_Meter_1_Block_AC_PF
9 -9753 -9779 -9670 -9810 -2 0 0 0 0
2022-09-16 18:06:56
X_Meter_1_Block_AC_Power
9 2646 839 837 968 0 0 0 0 0
2022-09-16 18:06:56
X_Meter_1_Block_AC_VA
9 2646 840 849 979 0 0 0 0 0
2022-09-16 18:06:56
X_Meter_1_Block_AC_VAR
9 40 37 -139 142 0 0 0 0 0
2022-09-16 18:06:56
X_Meter_1_Block_AC_Voltage
9 23777 23777 23749 23749 0 0 0 0 -2
2022-09-16 18:06:56
X_Meter_1_Block_C_Model
9 SE-MTR-3Y-400V-A 0 0 0 0 0 0 0 0
2022-09-11 05:10:06
X_Meter_1_Block_Energy_VA
9 0 0 0 0 0 0 0 0 -32768
2022-09-16 18:06:57
X_Meter_1_Block_Energy_W
9 833562 259667 329086 269582 131715 60474 45277 50736 0
2022-09-16 18:06:57
X_Meter_1_C_DeviceAddress
2
2022-09-11 05:10:06
X_Meter_1_C_Manufacturer
SolarEdge
2022-09-11 05:11:56
X_Meter_1_C_Model
SE-MTR-3Y-400V-A
2022-09-11 05:10:06
X_Meter_1_C_Option
Export+Import
2022-09-11 05:10:06
X_Meter_1_C_SerialNumber
606757285
2022-09-11 05:10:06
X_Meter_1_C_SunSpec_DID
wye-connect three phase
2022-09-11 05:10:06
X_Meter_1_C_SunSpec_DID_0
ASolarEdge
2022-09-11 05:10:06
X_Meter_1_C_SunSpec_Length
ASolarEdge
2022-09-11 05:10:55
X_Meter_1_C_Version
1077
2022-09-11 05:10:06
X_Meter_1_M_AC_Current
11
2022-09-16 18:06:56
X_Meter_1_M_AC_Current_A
3.5
2022-09-16 18:06:56
X_Meter_1_M_AC_Current_B
3.6
2022-09-16 18:06:56
X_Meter_1_M_AC_Current_C
3.7
2022-09-16 18:06:56
X_Meter_1_M_AC_Current_SF
-1
2022-09-16 18:06:56
X_Meter_1_M_AC_Frequency
50.02
2022-09-16 18:06:56
X_Meter_1_M_AC_Frequency_SF
-2
2022-09-16 18:06:56
X_Meter_1_M_AC_PF
-97.53
2022-09-16 18:06:56
X_Meter_1_M_AC_PF_A
-97.79
2022-09-16 18:06:56
X_Meter_1_M_AC_PF_B
-96.7
2022-09-16 18:06:56
X_Meter_1_M_AC_PF_C
-98.1
2022-09-16 18:06:56
X_Meter_1_M_AC_PF_SF
-2
2022-09-16 18:06:56
X_Meter_1_M_AC_Power
2646
2022-09-16 18:06:56
X_Meter_1_M_AC_Power_A
839
2022-09-16 18:06:56
X_Meter_1_M_AC_Power_B
837
2022-09-16 18:06:56
X_Meter_1_M_AC_Power_C
968
2022-09-16 18:06:56
X_Meter_1_M_AC_Power_SF
0
2022-09-16 18:06:56
X_Meter_1_M_AC_VA
2646
2022-09-16 18:06:56
X_Meter_1_M_AC_VAR
40
2022-09-16 18:06:56
X_Meter_1_M_AC_VAR_A
37
2022-09-16 18:06:56
X_Meter_1_M_AC_VAR_B
-139
2022-09-16 18:06:56
X_Meter_1_M_AC_VAR_C
142
2022-09-16 18:06:56
X_Meter_1_M_AC_VAR_SF
0
2022-09-16 18:06:56
X_Meter_1_M_AC_VA_A
840
2022-09-16 18:06:56
X_Meter_1_M_AC_VA_B
849
2022-09-16 18:06:56
X_Meter_1_M_AC_VA_C
979
2022-09-16 18:06:56
X_Meter_1_M_AC_VA_SF
0
2022-09-16 18:06:56
X_Meter_1_M_AC_Voltage_AB
0
2022-09-16 18:06:56
X_Meter_1_M_AC_Voltage_AN
237.77
2022-09-16 18:06:56
X_Meter_1_M_AC_Voltage_BC
0
2022-09-16 18:06:56
X_Meter_1_M_AC_Voltage_BN
237.49
2022-09-16 18:06:56
X_Meter_1_M_AC_Voltage_CA
0
2022-09-16 18:06:56
X_Meter_1_M_AC_Voltage_CN
237.49
2022-09-16 18:06:56
X_Meter_1_M_AC_Voltage_LL
0
2022-09-16 18:06:56
X_Meter_1_M_AC_Voltage_LN
237.77
2022-09-16 18:06:56
X_Meter_1_M_AC_Voltage_SF
-2
2022-09-16 18:06:56
X_Meter_1_M_Energy_VA_SF
-32768
2022-09-16 18:06:57
X_Meter_1_M_Energy_W_SF
0
2022-09-16 18:06:57
X_Meter_1_M_Exported
833562
2022-09-16 18:06:57
X_Meter_1_M_Exported_A
259667
2022-09-16 18:06:57
X_Meter_1_M_Exported_B
329086
2022-09-16 18:06:57
X_Meter_1_M_Exported_C
269582
2022-09-16 18:06:57
X_Meter_1_M_Exported_VA
0
2022-09-16 18:06:57
X_Meter_1_M_Exported_VA_A
0
2022-09-16 18:06:57
X_Meter_1_M_Exported_VA_B
0
2022-09-16 18:06:57
X_Meter_1_M_Exported_VA_C
0
2022-09-16 18:06:57
X_Meter_1_M_Imported
131715
2022-09-16 18:06:57
X_Meter_1_M_Imported_A
60474
2022-09-16 18:06:57
X_Meter_1_M_Imported_B
45277
2022-09-16 18:06:57
X_Meter_1_M_Imported_C
50736
2022-09-16 18:06:57
X_Meter_1_M_Imported_VA
0
2022-09-16 18:06:57
X_Meter_1_M_Imported_VA_A
0
2022-09-16 18:06:57
X_Meter_1_M_Imported_VA_B
0
2022-09-16 18:06:57
X_Meter_1_M_Imported_VA_C
0
2022-09-16 18:06:57
X_PV_Energy
993235
2022-09-16 18:06:56
X_PV_EnergyCurrentMonth
0
2022-09-16 00:00:03
X_PV_EnergyCurrentWeek
739479
2022-09-16 00:00:03
X_PV_EnergyToday
20225