Forum

Unterstützte das Deye Forum

 Deye Hybrid Angebote   Deye Zubehör Produkte

Fehlerhaft Werte im...
 
Benachrichtigungen
Alles löschen

Fehlerhaft Werte im Plot bei Fhem

22 Beiträge
3 Benutzer
0 Reactions
317 Ansichten
(@e_brandt)
Mitglied Neues Mitglied
Mitglied seit: Vor 2 Monaten
Beiträge: 13
Themenstarter  
  • Hallo, ich bin Enrico und neu hier im Forum, natürlich weil ich ein Problem habe. 

Ich habe den Wechselrichter jetzt ein paar Wochen in Betrieb. Ich bin soweit erstmal total zufrieden. Das Problem ist das ich am L1 des Generator einen kleinen Wechselrichter angeschlossen der soweit aich funktioniert, jedoch das Plot im FHEM fehlerhaft. Es kommen anscheinend falsche Daten vom WR. Hat jemand ähnliche Probleme und eventuell eine Lösung? Ich hänge mal ein Bild vom Plot an.

Die anderen Plots sind tadellos. Es handelt sich um Register 664 bzw 667 da ist es genau so. Da kommen Werte jenseits von 20 Kw. Dort ist aber nur ne 1 kwp Anlage dran.

Komisch finde ich auch in der App den Wert der Gesamtproduktion des Microwechselrichters mit 127,13 GWh.

 

Dieses Thema wurde geändert Vor 2 Monaten von e_brandt

Deye SUN-12K-SG04LP3-EU


   
Zitat
(@burny)
Premium Mitglied Neues Mitglied
Mitglied seit: Vor 12 Monaten
Beiträge: 92
 

Um welchen Wechselrichter handelt es sich überhaupt?

LG
Chris
SUN-12K-SG01HP3-EU-AM2, 2 x GB-LBS 12,27kWh
SUN-15K-SG01HP3-EU-AM2, 1 x GB-LBS 24,54kWh


   
AntwortZitat
(@e_brandt)
Mitglied Neues Mitglied
Mitglied seit: Vor 2 Monaten
Beiträge: 13
Themenstarter  

@burny Es ist der SUN-12K-SG04LP3-EU

Deye SUN-12K-SG04LP3-EU


   
AntwortZitat
(@burny)
Premium Mitglied Neues Mitglied
Mitglied seit: Vor 12 Monaten
Beiträge: 92
 

Zeig mir mal deine FHEM Config des Deye.

LG
Chris
SUN-12K-SG01HP3-EU-AM2, 2 x GB-LBS 12,27kWh
SUN-15K-SG01HP3-EU-AM2, 1 x GB-LBS 24,54kWh


   
AntwortZitat
(@e_brandt)
Mitglied Neues Mitglied
Mitglied seit: Vor 2 Monaten
Beiträge: 13
Themenstarter  

Hallo, hier das List:

[code]define Mod_Deye ModbusAttr 3 10
attr Mod_Deye DbLogExclude .*
attr Mod_Deye DbLogInclude PV1_W:10,Akku_W:10,Netzbezug_Kwh_Tag:10,Netzbezug_W:10,Akku_Entladen_kWh_Tag,PV_kWh_Tag, gen_eing_gesamt:5,Genport_power_L1:5
attr Mod_Deye IODev ModbusLine
attr Mod_Deye alias Deye Wechselrichter
attr Mod_Deye dev-h-combine 5
attr Mod_Deye dev-h-defPoll 1
attr Mod_Deye dev-h-defUnpack n
attr Mod_Deye dev-type-S16-unpack s>
attr Mod_Deye obj-h514-expr $val * 0.1
attr Mod_Deye obj-h514-reading Akku_Laden_kWh_Tag
attr Mod_Deye obj-h515-expr $val * 0.1
attr Mod_Deye obj-h515-reading Akku_Entladen_kWh_Tag
attr Mod_Deye obj-h516-expr $val * 0.1
attr Mod_Deye obj-h516-len 2
attr Mod_Deye obj-h516-reading Akku_Laden_kWh
attr Mod_Deye obj-h518-expr $val * 0.1
attr Mod_Deye obj-h518-len 2
attr Mod_Deye obj-h518-reading Akku_Entaden_kWh
attr Mod_Deye obj-h519-reading Akku_W
attr Mod_Deye obj-h520-expr $val * 0.1
attr Mod_Deye obj-h520-reading Netzbezug_Kwh_Tag
attr Mod_Deye obj-h522-expr $val * 0.1
attr Mod_Deye obj-h522-len 2
attr Mod_Deye obj-h522-reading Netzbezug_Kwh
attr Mod_Deye obj-h529-expr $val * 0.1
attr Mod_Deye obj-h529-reading PV_kWh_Tag
attr Mod_Deye obj-h534-expr $val * 0.1
attr Mod_Deye obj-h534-len 2
attr Mod_Deye obj-h534-reading PV_kWh
attr Mod_Deye obj-h540-expr ($val -1000) * 0.1
attr Mod_Deye obj-h540-format %.1f
attr Mod_Deye obj-h540-reading Temp_DC
attr Mod_Deye obj-h541-expr ($val -1000) * 0.1
attr Mod_Deye obj-h541-format %.1f
attr Mod_Deye obj-h541-reading Temp_AC
attr Mod_Deye obj-h587-expr $val * 0.01
attr Mod_Deye obj-h587-format %.1f
attr Mod_Deye obj-h587-reading Akku_V
attr Mod_Deye obj-h588-reading Akku_SOC
attr Mod_Deye obj-h591-expr $val * 0.01
attr Mod_Deye obj-h591-format %.1f
attr Mod_Deye obj-h591-reading Battery_output_current_A
attr Mod_Deye obj-h591-type S16
attr Mod_Deye obj-h591-unpack s>
attr Mod_Deye obj-h598-expr $val * 0.1
attr Mod_Deye obj-h598-format %.1f
attr Mod_Deye obj-h598-reading Grid_L1
attr Mod_Deye obj-h599-expr $val * 0.1
attr Mod_Deye obj-h599-format %.1f
attr Mod_Deye obj-h599-reading Grid_L2
attr Mod_Deye obj-h600-expr $val * 0.1
attr Mod_Deye obj-h600-format %.1f
attr Mod_Deye obj-h600-reading Grid_L3
attr Mod_Deye obj-h609-expr $val * 0.01
attr Mod_Deye obj-h609-format %.2f
attr Mod_Deye obj-h609-reading Netzfrequenz
attr Mod_Deye obj-h625-reading Grid_side_total_power_W
attr Mod_Deye obj-h625-type S16
attr Mod_Deye obj-h630-expr $val * 0.01
attr Mod_Deye obj-h630-reading WR_L1_A
attr Mod_Deye obj-h631-expr $val * 0.01
attr Mod_Deye obj-h631-reading WR_L2_A
attr Mod_Deye obj-h632-expr $val * 0.01
attr Mod_Deye obj-h632-reading WR_L3_A
attr Mod_Deye obj-h633-reading WR_L1_W
attr Mod_Deye obj-h634-reading WR_L2_W
attr Mod_Deye obj-h635-reading WR_L3_W
attr Mod_Deye obj-h664-reading Genport_power_L1
attr Mod_Deye obj-h667-reading gen_eing_gesamt
attr Mod_Deye obj-h672-reading PV1_W
attr Mod_Deye obj-h673-reading PV2_W
attr Mod_Deye obj-h676-expr $val * 0.1
attr Mod_Deye obj-h676-reading PV1_V
attr Mod_Deye obj-h677-expr $val * 0.1
attr Mod_Deye obj-h677-reading PV1_A
attr Mod_Deye obj-h678-expr $val * 0.1
attr Mod_Deye obj-h678-reading PV2_V
attr Mod_Deye obj-h679-expr $val * 0.1
attr Mod_Deye obj-h679-reading PV2_A
attr Mod_Deye room Wechselrichter
attr Mod_Deye stateFormat <div style='color:green'> Netzspannung L1: Grid_L1 Volt<br/>\
<div style='color:green'> Netzspannung L2: Grid_L2 Volt<br/>\
<div style='color:green'> Netzspannung L3: Grid_L3 Volt<br/>\
\
\
<div style='color:red'> Netzbezug aktuall: Netzbezug_W Watt aktuell <br/>  \
<div style='color:red'> Netzbezug: Netzbezug_Kwh_Tag Kwh Tag <br/>\
<div style='color:red'> Netzbezug: Netzbezug_Kwh Kwh gesamt <br/>\
<div style='color:yellow'> Solar aktuell: PV1_W Watt  <br/>\
<div style='color:yellow'> Solar Tag: PV_kWh_Tag Kwh  <br/>\
<div style='color:yellow'> Akku entladen Tag: Akku_Entladen_kWh_Tag Kwh  <br/>\
\
\
<div style='color:red'> Akku Spannung: Akku_V Volt <br/>  \
<div style='color:red'> Akku Strom:  Akku_A  Amp  <br/>  \
<div style='color:red'> Akkustand:  Akku_SOC  % <br/>  \
\
\
\
\
\
\
\
\

attr Mod_Deye verbose 0
#   DEF        3 10
#   FUUID      67362268-f33f-43c0-5f0e-45b651d380218eb6
#   IODev      ModbusLine
#   Interval   10
#   MODBUSID   3
#   MODE       master
#   MODULEVERSION Modbus 4.5.6 - 7.11.2023
#   NAME       Mod_Deye
#   NOTIFYDEV  global
#   NR         477
#   NTFY_ORDER 50-Mod_Deye
#   PROTOCOL   RTU
#   STATE      <div style='color:green'> Netzspannung L1: 235.8 Volt<br/>
#<div style='color:green'> Netzspannung L2: 234.9 Volt<br/>
#<div style='color:green'> Netzspannung L3: 236.6 Volt<br/>
#
#
#<div style='color:red'> Netzbezug aktuall: 532 Watt aktuell <br/>  
#<div style='color:red'> Netzbezug: 9.8 Kwh Tag <br/>
#<div style='color:red'> Netzbezug: 231.5 Kwh gesamt <br/>
#<div style='color:yellow'> Solar aktuell: 0 Watt  <br/>
#<div style='color:yellow'> Solar Tag: 2 Kwh  <br/>
#<div style='color:yellow'> Akku entladen Tag: 0.7 Kwh  <br/>
#
#
#<div style='color:red'> Akku Spannung: 52.2 Volt <br/>  
#<div style='color:red'> Akku Strom:  0.1  Amp  <br/>  
#<div style='color:red'> Akkustand:  11  % <br/>  
#
#
#
#
#
#
#
#
#
#   TYPE       ModbusAttr
#   devioNoSTATE 1
#   eventCount 47957
#   DICACHE:
#     3:
#       UNPACK     
#       EXPRS:
#       EXTRAS:
#       FNAMES:
#   FRAME:
#   Helper:
#     DBLOG:
#       Akku_Entladen_kWh_Tag:
#         DBLogging:
#           TIME       1732215907.04609
#           VALUE      0.7
#       Akku_W:
#         DBLogging:
#           TIME       1732215537.29626
#           VALUE      0
#       Genport_power_L1:
#         DBLogging:
#           TIME       1732215908.46428
#           VALUE      65526
#       Netzbezug_Kwh_Tag:
#         DBLogging:
#           TIME       1732215907.47071
#           VALUE      9.8
#       Netzbezug_W:
#         DBLogging:
#           TIME       1732133434.99276
#           VALUE      532
#       PV1_W:
#         DBLogging:
#           TIME       1732215895.28777
#           VALUE      0
#       PV_kWh_Tag:
#         DBLogging:
#           TIME       1732215907.92784
#           VALUE      2
#       gen_eing_gesamt:
#         DBLogging:
#           TIME       1732215908.46428
#           VALUE      65526
#   PICACHE:
#     h514:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h515:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h516:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h518:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h519:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h520:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h522:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h529:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h534:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h540:
#       bswapRegs  
#       decode     
#       encode     
#       expr       ($val -1000) * 0.1
#       format     %.1f
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h541:
#       bswapRegs  
#       decode     
#       encode     
#       expr       ($val -1000) * 0.1
#       format     %.1f
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h587:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.01
#       format     %.1f
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h588:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h591:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.01
#       format     %.1f
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h598:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     %.1f
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h599:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     %.1f
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h600:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     %.1f
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h609:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.01
#       format     %.2f
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h625:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h630:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.01
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h631:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.01
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h632:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.01
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h633:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h634:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h635:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h664:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h667:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h672:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h673:
#       bswapRegs  
#       decode     
#       encode     
#       expr       
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h676:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h677:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h678:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#     h679:
#       bswapRegs  
#       decode     
#       encode     
#       expr       $val * 0.1
#       format     
#       ignoreExpr 
#       map        
#       mapDefault 
#       revRegs    
#       rmapDefault 
#   READ:
#   READINGS:
#     2024-11-20 21:05:33   Akku_A          0.1
#     2024-11-21 20:05:07   Akku_Entaden_kWh 117
#     2024-11-21 20:05:07   Akku_Entladen_kWh_Tag 0.7
#     2024-11-21 20:05:07   Akku_Laden_kWh  105.2
#     2024-11-21 20:05:07   Akku_Laden_kWh_Tag 0.7
#     2024-11-21 20:05:08   Akku_SOC        11
#     2024-11-21 20:05:08   Akku_V          52.2
#     2024-11-21 19:58:57   Akku_W          0
#     2024-11-21 20:05:08   Battery_output_current_A 0.1
#     2024-11-21 20:05:08   Genport_power_L1 65526
#     2024-11-16 18:27:58   Grid            L1 230.9
#     2024-11-21 20:04:56   Grid_L1         235.8
#     2024-11-21 20:04:56   Grid_L2         234.9
#     2024-11-21 20:04:56   Grid_L3         236.6
#     2024-11-21 20:05:08   Grid_side_total_power_W 1035
#     2024-11-20 20:39:26   IODev           ModbusLine
#     2024-11-21 20:04:55   Netzbezug_Kwh   231.5
#     2024-11-21 20:05:07   Netzbezug_Kwh_Tag 9.8
#     2024-11-20 21:10:34   Netzbezug_W     532
#     2024-11-21 20:04:56   Netzfrequenz    49.95
#     2024-11-21 20:04:57   PV1_A           0
#     2024-11-21 20:04:55   PV1_V           11.9
#     2024-11-21 20:04:55   PV1_W           0
#     2024-11-21 20:04:57   PV2_A           0
#     2024-11-21 20:04:57   PV2_V           4.3
#     2024-11-21 20:04:55   PV2_W           0
#     2024-11-21 20:04:56   PV_kWh          202.2
#     2024-11-21 20:05:07   PV_kWh_Tag      2
#     2024-11-21 20:04:56   Temp_AC         25.4
#     2024-11-21 20:04:56   Temp_DC         25.0
#     2024-11-21 20:04:57   WR_L1_A         0
#     2024-11-21 20:04:57   WR_L1_W         29
#     2024-11-21 20:04:57   WR_L2_A         654.56
#     2024-11-21 20:04:57   WR_L2_W         65445
#     2024-11-21 20:04:57   WR_L3_A         0
#     2024-11-21 20:04:57   WR_L3_W         65516
#     2024-11-21 20:05:08   gen_eing_gesamt 65526
#     2024-11-20 20:39:27   state           opened
#   REMEMBER:
#     lrecv      1732215908.45938
#     lsend      1732215908.40265
#   UPDATECACHE:
#     h514:
#       adr        514
#       combine    h514 len 1 Akku_Laden_kWh_Tag with h515 len 1 Akku_Entladen_kWh_Tag and h516 len 2 Akku_Laden_kWh
#       len        1
#       objCombi   h514
#       reading    Akku_Laden_kWh_Tag
#       span       4
#       type       h
#     h518:
#       adr        518
#       combine    h518 len 2 Akku_Entaden_kWh with h519 len 1 Akku_W and h520 len 1 Netzbezug_Kwh_Tag
#       len        2
#       objCombi   h518
#       reading    Akku_Entaden_kWh
#       span       3
#       type       h
#     h522:
#       adr        522
#       len        2
#       objCombi   h522
#       reading    Netzbezug_Kwh
#       span       2
#       type       h
#     h529:
#       adr        529
#       len        1
#       objCombi   h529
#       reading    PV_kWh_Tag
#       span       1
#       type       h
#     h534:
#       adr        534
#       len        2
#       objCombi   h534
#       reading    PV_kWh
#       span       2
#       type       h
#     h540:
#       adr        540
#       combine    h540 len 1 Temp_DC with h541 len 1 Temp_AC
#       len        1
#       objCombi   h540
#       reading    Temp_DC
#       span       2
#       type       h
#     h587:
#       adr        587
#       combine    h587 len 1 Akku_V with h588 len 1 Akku_SOC and h591 len 1 Battery_output_current_A
#       len        1
#       objCombi   h587
#       reading    Akku_V
#       span       5
#       type       h
#     h598:
#       adr        598
#       combine    h598 len 1 Grid_L1 with h599 len 1 Grid_L2 and h600 len 1 Grid_L3
#       len        1
#       objCombi   h598
#       reading    Grid_L1
#       span       3
#       type       h
#     h609:
#       adr        609
#       len        1
#       objCombi   h609
#       reading    Netzfrequenz
#       span       1
#       type       h
#     h625:
#       adr        625
#       len        1
#       objCombi   h625
#       reading    Grid_side_total_power_W
#       span       1
#       type       h
#     h630:
#       adr        630
#       combine    h630 len 1 WR_L1_A with h631 len 1 WR_L2_A and h632 len 1 WR_L3_A and h633 len 1 WR_L1_W and h634 len 1 WR_L2_W
#       len        1
#       objCombi   h630
#       reading    WR_L1_A
#       span       5
#       type       h
#     h635:
#       adr        635
#       len        1
#       objCombi   h635
#       reading    WR_L3_W
#       span       1
#       type       h
#     h664:
#       adr        664
#       combine    h664 len 1 Genport_power_L1 with h667 len 1 gen_eing_gesamt
#       len        1
#       objCombi   h664
#       reading    Genport_power_L1
#       span       4
#       type       h
#     h672:
#       adr        672
#       combine    h672 len 1 PV1_W with h673 len 1 PV2_W and h676 len 1 PV1_V
#       len        1
#       objCombi   h672
#       reading    PV1_W
#       span       5
#       type       h
#     h677:
#       adr        677
#       combine    h677 len 1 PV1_A with h678 len 1 PV2_V and h679 len 1 PV2_A
#       len        1
#       objCombi   h677
#       reading    PV1_A
#       span       3
#       type       h
#   gotReadings:
#     Genport_power_L1 65526
#     gen_eing_gesamt 65526
#   lastRead:
#     h514       1732215907.04198
#     h515       1732215907.04344
#     h516       1732215907.04489
#     h518       1732215907.46661
#     h519       1732215537.29504
#     h520       1732215907.46873
#     h522       1732215895.76304
#     h529       1732215907.92576
#     h534       1732215896.08453
#     h540       1732215896.24307
#     h541       1732215896.24451
#     h587       1732215908.12378
#     h588       1732215908.12509
#     h591       1732215908.12741
#     h598       1732215896.56234
#     h599       1732215896.5638
#     h600       1732215896.56526
#     h609       1732215896.72174
#     h625       1732215908.29223
#     h630       1732215897.02631
#     h631       1732215897.02773
#     h632       1732215897.02923
#     h633       1732215897.03022
#     h634       1732215897.03114
#     h635       1732215897.18465
#     h664       1732215908.462
#     h667       1732215908.46298
#     h672       1732215895.28434
#     h673       1732215895.28526
#     h676       1732215895.28662
#     h677       1732215897.34577
#     h678       1732215897.34722
#     h679       1732215897.3484
#
setstate Mod_Deye <div style='color:green'> Netzspannung L1: 235.8 Volt<br/>\
<div style='color:green'> Netzspannung L2: 234.9 Volt<br/>\
<div style='color:green'> Netzspannung L3: 236.6 Volt<br/>\
\
\
<div style='color:red'> Netzbezug aktuall: 532 Watt aktuell <br/>  \
<div style='color:red'> Netzbezug: 9.8 Kwh Tag <br/>\
<div style='color:red'> Netzbezug: 231.5 Kwh gesamt <br/>\
<div style='color:yellow'> Solar aktuell: 0 Watt  <br/>\
<div style='color:yellow'> Solar Tag: 2 Kwh  <br/>\
<div style='color:yellow'> Akku entladen Tag: 0.7 Kwh  <br/>\
\
\
<div style='color:red'> Akku Spannung: 52.2 Volt <br/>  \
<div style='color:red'> Akku Strom:  0.1  Amp  <br/>  \
<div style='color:red'> Akkustand:  11  % <br/>  \
\
\
\
\
\
\
\
\

setstate Mod_Deye 2024-11-20 21:05:33 Akku_A 0.1
setstate Mod_Deye 2024-11-21 20:05:07 Akku_Entaden_kWh 117
setstate Mod_Deye 2024-11-21 20:05:07 Akku_Entladen_kWh_Tag 0.7
setstate Mod_Deye 2024-11-21 20:05:07 Akku_Laden_kWh 105.2
setstate Mod_Deye 2024-11-21 20:05:07 Akku_Laden_kWh_Tag 0.7
setstate Mod_Deye 2024-11-21 20:05:08 Akku_SOC 11
setstate Mod_Deye 2024-11-21 20:05:08 Akku_V 52.2
setstate Mod_Deye 2024-11-21 19:58:57 Akku_W 0
setstate Mod_Deye 2024-11-21 20:05:08 Battery_output_current_A 0.1
setstate Mod_Deye 2024-11-21 20:05:08 Genport_power_L1 65526
setstate Mod_Deye 2024-11-16 18:27:58 Grid L1 230.9
setstate Mod_Deye 2024-11-21 20:04:56 Grid_L1 235.8
setstate Mod_Deye 2024-11-21 20:04:56 Grid_L2 234.9
setstate Mod_Deye 2024-11-21 20:04:56 Grid_L3 236.6
setstate Mod_Deye 2024-11-21 20:05:08 Grid_side_total_power_W 1035
setstate Mod_Deye 2024-11-20 20:39:26 IODev ModbusLine
setstate Mod_Deye 2024-11-21 20:04:55 Netzbezug_Kwh 231.5
setstate Mod_Deye 2024-11-21 20:05:07 Netzbezug_Kwh_Tag 9.8
setstate Mod_Deye 2024-11-20 21:10:34 Netzbezug_W 532
setstate Mod_Deye 2024-11-21 20:04:56 Netzfrequenz 49.95
setstate Mod_Deye 2024-11-21 20:04:57 PV1_A 0
setstate Mod_Deye 2024-11-21 20:04:55 PV1_V 11.9
setstate Mod_Deye 2024-11-21 20:04:55 PV1_W 0
setstate Mod_Deye 2024-11-21 20:04:57 PV2_A 0
setstate Mod_Deye 2024-11-21 20:04:57 PV2_V 4.3
setstate Mod_Deye 2024-11-21 20:04:55 PV2_W 0
setstate Mod_Deye 2024-11-21 20:04:56 PV_kWh 202.2
setstate Mod_Deye 2024-11-21 20:05:07 PV_kWh_Tag 2
setstate Mod_Deye 2024-11-21 20:04:56 Temp_AC 25.4
setstate Mod_Deye 2024-11-21 20:04:56 Temp_DC 25.0
setstate Mod_Deye 2024-11-21 20:04:57 WR_L1_A 0
setstate Mod_Deye 2024-11-21 20:04:57 WR_L1_W 29
setstate Mod_Deye 2024-11-21 20:04:57 WR_L2_A 654.56
setstate Mod_Deye 2024-11-21 20:04:57 WR_L2_W 65445
setstate Mod_Deye 2024-11-21 20:04:57 WR_L3_A 0
setstate Mod_Deye 2024-11-21 20:04:57 WR_L3_W 65516
setstate Mod_Deye 2024-11-21 20:05:08 gen_eing_gesamt 65526
setstate Mod_Deye 2024-11-20 20:39:27 state opened

[/code]

Deye SUN-12K-SG04LP3-EU


   
AntwortZitat
(@burny)
Premium Mitglied Neues Mitglied
Mitglied seit: Vor 12 Monaten
Beiträge: 92
 

Bei mir ist es zwar ein HV-Hybridinverter, aber die Modbusregister müssten die gleichen sein, zumindest was Objekt 664 und 667 betrifft.

Vergleiche dein Config mit meiner. Das müsste dir weiterhelfen.

define Deye_12k ModbusAttr 12 5
attr Deye_12k IODev ModbusRS485_1WS_OG2_HZR
attr Deye_12k alias OG2 Heizraum - PV-Anlage 1
attr Deye_12k dev-h-combine 5
attr Deye_12k dev-h-defPoll 1
attr Deye_12k dev-h-defUnpack n
attr Deye_12k dev-h-write 16 # 10H
attr Deye_12k dev-type-S16-unpack s>
attr Deye_12k devStateStyle style="text-align:left;;;;font-weight:bold;;;;"
attr Deye_12k event-min-interval Akku_SOH__ALT:3600,Akku_SOC_KAP:180,Akku_Spannung__V:120
attr Deye_12k event-on-change-reading .*
attr Deye_12k group PV Anlage 1
attr Deye_12k icon measure_photovoltaic_inst
attr Deye_12k obj-h10003-expr $val * 1
attr Deye_12k obj-h10003-format %.2f
attr Deye_12k obj-h10003-reading Akku_Spannung__V
attr Deye_12k obj-h10004-expr $val * 0.1
attr Deye_12k obj-h10004-format %.2f
attr Deye_12k obj-h10004-reading Akku_Strom__A
attr Deye_12k obj-h10004-type S16
attr Deye_12k obj-h10005-expr $val * 1
attr Deye_12k obj-h10005-format %1.f
attr Deye_12k obj-h10005-reading Akku_SOC__KAP
attr Deye_12k obj-h10006-expr $val * 1
attr Deye_12k obj-h10006-format %1.f
attr Deye_12k obj-h10006-reading Akku_SOH__ALT
attr Deye_12k obj-h10008-expr ($val -1000) * 0.1
attr Deye_12k obj-h10008-format %.1f
attr Deye_12k obj-h10008-reading Akku_Temperatur__C
attr Deye_12k obj-h500-expr $val + 1000
attr Deye_12k obj-h500-format %1.f
attr Deye_12k obj-h500-reading Betriebsstatus
attr Deye_12k obj-h514-expr $val * 0.1
attr Deye_12k obj-h514-format %.1f
attr Deye_12k obj-h514-reading Akku_Energie_Ladung_Heute__kWh
attr Deye_12k obj-h515-expr $val * 0.1
attr Deye_12k obj-h515-format %.1f
attr Deye_12k obj-h515-reading Akku_Energie_Entladung_Heute__kWh
attr Deye_12k obj-h516-expr $val / 10000
attr Deye_12k obj-h516-format %.4f
attr Deye_12k obj-h516-reading Akku_Energie_Ladung_Gesamt__kWh
attr Deye_12k obj-h518-expr $val / 10000
attr Deye_12k obj-h518-format %.4f
attr Deye_12k obj-h518-reading Akku_Energie_Entladung_Gesamt__kWh
attr Deye_12k obj-h520-expr $val * 0.1
attr Deye_12k obj-h520-format %.1f
attr Deye_12k obj-h520-reading Energiekauf_Heute__kWh
attr Deye_12k obj-h521-expr $val * 0.1
attr Deye_12k obj-h521-format %.1f
attr Deye_12k obj-h521-reading Energieverkauf_Heute__kWh
attr Deye_12k obj-h522-expr $val / 10000
attr Deye_12k obj-h522-format %.4f
attr Deye_12k obj-h522-reading Energiekauf_Gesamt__MWh
attr Deye_12k obj-h524-expr $val * 0.1
attr Deye_12k obj-h524-format %.1f
attr Deye_12k obj-h524-reading Energieverkauf_Gesamt__kWh
attr Deye_12k obj-h526-expr $val * 0.1
attr Deye_12k obj-h526-format %.1f
attr Deye_12k obj-h526-reading Ladeenergie_Heute__kWh
attr Deye_12k obj-h527-expr $val / 10000
attr Deye_12k obj-h527-format %.4f
attr Deye_12k obj-h527-reading Last_Verbrauch_Gesamt__MWh
attr Deye_12k obj-h529-expr $val * 0.1
attr Deye_12k obj-h529-format %.1f
attr Deye_12k obj-h529-reading PV_Energie_Heute__kWh
attr Deye_12k obj-h530-expr $val * 0.1
attr Deye_12k obj-h530-format %.1f
attr Deye_12k obj-h530-reading PV1_Energie_Heute__kWh
attr Deye_12k obj-h531-expr $val * 0.1
attr Deye_12k obj-h531-format %.1f
attr Deye_12k obj-h531-reading PV2_Energie_Heute__kWh
attr Deye_12k obj-h532-expr $val * 0.1
attr Deye_12k obj-h532-format %.1f
attr Deye_12k obj-h532-reading PV3_Energie_Heute__kWh
attr Deye_12k obj-h533-expr $val * 0.1
attr Deye_12k obj-h533-format %.1f
attr Deye_12k obj-h533-reading PV4_Energie_Heute__kWh
attr Deye_12k obj-h534-expr $val / 10000
attr Deye_12k obj-h534-format %.4f
attr Deye_12k obj-h534-reading PV_Energie_Gesamt__MWh
attr Deye_12k obj-h540-expr ($val -1000) * 0.1
attr Deye_12k obj-h540-format %.1f
attr Deye_12k obj-h540-reading DC_Temperatur__C
attr Deye_12k obj-h541-expr ($val -1000) * 0.1
attr Deye_12k obj-h541-format %.1f
attr Deye_12k obj-h541-reading Kühlkörper_Temperatur__C
attr Deye_12k obj-h586-expr ($val -1000) * 0.1
attr Deye_12k obj-h586-format %.1f
attr Deye_12k obj-h586-reading Akku_Temperatur_BMS1__C
attr Deye_12k obj-h587-expr $val * 0.1
attr Deye_12k obj-h587-format %.2f
attr Deye_12k obj-h587-reading Akku_Spannung_BMS1__V
attr Deye_12k obj-h588-expr $val * 1
attr Deye_12k obj-h588-format %1.f
attr Deye_12k obj-h588-reading Akku_SOC_BMS1__KAP
attr Deye_12k obj-h589-expr $val * 1
attr Deye_12k obj-h589-format %1.f
attr Deye_12k obj-h589-reading Akku_SOC_BMS2__KAP
attr Deye_12k obj-h590-expr $val / 100
attr Deye_12k obj-h590-format %.3f
attr Deye_12k obj-h590-reading Akku_Leistung_BMS1__kW
attr Deye_12k obj-h590-type S16
attr Deye_12k obj-h591-expr $val * 0.01
attr Deye_12k obj-h591-format %.2f
attr Deye_12k obj-h591-reading Akku_Strom_BMS1__A
attr Deye_12k obj-h591-type S16
attr Deye_12k obj-h593-expr $val * 0.1
attr Deye_12k obj-h593-format %.2f
attr Deye_12k obj-h593-reading Akku_Spannung_BMS2__V
attr Deye_12k obj-h594-expr $val * 0.01
attr Deye_12k obj-h594-format %.2f
attr Deye_12k obj-h594-reading Akku_Strom_BMS2__A
attr Deye_12k obj-h594-type S16
attr Deye_12k obj-h595-expr $val / 100
attr Deye_12k obj-h595-format %.3f
attr Deye_12k obj-h595-reading Akku_Leistung_BMS2__kW
attr Deye_12k obj-h595-type S16
attr Deye_12k obj-h596-expr ($val -1000) * 0.1
attr Deye_12k obj-h596-format %.1f
attr Deye_12k obj-h596-reading Akku_Temperatur_BMS2__C
attr Deye_12k obj-h598-expr $val * 0.1
attr Deye_12k obj-h598-format %.2f
attr Deye_12k obj-h598-reading Netzspannung_L1__V
attr Deye_12k obj-h599-expr $val * 0.1
attr Deye_12k obj-h599-format %.2f
attr Deye_12k obj-h599-reading Netzspannung_L2__V
attr Deye_12k obj-h600-expr $val * 0.1
attr Deye_12k obj-h600-format %.2f
attr Deye_12k obj-h600-reading Netzspannung_L3__V
attr Deye_12k obj-h609-expr $val * 0.01
attr Deye_12k obj-h609-format %.2f
attr Deye_12k obj-h609-reading Externe_Netzfrequenz__Hz
attr Deye_12k obj-h610-expr $val * 0.01
attr Deye_12k obj-h610-format %.2f
attr Deye_12k obj-h610-reading Netzstrom_L1__A
attr Deye_12k obj-h610-type S16
attr Deye_12k obj-h611-expr $val * 0.01
attr Deye_12k obj-h611-format %.2f
attr Deye_12k obj-h611-reading Netzstrom_L2__A
attr Deye_12k obj-h611-type S16
attr Deye_12k obj-h612-expr $val * 0.01
attr Deye_12k obj-h612-format %.2f
attr Deye_12k obj-h612-reading Netzstrom_L3__A
attr Deye_12k obj-h612-type S16
attr Deye_12k obj-h613-expr $val * 0.01
attr Deye_12k obj-h613-format %.2f
attr Deye_12k obj-h613-reading Externer_CT_Netzstrom_L1__A
attr Deye_12k obj-h613-type S16
attr Deye_12k obj-h614-expr $val * 0.01
attr Deye_12k obj-h614-format %.2f
attr Deye_12k obj-h614-reading Externer_CT_Netzstrom_L2__A
attr Deye_12k obj-h614-type S16
attr Deye_12k obj-h615-expr $val * 0.01
attr Deye_12k obj-h615-format %.2f
attr Deye_12k obj-h615-reading Externer_CT_Netzstrom_L3__A
attr Deye_12k obj-h615-type S16
attr Deye_12k obj-h616-expr $val / 1000
attr Deye_12k obj-h616-format %.3f
attr Deye_12k obj-h616-reading Externe_Leistung_L1__kW
attr Deye_12k obj-h616-type S16
attr Deye_12k obj-h617-expr $val / 1000
attr Deye_12k obj-h617-format %.3f
attr Deye_12k obj-h617-reading Externe_Leistung_L2__kW
attr Deye_12k obj-h617-type S16
attr Deye_12k obj-h618-expr $val / 1000
attr Deye_12k obj-h618-format %.3f
attr Deye_12k obj-h618-reading Externe_Leistung_L3__kW
attr Deye_12k obj-h618-type S16
attr Deye_12k obj-h619-expr $val / 1000
attr Deye_12k obj-h619-format %.3f
attr Deye_12k obj-h619-reading Externe_Leistung_Gesamt__kW
attr Deye_12k obj-h619-type S16
attr Deye_12k obj-h620-expr $val / 1000
attr Deye_12k obj-h620-format %.3f
attr Deye_12k obj-h620-reading Externe_Scheinleistung_Gesamt_kVA
attr Deye_12k obj-h620-type S16
attr Deye_12k obj-h622-expr $val / 1000
attr Deye_12k obj-h622-format %.3f
attr Deye_12k obj-h622-reading Netzleistung_L1__kW
attr Deye_12k obj-h623-expr $val / 1000
attr Deye_12k obj-h623-format %.3f
attr Deye_12k obj-h623-reading Netzleistung_L2__kW
attr Deye_12k obj-h624-expr $val / 1000
attr Deye_12k obj-h624-format %.3f
attr Deye_12k obj-h624-reading Netzleistung_L3__kW
attr Deye_12k obj-h625-expr $val / 1000
attr Deye_12k obj-h625-format %.3f
attr Deye_12k obj-h625-reading Netzleistung_Gesamt__kW
attr Deye_12k obj-h627-expr $val * 0.1
attr Deye_12k obj-h627-format %.2f
attr Deye_12k obj-h627-reading Inverter_Spannung_L1__V
attr Deye_12k obj-h628-expr $val * 0.1
attr Deye_12k obj-h628-format %.2f
attr Deye_12k obj-h628-reading Inverter_Spannung_L2__V
attr Deye_12k obj-h629-expr $val * 0.1
attr Deye_12k obj-h629-format %.2f
attr Deye_12k obj-h629-reading Inverter_Spannung_L3__V
attr Deye_12k obj-h630-expr $val * 0.01
attr Deye_12k obj-h630-format %.2f
attr Deye_12k obj-h630-reading Inverter_Strom_L1__A
attr Deye_12k obj-h630-type S16
attr Deye_12k obj-h631-expr $val * 0.01
attr Deye_12k obj-h631-format %.2f
attr Deye_12k obj-h631-reading Inverter_Strom_L2__A
attr Deye_12k obj-h631-type S16
attr Deye_12k obj-h632-expr $val * 0.01
attr Deye_12k obj-h632-format %.2f
attr Deye_12k obj-h632-reading Inverter_Strom_L3__A
attr Deye_12k obj-h632-type S16
attr Deye_12k obj-h633-expr $val / 1000
attr Deye_12k obj-h633-format %.3f
attr Deye_12k obj-h633-reading Inverter_Leistung_L1__kW
attr Deye_12k obj-h633-type S16
attr Deye_12k obj-h634-expr $val / 1000
attr Deye_12k obj-h634-format %.3f
attr Deye_12k obj-h634-reading Inverter_Leistung_L2__kW
attr Deye_12k obj-h634-type S16
attr Deye_12k obj-h635-expr $val / 1000
attr Deye_12k obj-h635-format %.3f
attr Deye_12k obj-h635-reading Inverter_Leistung_L3__kW
attr Deye_12k obj-h635-type S16
attr Deye_12k obj-h636-expr $val / 1000
attr Deye_12k obj-h636-format %.3f
attr Deye_12k obj-h636-reading Inverter_Leistung_Gesamt__kW
attr Deye_12k obj-h636-type S16
attr Deye_12k obj-h637-expr $val / 1000
attr Deye_12k obj-h637-format %.3f
attr Deye_12k obj-h637-reading Inverter_Scheinleistung_Gesamt_kVar
attr Deye_12k obj-h637-type S16
attr Deye_12k obj-h638-expr $val * 0.01
attr Deye_12k obj-h638-format %.2f
attr Deye_12k obj-h638-reading Inverter_Frequenz__Hz
attr Deye_12k obj-h638-type U16
attr Deye_12k obj-h640-expr $val / 1000
attr Deye_12k obj-h640-format %.3f
attr Deye_12k obj-h640-reading UPS_Leistung_L1__kW
attr Deye_12k obj-h640-type U16
attr Deye_12k obj-h641-expr $val / 1000
attr Deye_12k obj-h641-format %.3f
attr Deye_12k obj-h641-reading UPS_Leistung_L2__kW
attr Deye_12k obj-h641-type U16
attr Deye_12k obj-h642-expr $val / 1000
attr Deye_12k obj-h642-format %.3f
attr Deye_12k obj-h642-reading UPS_Leistung_L3__kW
attr Deye_12k obj-h642-type U16
attr Deye_12k obj-h643-expr $val / 1000
attr Deye_12k obj-h643-format %.3f
attr Deye_12k obj-h643-reading UPS_Leistung_Gesamt__kW
attr Deye_12k obj-h643-type U16
attr Deye_12k obj-h644-expr $val * 0.1
attr Deye_12k obj-h644-format %.2f
attr Deye_12k obj-h644-reading Last_Spannung_L1__V
attr Deye_12k obj-h644-type U16
attr Deye_12k obj-h645-expr $val * 0.1
attr Deye_12k obj-h645-format %.2f
attr Deye_12k obj-h645-reading Last_Spannung_L2__V
attr Deye_12k obj-h645-type U16
attr Deye_12k obj-h646-expr $val * 0.1
attr Deye_12k obj-h646-format %.2f
attr Deye_12k obj-h646-reading Last_Spannung_L3__V
attr Deye_12k obj-h646-type U16
attr Deye_12k obj-h650-expr $val / 1000
attr Deye_12k obj-h650-format %.3f
attr Deye_12k obj-h650-reading Last_Leistung_L1__kW
attr Deye_12k obj-h650-type S16
attr Deye_12k obj-h651-expr $val / 1000
attr Deye_12k obj-h651-format %.3f
attr Deye_12k obj-h651-reading Last_Leistung_L2__kW
attr Deye_12k obj-h651-type S16
attr Deye_12k obj-h652-expr $val / 1000
attr Deye_12k obj-h652-format %.3f
attr Deye_12k obj-h652-reading Last_Leistung_L3__kW
attr Deye_12k obj-h652-type S16
attr Deye_12k obj-h653-expr $val / 1000
attr Deye_12k obj-h653-format %.3f
attr Deye_12k obj-h653-reading Last_Leistung_Gesamt__kW
attr Deye_12k obj-h653-type S16
attr Deye_12k obj-h655-expr $val * 0.01
attr Deye_12k obj-h655-format %.2f
attr Deye_12k obj-h655-reading Last_Netzfrequenz__Hz
attr Deye_12k obj-h655-type S16
attr Deye_12k obj-h661-expr $val * 0.1
attr Deye_12k obj-h661-format %.2f
attr Deye_12k obj-h661-reading Generator_Spannung_L1__V
attr Deye_12k obj-h662-expr $val * 0.1
attr Deye_12k obj-h662-format %.2f
attr Deye_12k obj-h662-reading Generator_Spannung_L2__V
attr Deye_12k obj-h663-expr $val * 0.1
attr Deye_12k obj-h663-format %.2f
attr Deye_12k obj-h663-reading Generator_Spannung_L3__V
attr Deye_12k obj-h664-expr $val / 1000
attr Deye_12k obj-h664-format %.3f
attr Deye_12k obj-h664-reading Generator_Leistung_L1__kW
attr Deye_12k obj-h665-expr $val / 1000
attr Deye_12k obj-h665-format %.3f
attr Deye_12k obj-h665-reading Generator_Leistung_L2__kW
attr Deye_12k obj-h666-expr $val / 1000
attr Deye_12k obj-h666-format %.3f
attr Deye_12k obj-h666-reading Generator_Leistung_L3__kW
attr Deye_12k obj-h667-expr $val / 100
attr Deye_12k obj-h667-format %.3f
attr Deye_12k obj-h667-reading Generator_Leistung_Gesamt__kW
attr Deye_12k obj-h672-expr $val * 10
attr Deye_12k obj-h672-format %1.f
attr Deye_12k obj-h672-reading PV1_Leistung__W
attr Deye_12k obj-h673-expr $val * 10
attr Deye_12k obj-h673-format %1.f
attr Deye_12k obj-h673-reading PV2_Leistung__W
attr Deye_12k obj-h674-expr $val * 10
attr Deye_12k obj-h674-format %1.f
attr Deye_12k obj-h674-reading PV3_Leistung__W
attr Deye_12k obj-h675-expr $val * 10
attr Deye_12k obj-h675-format %1.f
attr Deye_12k obj-h675-reading PV4_Leistung__W
attr Deye_12k obj-h676-expr $val * 0.1
attr Deye_12k obj-h676-format %.2f
attr Deye_12k obj-h676-reading PV1_Spannung__V
attr Deye_12k obj-h677-expr $val * 0.1
attr Deye_12k obj-h677-format %.2f
attr Deye_12k obj-h677-reading PV1_Strom__A
attr Deye_12k obj-h678-expr $val * 0.1
attr Deye_12k obj-h678-format %.2f
attr Deye_12k obj-h678-reading PV2_Spannung__V
attr Deye_12k obj-h679-expr $val * 0.1
attr Deye_12k obj-h679-format %.2f
attr Deye_12k obj-h679-reading PV2_Strom__A
attr Deye_12k obj-h680-expr $val * 0.1
attr Deye_12k obj-h680-format %.2f
attr Deye_12k obj-h680-reading PV3_Spannung__V
attr Deye_12k obj-h681-expr $val * 0.1
attr Deye_12k obj-h681-format %.2f
attr Deye_12k obj-h681-reading PV3_Strom__A
attr Deye_12k obj-h682-expr $val * 0.1
attr Deye_12k obj-h682-format %.2f
attr Deye_12k obj-h682-reading PV4_Spannung__V
attr Deye_12k obj-h683-expr $val * 0.1
attr Deye_12k obj-h683-format %.2f
attr Deye_12k obj-h683-reading PV4_Strom__A
attr Deye_12k room _DEYE,PV-Anlagen
attr Deye_12k sortby 01.01
attr Deye_12k stateFormat {\
my $bms1v=ReadingsNum($name,'Akku_Spannung_BMS1__V',0);;\
my $bms1a=ReadingsNum($name,'Akku_Strom_BMS1__A',0);;\
my $bms1p=ReadingsNum($name,'Akku_Leistung_BMS1__kW',0);;\
my $aeeh=ReadingsNum($name,'Akku_Energie_Entladung_Heute__kWh',0);;\
my $aelh=ReadingsNum($name,'Akku_Energie_Ladung_Heute__kWh',0);;\
my $aeeg=ReadingsNum($name,'Akku_Energie_Entladung_Gesamt__kWh',0);;\
my $aelg=ReadingsNum($name,'Akku_Energie_Ladung_Gesamt__kWh',0);;\
my $asoh=ReadingsNum($name,'Akku_SOH__ALT',0);;\
my $asoc=ReadingsNum($name,'Akku_SOC_BMS1__KAP',0);;\
\
\
my $pv1v=ReadingsNum($name,'PV1_Spannung__V',0);;\
my $pv1a=ReadingsNum($name,'PV1_Strom__A',0);;\
my $pv1p=ReadingsNum($name,'PV1_Leistung__W',0);;\
my $pv2v=ReadingsNum($name,'PV2_Spannung__V',0);;\
my $pv2a=ReadingsNum($name,'PV2_Strom__A',0);;\
my $pv2p=ReadingsNum($name,'PV2_Leistung__W',0);;\
my $pv3v=ReadingsNum($name,'PV3_Spannung__V',0);;\
my $pv3a=ReadingsNum($name,'PV3_Strom__A',0);;\
my $pv3p=ReadingsNum($name,'PV3_Leistung__W',0);;\
my $pv4v=ReadingsNum($name,'PV4_Spannung__V',0);;\
my $pv4a=ReadingsNum($name,'PV4_Strom__A',0);;\
my $pv4p=ReadingsNum($name,'PV4_Leistung__W',0);;\
my $pveh=ReadingsNum($name,'PV_Energie_Heute__kWh',0);;\
\
\
my $il1v=ReadingsNum($name,'Inverter_Spannung_L1__V',0);;\
my $il1a=ReadingsNum($name,'Inverter_Strom_L1__A',0);;\
my $il1p=ReadingsNum($name,'Inverter_Leistung_L1__kW',0);;\
my $il2v=ReadingsNum($name,'Inverter_Spannung_L2__V',0);;\
my $il2a=ReadingsNum($name,'Inverter_Strom_L2__A',0);;\
my $il2p=ReadingsNum($name,'Inverter_Leistung_L2__kW',0);;\
my $il3v=ReadingsNum($name,'Inverter_Spannung_L3__V',0);;\
my $il3a=ReadingsNum($name,'Inverter_Strom_L3__A',0);;\
my $il3p=ReadingsNum($name,'Inverter_Leistung_L3__kW',0);;\
my $ilsp=ReadingsNum($name,'Inverter_Leistung_Gesamt__kW',0);;\
\
\
my $ll1v=ReadingsNum($name,'Last_Spannung_L1__V',0);;\
my $ll1p=ReadingsNum($name,'Last_Leistung_L1__kW',0);;\
my $ll2v=ReadingsNum($name,'Last_Spannung_L2__V',0);;\
my $ll2p=ReadingsNum($name,'Last_Leistung_L2__kW',0);;\
my $ll3v=ReadingsNum($name,'Last_Spannung_L3__V',0);;\
my $ll3p=ReadingsNum($name,'Last_Leistung_L3__kW',0);;\
my $llsp=ReadingsNum($name,'Last_Leistung_Gesamt__kW',0);;\
\
\
my $ul1p=ReadingsNum($name,'UPS_Leistung_L1__kW',0);;\
my $ul2p=ReadingsNum($name,'UPS_Leistung_L2__kW',0);;\
my $ul3p=ReadingsNum($name,'UPS_Leistung_L3__kW',0);;\
my $ulsp=ReadingsNum($name,'UPS_Leistung_Gesamt__kW',0);;\
\
\
my $bms1t=ReadingsNum($name,'Akku_Temperatur_BMS1__C',0);;\
\
\
my %val2hex = (\
'1000' => 'bcbcbc',\
'1001' => 'b5f799',\
'1002' => '00fb45',\
'1003' => 'ffa500',\
'1004' => 'f44336',\
'1005' => 'ffffff');;\
\
"\
<b>\
<br>\
   <span style='color:#2986cc'>Akku Alterung<span style='color:transparent'>....<span style='color:#2986cc'>$asoh %\
   <span style='color:transparent'>.............\
   <span style='color:#2986cc'>Akku Kapazität<span style='color:transparent'>....<span style='color:#2986cc'>$asoc %\
<br>\
<br>\
   <span style='color:#FFDD00'>Akku Spannung<span style='color:transparent'>....<span style='color:#FFDD00'>$bms1v V\
   <span style='color:transparent'>.............\
   <span style='color:#AAFF00'>Akku Strom<span style='color:transparent'>....<span style='color:#AAFF00'>$bms1a A\
   <span style='color:transparent'>.............\
   <span style='color:#00FFFF'>Akku Leistung<span style='color:transparent'>....<span style='color:#00FFFF'>$bms1p kW\
<br>\
<br>\
   <span style='color:#c90076'>Akku Energie Entladung Heute<span style='color:transparent'>....<span style='color:#c90076'>$aeeh kWh\
   <span style='color:transparent'>...........\
   <span style='color:#c90076'>Akku Energie Entladung Gesamt<span style='color:transparent'>....<span style='color:#c90076'>$aeeg MWh\
<br>\
   <span style='color:#c90076'>Akku Energie Ladung Heute<span style='color:transparent'>....<span style='color:#c90076'>$aelh kWh\
   <span style='color:transparent'>................\
   <span style='color:#c90076'>Akku Energie Ladung Gesamt<span style='color:transparent'>....<span style='color:#c90076'>$aelg MWh\
<br>\
<br>\
<br>\
\
<span style='color:transparent'>\
<span style='color:#FFFFFF'>Status\
<span style='color:transparent'>...\
<span>".FW_makeImage('rc_dot@#'.$val2hex{ReadingsNum($name,'Betriebsstatus',1000)})."\
</span>\
\
<br>\
<br>\
   <span style='color:#FFDD00'>PV1 Spannung<span style='color:transparent'>....<span style='color:#FFDD00'>$pv1v V\
   <span style='color:transparent'>.............\
   <span style='color:#AAFF00'>PV1 Strom<span style='color:transparent'>....<span style='color:#AAFF00'>$pv1a A\
   <span style='color:transparent'>.............\
   <span style='color:#00FFFF'>PV1 Leistung<span style='color:transparent'>....<span style='color:#00FFFF'>$pv1p W\
<br>\
   <span style='color:#FFDD00'>PV2 Spannung<span style='color:transparent'>....<span style='color:#FFDD00'>$pv2v V\
   <span style='color:transparent'>.............\
   <span style='color:#AAFF00'>PV2 Strom<span style='color:transparent'>....<span style='color:#AAFF00'>$pv2a A\
   <span style='color:transparent'>.............\
   <span style='color:#00FFFF'>PV2 Leistung<span style='color:transparent'>....<span style='color:#00FFFF'>$pv2p W\
<br>\
   <span style='color:#FFDD00'>PV3 Spannung<span style='color:transparent'>....<span style='color:#FFDD00'>$pv3v V\
   <span style='color:transparent'>.............\
   <span style='color:#AAFF00'>PV3 Strom<span style='color:transparent'>....<span style='color:#AAFF00'>$pv3a A\
   <span style='color:transparent'>.............\
   <span style='color:#00FFFF'>PV3 Leistung<span style='color:transparent'>....<span style='color:#00FFFF'>$pv3p W\
<br>\
   <span style='color:#FFDD00'>PV4 Spannung<span style='color:transparent'>....<span style='color:#FFDD00'>$pv4v V\
   <span style='color:transparent'>.............\
   <span style='color:#AAFF00'>PV4 Strom<span style='color:transparent'>....<span style='color:#AAFF00'>$pv4a A\
   <span style='color:transparent'>.............\
   <span style='color:#00FFFF'>PV4 Leistung<span style='color:transparent'>....<span style='color:#00FFFF'>$pv4p W\
<br>\
<br>\
   <span style='color:#c90076'>PV Energie Heute<span style='color:transparent'>......<span style='color:#c90076'>$pveh kWh\
<br>\
<br>\
<br>\
   <span style='color:#FFDD00'>Inverter Spannung L1<span style='color:transparent'>....<span style='color:#FFDD00'>$il1v V\
   <span style='color:transparent'>.............\
   <span style='color:#AAFF00'>Inverter Strom L1<span style='color:transparent'>....<span style='color:#AAFF00'>$il1a A\
   <span style='color:transparent'>.............\
   <span style='color:#00FFFF'>Inverter Leistung L1<span style='color:transparent'>....<span style='color:#00FFFF'>$il1p kW\
<br>\
   <span style='color:#FFDD00'>Inverter Spannung L2<span style='color:transparent'>....<span style='color:#FFDD00'>$il2v V\
   <span style='color:transparent'>.............\
   <span style='color:#AAFF00'>Inverter Strom L2<span style='color:transparent'>....<span style='color:#AAFF00'>$il2a A\
   <span style='color:transparent'>.............\
   <span style='color:#00FFFF'>Inverter Leistung L2<span style='color:transparent'>....<span style='color:#00FFFF'>$il2p kW\
<br>\
   <span style='color:#FFDD00'>Inverter Spannung L3<span style='color:transparent'>....<span style='color:#FFDD00'>$il3v V\
   <span style='color:transparent'>.............\
   <span style='color:#AAFF00'>Inverter Strom L3<span style='color:transparent'>....<span style='color:#AAFF00'>$il3a A\
   <span style='color:transparent'>.............\
   <span style='color:#00FFFF'>Inverter Leistung L3<span style='color:transparent'>....<span style='color:#00FFFF'>$il3p kW\
<br>\
   <span style='color:transparent'>........................................................................................................................................   \
   <span style='color:#00FFFF'>Inverter Leistung ∑<span style='color:transparent'>......<span style='color:#00FFFF'>$ilsp kW\
<br>\
<br>\
   <span style='color:#FFDD00'>Last Spannung L1<span style='color:transparent'>....<span style='color:#FFDD00'>$ll1v V\
   <span style='color:transparent'>....................\
   <span style='color:#00FFFF'>Last Leistung L1<span style='color:transparent'>....<span style='color:#00FFFF'>$ll1p kW\
   <span style='color:transparent'>..........\
   <span style='color:#00FFFF'>UPS Leistung L1<span style='color:transparent'>....<span style='color:#00FFFF'>$ul1p kW\
<br>\
   <span style='color:#FFDD00'>Last Spannung L2<span style='color:transparent'>....<span style='color:#FFDD00'>$ll2v V\
   <span style='color:transparent'>....................\
   <span style='color:#00FFFF'>Last Leistung L2<span style='color:transparent'>....<span style='color:#00FFFF'>$ll2p kW\
   <span style='color:transparent'>..........\
   <span style='color:#00FFFF'>UPS Leistung L2<span style='color:transparent'>....<span style='color:#00FFFF'>$ul2p kW\
<br>\
   <span style='color:#FFDD00'>Last Spannung L3<span style='color:transparent'>....<span style='color:#FFDD00'>$ll3v V\
   <span style='color:transparent'>....................\
   <span style='color:#00FFFF'>Last Leistung L3<span style='color:transparent'>....<span style='color:#00FFFF'>$ll3p kW\
   <span style='color:transparent'>..........\
   <span style='color:#00FFFF'>UPS Leistung L3<span style='color:transparent'>....<span style='color:#00FFFF'>$ul3p kW\
<br>\
   <span style='color:transparent'>.........................................................................\
   <span style='color:#00FFFF'>Last Leistung ∑<span style='color:transparent'>......<span style='color:#00FFFF'>$llsp kW\
   <span style='color:transparent'>..........\
   <span style='color:#00FFFF'>UPS Leistung ∑<span style='color:transparent'>......<span style='color:#00FFFF'>$ulsp kW\
<br>\
<br>\
</b></span>\
"\
}

define FileLog_Deye_12k FileLog /media/hdd/fhem/log02/pv-anlagen/og2/pva1/Deye_12k-%Y-%m-%W.log Deye_12k:Akku_SOH__ALT:.*|Deye_12k:Akku_SOC__KAP:.*|Deye_12k:Akku_Spannung__V:.*
attr FileLog_Deye_12k alias OG2 Heizraum - PV-Anlage 1
attr FileLog_Deye_12k createGluedFile 1
attr FileLog_Deye_12k icon edit_paste
attr FileLog_Deye_12k logtype temp4:Temp,text
attr FileLog_Deye_12k room _LOG

define SVG_Deye_12k SVG FileLog_Deye_12k:SVG_Deye_12k:CURRENT
attr SVG_Deye_12k alias OG2 Heizraum - PV-Anlage 1
attr SVG_Deye_12k fixedrange week
attr SVG_Deye_12k group PV Anlage 1
attr SVG_Deye_12k plotWeekStartDay 1
attr SVG_Deye_12k plotsize 800,250
attr SVG_Deye_12k room PV-Anlagen,_DEYE

LG
Chris
SUN-12K-SG01HP3-EU-AM2, 2 x GB-LBS 12,27kWh
SUN-15K-SG01HP3-EU-AM2, 1 x GB-LBS 24,54kWh


   
AntwortZitat
(@e_brandt)
Mitglied Neues Mitglied
Mitglied seit: Vor 2 Monaten
Beiträge: 13
Themenstarter  

Hallo Burny, ich habe jetzt mal die Attribute von dir angepasst im Register 667. Leider ist das noch genau so. Wenn die Sonne untergeht kommen im log Werte von 65526. Ich hänge mal einen auszug dran.

2024-11-23 15:11:18
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 65526.000
gen_eing_gesamt
65526.000
NULL
2024-11-23 15:11:18
Mod_Deye
MODBUSATTR
PV1_W: 88
PV1_W
88
NULL
2024-11-23 15:11:05
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 8.000
gen_eing_gesamt
8.000
NULL
2024-11-23 15:11:03
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 9.000
gen_eing_gesamt
9.000
NULL
2024-11-23 15:10:48
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 11.000
gen_eing_gesamt
11.000
NULL
2024-11-23 15:10:48
Mod_Deye
MODBUSATTR
PV1_W: 97
PV1_W
97
NULL
2024-11-23 15:10:33
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 10.000
gen_eing_gesamt
10.000
NULL
2024-11-23 15:10:18
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 12.000
gen_eing_gesamt
12.000
NULL
2024-11-23 15:10:18
Mod_Deye
MODBUSATTR
PV1_W: 98
PV1_W
98
NULL
2024-11-23 15:10:03
Mod_Deye
MODBUSATTR
PV1_W: 93
PV1_W
93
NULL
2024-11-23 15:09:48
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 11.000
gen_eing_gesamt
11.000
NULL
2024-11-23 15:09:48
Mod_Deye
MODBUSATTR
PV1_W: 88
PV1_W
88
NULL
2024-11-23 15:09:18
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 7.000
gen_eing_gesamt
7.000
NULL
2024-11-23 15:09:18
Mod_Deye
MODBUSATTR
PV1_W: 92
PV1_W
92
NULL
2024-11-23 15:09:03
Mod_Deye
MODBUSATTR
PV1_W: 91
PV1_W
91
NULL
2024-11-23 15:08:48
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 9.000
gen_eing_gesamt
9.000
NULL
2024-11-23 15:08:48
Mod_Deye
MODBUSATTR
PV1_W: 90
PV1_W
90
NULL
2024-11-23 15:08:33
Mod_Deye
MODBUSATTR
PV1_W: 87
PV1_W
87
NULL
2024-11-23 15:08:18
Mod_Deye
MODBUSATTR
Genport_power_L1: 6552.600
Genport_power_L1
6552.600
NULL
2024-11-23 15:08:18
Mod_Deye
MODBUSATTR
gen_eing_gesamt: 65526.000
gen_eing_gesamt
65526.000
NULL

Deye SUN-12K-SG04LP3-EU


   
AntwortZitat
(@amiko)
PV Profi Neues Mitglied
Mitglied seit: Vor 10 Monaten
Beiträge: 371
 

Veröffentlicht von: @e_brandt

ich habe jetzt mal die Attribute von dir angepasst im Register 667. Leider ist das noch genau so. Wenn die Sonne untergeht kommen im log Werte von 65526.

Das Register 667 "total power of Gen port Low_Word" muss unbedingt mit dem Register 671 "total power of Gen port High_Word" ausgewertet werden.

Beide Register gehören zusammen.

Deye SUN-12K-SG04LP3-EU, 36 х Trina Vertex S 425W, 2 x Deye RW-M 6.1
Deye SUN-8K-SG04LP3-EU, 10 х Trina Vertex S+ 430W, 2 x Deye RW-M 6.1
2 x Deye SUN 2000, je 4 х Trina Vertex S+ 430W, Netzparallel zu 8kW WR
1 x Deye SUN 600, 2 х Sharp NU-JC 410W, Netzparallel zu 8kW WR


   
AntwortZitat
(@e_brandt)
Mitglied Neues Mitglied
Mitglied seit: Vor 2 Monaten
Beiträge: 13
Themenstarter  

Kannst du das eventuell etwas erläutern? Ich habe leider wirklich nicht viel Ahnung...

Deye SUN-12K-SG04LP3-EU


   
AntwortZitat
(@amiko)
PV Profi Neues Mitglied
Mitglied seit: Vor 10 Monaten
Beiträge: 371
 

Ich kann es versuchen. Als Register 667 den Wert 65526 hatte, welchen Wert hatte Register 671?

Deye SUN-12K-SG04LP3-EU, 36 х Trina Vertex S 425W, 2 x Deye RW-M 6.1
Deye SUN-8K-SG04LP3-EU, 10 х Trina Vertex S+ 430W, 2 x Deye RW-M 6.1
2 x Deye SUN 2000, je 4 х Trina Vertex S+ 430W, Netzparallel zu 8kW WR
1 x Deye SUN 600, 2 х Sharp NU-JC 410W, Netzparallel zu 8kW WR


   
AntwortZitat
(@e_brandt)
Mitglied Neues Mitglied
Mitglied seit: Vor 2 Monaten
Beiträge: 13
Themenstarter  

@amiko weiß ich nicht, muss ich morgen mal mit loggen.

Deye SUN-12K-SG04LP3-EU


   
AntwortZitat
(@e_brandt)
Mitglied Neues Mitglied
Mitglied seit: Vor 2 Monaten
Beiträge: 13
Themenstarter  

Register 671 ist in meiner Beschreibung garnicht hinterlegt. Ich verstehe auch das Problem nicht, ich könnte ja auch Register 664 Phase power of Gen port A nehmen, das sollte doch genau so wie das Reg 672 für die PV Leistung arbeiten oder?

Deye SUN-12K-SG04LP3-EU


   
AntwortZitat
(@amiko)
PV Profi Neues Mitglied
Mitglied seit: Vor 10 Monaten
Beiträge: 371
 

Ich kenne dein System nicht, ich benutze Home Assistant da ist alles einfacher. Dies ist meine Konfiguration für beide Register, die Adressen werden in hex eingegeben.

# SmartLoad/Generator - The Power is S16bit (low 16 bits) + S16bit (high 16 bits)
- name: "SmartLoad Power"
description: Combined power of all three phases
class: "power"
state_class: "measurement"
uom: "W"
rule: 2
registers: [0x029B, 0x029F]

Bei dir werden die Register vielleicht an der Stelle zusammengefasst, aber irgendwie nicht richtig.

# adr 664
# kombiniere h664 len 1 genport_power_L1 mit h667 len 1 gen_eing_gesamt
# len 1
# objKombinieren h664
# lesen Genport_power_L1
# span 4
# Typ h

Es macht keinen Sinn, das Register 664 mit dem Register 667 zu kombinieren, wenn schon, dann 664 mit 668, und das Register 667 mit dem Register 671 kombinieren.

Deye SUN-12K-SG04LP3-EU, 36 х Trina Vertex S 425W, 2 x Deye RW-M 6.1
Deye SUN-8K-SG04LP3-EU, 10 х Trina Vertex S+ 430W, 2 x Deye RW-M 6.1
2 x Deye SUN 2000, je 4 х Trina Vertex S+ 430W, Netzparallel zu 8kW WR
1 x Deye SUN 600, 2 х Sharp NU-JC 410W, Netzparallel zu 8kW WR


   
AntwortZitat
(@e_brandt)
Mitglied Neues Mitglied
Mitglied seit: Vor 2 Monaten
Beiträge: 13
Themenstarter  

Für mich ist es aber total unlogisch warum das wenn die Sonne scheint funktioniert , wenn die Sonne ganz weg ist auch und nur wenn sie auf oder unter geht kommen diese Ausschläge.

Deye SUN-12K-SG04LP3-EU


   
AntwortZitat
(@amiko)
PV Profi Neues Mitglied
Mitglied seit: Vor 10 Monaten
Beiträge: 371
 

Ich versuche es noch einmal, also Register 667 und 671 zusammen ergeben einen Wert für die Gesamtleistung des Gen-Ports, dieser Wert ist dynamisch, ändert sich also ständig, und wenn der Wert zu groß ist, dann kann er nicht über ein Register übertragen werden. In diesem Fall wird der Wert in zwei Register aufgeteilt, das niederwertige Register (Low_Word) und das höherwertige Register (High_Word). Wenn z.B. die Zahl 5678 nur mit 3 Ziffern (Stellen) dargestellt werden soll, ist dies nicht möglich, da die Zahl 678 nicht vollständig ist. Dasselbe gilt für die Register 667 und 671. Der WR überträgt die Werte hexadezimal, das System wandelt sie in dezimal um. Also dein Register 667 hat den Wert 65526 dez entspricht FFF6 hex, ich nehme an das Register 671 hatte den Wert 1 hex. Wenn wir beide Werte zusammenzählen, ergibt sich 1FFF6 hex oder 131062 Watt dez.

Der Wert kann ggf. auch negativ sein, in diesem Fall erfolgt eine andere Umrechnung. Möglicherweise durch die falsche Umrechnung, hast du deine Ausschläge.

Diese r Beitrag wurde geändert Vor 2 Monaten von amiko

Deye SUN-12K-SG04LP3-EU, 36 х Trina Vertex S 425W, 2 x Deye RW-M 6.1
Deye SUN-8K-SG04LP3-EU, 10 х Trina Vertex S+ 430W, 2 x Deye RW-M 6.1
2 x Deye SUN 2000, je 4 х Trina Vertex S+ 430W, Netzparallel zu 8kW WR
1 x Deye SUN 600, 2 х Sharp NU-JC 410W, Netzparallel zu 8kW WR


   
AntwortZitat
Seite 1 / 2