Autor Thema: Solar EPEVER EPSOLAR und Baugleiche [98_ModbusEPEVER] und [98_ModbusUPOWER]  (Gelesen 5556 mal)

Offline kurt6908

  • Full Member
  • ***
  • Beiträge: 128
Hallo laserichi,

vielen Dank für Deine Hinweise.... ich hatte Erfolg und bin einen großen Schritt weiter...

Nach dem dritten Adapter (dem billigsten auf dem Markt) und mit Deiner Kabelbelegung konnte ich unter Windows nun erfolgreich eine Verbindung herstellen und Werte auslesen.

Auch unter Rasbian und in FHEM klappts jetzt, die Kommunikation funktioniert. Also reine serielle Kommunikation WR => RJ45 => USB-Adapter => ModBus-Modul

Aber:
Ich habe in Deinem Modul das Intervall auf 300 gesetzt, bekomme aber nur drei Werte im Reading angezeigt:

DayNight
OverTemp
state

Diese aktualisieren sich schon brav intervallmäßig, aber andere Werte habe ich noch nicht im Reading.

Verbose 5 bringt:

2021.06.29 21:40:04 4: OffGridLoader: GetUpdate (V4.4.02 - 31.3.2021) called from Fhem internal timer
2021.06.29 21:40:04 4: OffGridLoader: UpdateTimer called from GetUpdate with cmd next sets timer to call update function in 300.0 sec at 21:45:04.278, interval 300
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList full object list: c0 c1 c2 c3 c5 c6 d8192 d8204 h36864 h36865 h36866 h36867 h36868 h36869 h36870 h36871 h36872 h36873 h36874 h36875 h36876 h36877 h36878 h36883 h36886 h36887 h36888 h36889 h36894 h36895 h36896 h36897 h36925 h36926 h36927 h36930 h36933 h36936 h36939 h36969 h36970 i12288 i12289 i12290 i12292 i12293 i12294 i12296 i12544 i12545 i12546 i12548 i12549 i12550 i12556 i12557 i12558 i12560 i12561 i12570 i12571 i12800 i12801 i13056 i13057 i13058 i13059 i13060 i13062 i13064 i13066 i13068 i13070 i13072 i13074 i13076 i13082 i13083
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request c0 len 1 ChargingOnOff
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request c1 len 1 OutputModeManualAuto
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request c2 len 1 ManualControlLoad
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request c3 len 1 DefaultControlLoad
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request c5 len 1 EnableLoadTest
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request c6 len 1 ForceLoad
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request d8192 len 1 OverTemp
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request d8204 len 1 DayNight
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36864 len 1 BattTyp
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36865 len 1 BattCapacityDefault
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36866 len 1 TempCompensationCoeffizient
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36867 len 1 HighVoltDisconnect
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36868 len 1 ChargingLimitVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36869 len 1 OverVoltageReconnect
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36870 len 1 EqualizingVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36871 len 1 BoostVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36872 len 1 FloatVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36873 len 1 BoostReconnectVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36874 len 1 LowVoltageReconnect
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36875 len 1 underVoltageRecover
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36876 len 1 underVoltageWarning
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36877 len 1 lowVoltageDisconnect
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36878 len 1 dischargingLimitVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36883 len 3 Uhrzeit
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36886 len 1 EqualizationCycle
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36887 len 1 BattTempWarningUpper
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36888 len 1 BattTempWarningLower
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36889 len 1 ControllerTempWarning
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36894 len 1 NightTimeThresholdVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36895 len 1 NightTimeDelay
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36896 len 1 DayTimeThresholdVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36897 len 1 DayTimeDelay
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36925 len 1 LoadControllingMode
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36926 len 1 LightOnTime1
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36927 len 1 LightOnTime2
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36930 len 3 TurnOnTime1
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36933 len 3 TurnOffTime1
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36936 len 3 TurnOnTime2
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36939 len 3 TurnOffTime2
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36969 len 1 Timechoose
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request h36970 len 1 DefLoadinManualMode
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12288 len 1 ratedInputVolt
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12289 len 1 ratedInputCurrent
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12290 len 2 ratedInputPower
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12292 len 1 BatteryRatedVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12293 len 1 BatteryRatedCurrent
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12294 len 2 BatteryRatedPower
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12296 len 1 Chargingmode
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12544 len 1 PanelSpannung
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12545 len 1 PanelStrom
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12546 len 2 PanelLeistung
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12548 len 1 BattSpannung
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12549 len 1 BattLadeStrom
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12550 len 2 BattLadeLeistung
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12556 len 1 LastSpannung
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12557 len 1 LastStrom
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12558 len 2 LastLeistung
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12560 len 1 BatteryTemperatur
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12561 len 1 ReglerTemp
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12570 len 1 BattCapacityRemaining
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12571 len 1 BattExtTemp
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12800 len 1 BattStatus
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i12801 len 1 SolarladerStatus
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13056 len 1 PanelSpannung_MaxTag
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13057 len 1 PanelSpannung_MinTag
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13058 len 1 BattMaxVoltTag
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13059 len 1 BattMinVoltTag
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13060 len 2 EnergieVerbrauchTag
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13062 len 2 EnergieVerbrauchMonat
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13064 len 2 EnergieVerbrauchJahr
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13066 len 2 EnergieVerbrauchTotal
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13068 len 2 EnergieGewinnTag
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13070 len 2 EnergieGewinnMonat
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13072 len 2 EnergieGewinnJahr
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13074 len 2 EnergieGewinnTotal
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13076 len 2 CO2ersparnis
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13082 len 1 BattVoltage
2021.06.29 21:40:04 5: OffGridLoader: CreateUpdateList will request i13083 len 1 BattStrom
2021.06.29 21:40:04 4: OffGridLoader: CombineUpdateHash objHash keys before combine: d8192,h36930,i13072,c2,h36867,h36870,i12296,h36896,i13056,h36936,h36969,h36876,i12290,i13057,h36897,h36866,i13062,h36883,h36877,i12548,h36869,i12557,h36894,i12294,i13068,h36895,h36875,h36970,c0,h36874,h36888,i12556,i13059,i12288,h36864,c3,h36871,h36865,i12550,h36939,h36868,i12560,h36925,i13074,i12800,i12546,i12570,h36889,i13058,i13064,i12289,c1,d8204,h36878,c6,h36872,h36886,i12571,i12558,i13070,i12292,h36926,i13082,i12545,i12544,i13076,h36933,h36887,i13066,h36873,i13083,i12561,c5,i12549,i13060,i12293,i12801,h36927
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash tries to combine read commands
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine c0 len 1 ChargingOnOff with c1 len 1 OutputModeManualAuto, span 2 would be bigger than max 1
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine c1 len 1 OutputModeManualAuto with c2 len 1 ManualControlLoad, span 2 would be bigger than max 1
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine c2 len 1 ManualControlLoad with c3 len 1 DefaultControlLoad, span 2 would be bigger than max 1
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine c3 len 1 DefaultControlLoad with c5 len 1 EnableLoadTest, span 3 would be bigger than max 1
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine c5 len 1 EnableLoadTest with c6 len 1 ForceLoad, span 2 would be bigger than max 1
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine c6 len 1 ForceLoad with d8192 len 1 OverTemp, different types
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine d8192 len 1 OverTemp with d8204 len 1 DayNight, span 13 would be bigger than max 1
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine d8204 len 1 DayNight with h36864 len 1 BattTyp, different types
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36864 len 1 BattTyp with h36865 len 1 BattCapacityDefault to span 2, drop read for h36865
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36864 len 1 BattTyp with h36866 len 1 TempCompensationCoeffizient to span 3, drop read for h36866
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36864 len 1 BattTyp with h36867 len 1 HighVoltDisconnect to span 4, drop read for h36867
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36864 len 1 BattTyp with h36868 len 1 ChargingLimitVoltage to span 5, drop read for h36868
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36864 len 1 BattTyp with h36869 len 1 OverVoltageReconnect to span 6, drop read for h36869
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36864 len 1 BattTyp with h36870 len 1 EqualizingVoltage to span 7, drop read for h36870
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36864 len 1 BattTyp with h36871 len 1 BoostVoltage to span 8, drop read for h36871
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine h36864 len 1 BattTyp with h36872 len 1 FloatVoltage, span 9 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36872 len 1 FloatVoltage with h36873 len 1 BoostReconnectVoltage to span 2, drop read for h36873
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36872 len 1 FloatVoltage with h36874 len 1 LowVoltageReconnect to span 3, drop read for h36874
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36872 len 1 FloatVoltage with h36875 len 1 underVoltageRecover to span 4, drop read for h36875
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36872 len 1 FloatVoltage with h36876 len 1 underVoltageWarning to span 5, drop read for h36876
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36872 len 1 FloatVoltage with h36877 len 1 lowVoltageDisconnect to span 6, drop read for h36877
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36872 len 1 FloatVoltage with h36878 len 1 dischargingLimitVoltage to span 7, drop read for h36878
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine h36872 len 1 FloatVoltage with h36883 len 3 Uhrzeit, span 14 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36883 len 3 Uhrzeit with h36886 len 1 EqualizationCycle to span 4, drop read for h36886
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36883 len 3 Uhrzeit with h36887 len 1 BattTempWarningUpper to span 5, drop read for h36887
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36883 len 3 Uhrzeit with h36888 len 1 BattTempWarningLower to span 6, drop read for h36888
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36883 len 3 Uhrzeit with h36889 len 1 ControllerTempWarning to span 7, drop read for h36889
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine h36883 len 3 Uhrzeit with h36894 len 1 NightTimeThresholdVoltage, span 12 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36894 len 1 NightTimeThresholdVoltage with h36895 len 1 NightTimeDelay to span 2, drop read for h36895
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36894 len 1 NightTimeThresholdVoltage with h36896 len 1 DayTimeThresholdVoltage to span 3, drop read for h36896
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36894 len 1 NightTimeThresholdVoltage with h36897 len 1 DayTimeDelay to span 4, drop read for h36897
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine h36894 len 1 NightTimeThresholdVoltage with h36925 len 1 LoadControllingMode, span 32 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36925 len 1 LoadControllingMode with h36926 len 1 LightOnTime1 to span 2, drop read for h36926
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36925 len 1 LoadControllingMode with h36927 len 1 LightOnTime2 to span 3, drop read for h36927
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36925 len 1 LoadControllingMode with h36930 len 3 TurnOnTime1 to span 8, drop read for h36930
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine h36925 len 1 LoadControllingMode with h36933 len 3 TurnOffTime1, span 11 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36933 len 3 TurnOffTime1 with h36936 len 3 TurnOnTime2 to span 6, drop read for h36936
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine h36933 len 3 TurnOffTime1 with h36939 len 3 TurnOffTime2, span 9 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine h36939 len 3 TurnOffTime2 with h36969 len 1 Timechoose, span 31 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine h36969 len 1 Timechoose with h36970 len 1 DefLoadinManualMode to span 2, drop read for h36970
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine h36969 len 1 Timechoose with i12288 len 1 ratedInputVolt, wrong order defined
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12288 len 1 ratedInputVolt with i12289 len 1 ratedInputCurrent to span 2, drop read for i12289
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12288 len 1 ratedInputVolt with i12290 len 2 ratedInputPower to span 4, drop read for i12290
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12288 len 1 ratedInputVolt with i12292 len 1 BatteryRatedVoltage to span 5, drop read for i12292
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12288 len 1 ratedInputVolt with i12293 len 1 BatteryRatedCurrent to span 6, drop read for i12293
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12288 len 1 ratedInputVolt with i12294 len 2 BatteryRatedPower to span 8, drop read for i12294
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine i12288 len 1 ratedInputVolt with i12296 len 1 Chargingmode, span 9 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine i12296 len 1 Chargingmode with i12544 len 1 PanelSpannung, span 249 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12544 len 1 PanelSpannung with i12545 len 1 PanelStrom to span 2, drop read for i12545
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12544 len 1 PanelSpannung with i12546 len 2 PanelLeistung to span 4, drop read for i12546
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12544 len 1 PanelSpannung with i12548 len 1 BattSpannung to span 5, drop read for i12548
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12544 len 1 PanelSpannung with i12549 len 1 BattLadeStrom to span 6, drop read for i12549
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12544 len 1 PanelSpannung with i12550 len 2 BattLadeLeistung to span 8, drop read for i12550
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine i12544 len 1 PanelSpannung with i12556 len 1 LastSpannung, span 13 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12556 len 1 LastSpannung with i12557 len 1 LastStrom to span 2, drop read for i12557
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12556 len 1 LastSpannung with i12558 len 2 LastLeistung to span 4, drop read for i12558
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12556 len 1 LastSpannung with i12560 len 1 BatteryTemperatur to span 5, drop read for i12560
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12556 len 1 LastSpannung with i12561 len 1 ReglerTemp to span 6, drop read for i12561
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine i12556 len 1 LastSpannung with i12570 len 1 BattCapacityRemaining, span 15 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12570 len 1 BattCapacityRemaining with i12571 len 1 BattExtTemp to span 2, drop read for i12571
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine i12570 len 1 BattCapacityRemaining with i12800 len 1 BattStatus, span 231 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i12800 len 1 BattStatus with i12801 len 1 SolarladerStatus to span 2, drop read for i12801
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine i12800 len 1 BattStatus with i13056 len 1 PanelSpannung_MaxTag, span 257 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13056 len 1 PanelSpannung_MaxTag with i13057 len 1 PanelSpannung_MinTag to span 2, drop read for i13057
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13056 len 1 PanelSpannung_MaxTag with i13058 len 1 BattMaxVoltTag to span 3, drop read for i13058
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13056 len 1 PanelSpannung_MaxTag with i13059 len 1 BattMinVoltTag to span 4, drop read for i13059
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13056 len 1 PanelSpannung_MaxTag with i13060 len 2 EnergieVerbrauchTag to span 6, drop read for i13060
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13056 len 1 PanelSpannung_MaxTag with i13062 len 2 EnergieVerbrauchMonat to span 8, drop read for i13062
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine i13056 len 1 PanelSpannung_MaxTag with i13064 len 2 EnergieVerbrauchJahr, span 10 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13064 len 2 EnergieVerbrauchJahr with i13066 len 2 EnergieVerbrauchTotal to span 4, drop read for i13066
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13064 len 2 EnergieVerbrauchJahr with i13068 len 2 EnergieGewinnTag to span 6, drop read for i13068
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13064 len 2 EnergieVerbrauchJahr with i13070 len 2 EnergieGewinnMonat to span 8, drop read for i13070
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine i13064 len 2 EnergieVerbrauchJahr with i13072 len 2 EnergieGewinnJahr, span 10 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13072 len 2 EnergieGewinnJahr with i13074 len 2 EnergieGewinnTotal to span 4, drop read for i13074
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13072 len 2 EnergieGewinnJahr with i13076 len 2 CO2ersparnis to span 6, drop read for i13076
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash cant combine i13072 len 2 EnergieGewinnJahr with i13082 len 1 BattVoltage, span 11 would be bigger than max 8
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash combine i13082 len 1 BattVoltage with i13083 len 1 BattStrom to span 2, drop read for i13083
2021.06.29 21:40:04 5: OffGridLoader: CombineUpdateHash keys are now d8192,i13072,c2,i12296,i13056,h36969,h36883,h36894,c0,i12556,i12288,h36864,c3,h36939,h36925,i12800,i12570,i13064,c1,d8204,c6,h36872,i13082,i12544,h36933,c5
2021.06.29 21:40:04 4: OffGridLoader: GetUpdate will now create requests for c0 len 1 (ChargingOnOff), c1 len 1 (OutputModeManualAuto), c2 len 1 (ManualControlLoad), c3 len 1 (DefaultControlLoad), c5 len 1 (EnableLoadTest), c6 len 1 (ForceLoad), d8192 len 1 (OverTemp), d8204 len 1 (DayNight), h36864 len 8 (combined h36864 len 1 BattTyp with h36865 len 1 BattCapacityDefault and h36866 len 1 TempCompensationCoeffizient and h36867 len 1 HighVoltDisconnect and h36868 len 1 ChargingLimitVoltage and h36869 len 1 OverVoltageReconnect and h36870 len 1 EqualizingVoltage and h36871 len 1 BoostVoltage), h36872 len 7 (combined h36872 len 1 FloatVoltage with h36873 len 1 BoostReconnectVoltage and h36874 len 1 LowVoltageReconnect and h36875 len 1 underVoltageRecover and h36876 len 1 underVoltageWarning and h36877 len 1 lowVoltageDisconnect and h36878 len 1 dischargingLimitVoltage), h36883 len 7 (combined h36883 len 3 Uhrzeit with h36886 len 1 EqualizationCycle and h36887 len 1 BattTempWarningUpper and h36888 len 1 BattTempWarningLower and h36889 len 1 ControllerTempWarning), h36894 len 4 (combined h36894 len 1 NightTimeThresholdVoltage with h36895 len 1 NightTimeDelay and h36896 len 1 DayTimeThresholdVoltage and h36897 len 1 DayTimeDelay), h36925 len 8 (combined h36925 len 1 LoadControllingMode with h36926 len 1 LightOnTime1 and h36927 len 1 LightOnTime2 and h36930 len 3 TurnOnTime1), h36933 len 6 (combined h36933 len 3 TurnOffTime1 with h36936 len 3 TurnOnTime2), h36939 len 3 (TurnOffTime2), h36969 len 2 (combined h36969 len 1 Timechoose with h36970 len 1 DefLoadinManualMode), i12288 len 8 (combined i12288 len 1 ratedInputVolt with i12289 len 1 ratedInputCurrent and i12290 len 2 ratedInputPower and i12292 len 1 BatteryRatedVoltage and i12293 len 1 BatteryRatedCurrent and i12294 len 2 BatteryRatedPower), i12296 len 1 (Chargingmode), i12544 len 8 (combined i12544 len 1 PanelSpannung with i12545 len 1 PanelStrom and i12546 len 2 PanelLeistung and i12548 len 1 BattSpannung and i12549 len 1 BattLadeStrom and i12550 len 2 BattLadeLeistung), i12556 len 6 (combined i12556 len 1 LastSpannung with i12557 len 1 LastStrom and i12558 len 2 LastLeistung and i12560 len 1 BatteryTemperatur and i12561 len 1 ReglerTemp), i12570 len 2 (combined i12570 len 1 BattCapacityRemaining with i12571 len 1 BattExtTemp), i12800 len 2 (combined i12800 len 1 BattStatus with i12801 len 1 SolarladerStatus), i13056 len 8 (combined i13056 len 1 PanelSpannung_MaxTag with i13057 len 1 PanelSpannung_MinTag and i13058 len 1 BattMaxVoltTag and i13059 len 1 BattMinVoltTag and i13060 len 2 EnergieVerbrauchTag and i13062 len 2 EnergieVerbrauchMonat), i13064 len 8 (combined i13064 len 2 EnergieVerbrauchJahr with i13066 len 2 EnergieVerbrauchTotal and i13068 len 2 EnergieGewinnTag and i13070 len 2 EnergieGewinnMonat), i13072 len 6 (combined i13072 len 2 EnergieGewinnJahr with i13074 len 2 EnergieGewinnTotal and i13076 len 2 CO2ersparnis), i13082 len 2 (combined i13082 len 1 BattVoltage with i13083 len 1 BattStrom)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 1 c0, len 1, master device OffGridLoader, reading ChargingOnOff (getUpdate for ChargingOnOff len 1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 1 c1, len 1, master device OffGridLoader, reading OutputModeManualAuto (getUpdate for OutputModeManualAuto len 1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 1 c2, len 1, master device OffGridLoader, reading ManualControlLoad (getUpdate for ManualControlLoad len 1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 1 c3, len 1, master device OffGridLoader, reading DefaultControlLoad (getUpdate for DefaultControlLoad len 1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 1 c5, len 1, master device OffGridLoader, reading EnableLoadTest (getUpdate for EnableLoadTest len 1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 1 c6, len 1, master device OffGridLoader, reading ForceLoad (getUpdate for ForceLoad len 1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 2 d8192, len 1, master device OffGridLoader, reading OverTemp (getUpdate for OverTemp len 1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 2 d8204, len 1, master device OffGridLoader, reading DayNight (getUpdate for DayNight len 1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 3 h36864, len 8, master device OffGridLoader, reading BattTyp (getUpdate for combined h36864 len 1 BattTyp with h36865 len 1 BattCapacityDefault and h36866 len 1 TempCompensationCoeffizient and h36867 len 1 HighVoltDisconnect and h36868 len 1 ChargingLimitVoltage and h36869 len 1 OverVoltageReconnect and h36870 len 1 EqualizingVoltage and h36871 len 1 BoostVoltage)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 3 h36872, len 7, master device OffGridLoader, reading FloatVoltage (getUpdate for combined h36872 len 1 FloatVoltage with h36873 len 1 BoostReconnectVoltage and h36874 len 1 LowVoltageReconnect and h36875 len 1 underVoltageRecover and h36876 len 1 underVoltageWarning and h36877 len 1 lowVoltageDisconnect and h36878 len 1 dischargingLimitVoltage)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 3 h36883, len 7, master device OffGridLoader, reading Uhrzeit (getUpdate for combined h36883 len 3 Uhrzeit with h36886 len 1 EqualizationCycle and h36887 len 1 BattTempWarningUpper and h36888 len 1 BattTempWarningLower and h36889 len 1 ControllerTempWarning)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 3 h36894, len 4, master device OffGridLoader, reading NightTimeThresholdVoltage (getUpdate for combined h36894 len 1 NightTimeThresholdVoltage with h36895 len 1 NightTimeDelay and h36896 len 1 DayTimeThresholdVoltage and h36897 len 1 DayTimeDelay)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 3 h36925, len 8, master device OffGridLoader, reading LoadControllingMode (getUpdate for combined h36925 len 1 LoadControllingMode with h36926 len 1 LightOnTime1 and h36927 len 1 LightOnTime2 and h36930 len 3 TurnOnTime1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 3 h36933, len 6, master device OffGridLoader, reading TurnOffTime1 (getUpdate for combined h36933 len 3 TurnOffTime1 with h36936 len 3 TurnOnTime2)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 3 h36939, len 3, master device OffGridLoader, reading TurnOffTime2 (getUpdate for TurnOffTime2 len 3)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 3 h36969, len 2, master device OffGridLoader, reading Timechoose (getUpdate for combined h36969 len 1 Timechoose with h36970 len 1 DefLoadinManualMode)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i12288, len 8, master device OffGridLoader, reading ratedInputVolt (getUpdate for combined i12288 len 1 ratedInputVolt with i12289 len 1 ratedInputCurrent and i12290 len 2 ratedInputPower and i12292 len 1 BatteryRatedVoltage and i12293 len 1 BatteryRatedCurrent and i12294 len 2 BatteryRatedPower)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i12296, len 1, master device OffGridLoader, reading Chargingmode (getUpdate for Chargingmode len 1)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i12544, len 8, master device OffGridLoader, reading PanelSpannung (getUpdate for combined i12544 len 1 PanelSpannung with i12545 len 1 PanelStrom and i12546 len 2 PanelLeistung and i12548 len 1 BattSpannung and i12549 len 1 BattLadeStrom and i12550 len 2 BattLadeLeistung)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i12556, len 6, master device OffGridLoader, reading LastSpannung (getUpdate for combined i12556 len 1 LastSpannung with i12557 len 1 LastStrom and i12558 len 2 LastLeistung and i12560 len 1 BatteryTemperatur and i12561 len 1 ReglerTemp)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i12570, len 2, master device OffGridLoader, reading BattCapacityRemaining (getUpdate for combined i12570 len 1 BattCapacityRemaining with i12571 len 1 BattExtTemp)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i12800, len 2, master device OffGridLoader, reading BattStatus (getUpdate for combined i12800 len 1 BattStatus with i12801 len 1 SolarladerStatus)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i13056, len 8, master device OffGridLoader, reading PanelSpannung_MaxTag (getUpdate for combined i13056 len 1 PanelSpannung_MaxTag with i13057 len 1 PanelSpannung_MinTag and i13058 len 1 BattMaxVoltTag and i13059 len 1 BattMinVoltTag and i13060 len 2 EnergieVerbrauchTag and i13062 len 2 EnergieVerbrauchMonat)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i13064, len 8, master device OffGridLoader, reading EnergieVerbrauchJahr (getUpdate for combined i13064 len 2 EnergieVerbrauchJahr with i13066 len 2 EnergieVerbrauchTotal and i13068 len 2 EnergieGewinnTag and i13070 len 2 EnergieGewinnMonat)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i13072, len 6, master device OffGridLoader, reading EnergieGewinnJahr (getUpdate for combined i13072 len 2 EnergieGewinnJahr with i13074 len 2 EnergieGewinnTotal and i13076 len 2 CO2ersparnis)
2021.06.29 21:40:04 4: OffGridLoader: DoRequest called from GetUpdate created new request, read buffer empty,
request: id 1, read fc 4 i13082, len 2, master device OffGridLoader, reading BattVoltage (getUpdate for combined i13082 len 1 BattVoltage with i13083 len 1 BattStrom)
2021.06.29 21:40:05 5: OffGridLoader: ParseDataString called from HandleResponse with data hex c1, type d, adr 8192, op read
2021.06.29 21:40:05 5: OffGridLoader: SplitDataString called from ParseDataString with data hex c1, type d, adr 8192, valuesLen 1, op read
2021.06.29 21:40:05 5: OffGridLoader: SplitDataString shortened coil / input bit string to 1, start adr 8192, valuesLen 1
2021.06.29 21:40:05 5: OffGridLoader: CreateDataObjects called from ParseDataString with objList d8192
2021.06.29 21:40:05 5: OffGridLoader: CreateDataObjects sortedList d8192
2021.06.29 21:40:05 5: OffGridLoader: CreateDataObjects unpacked 31 with a to 1
2021.06.29 21:40:05 5: OffGridLoader: MapConvert called from CreateDataObjects converted 1 (1) to OverTemp with map 0:NormalTemp, 1:OverTemp
2021.06.29 21:40:06 4: OffGridLoader: CreateDataObjects assigns value OverTemp to OverTemp
2021.06.29 21:40:06 5: OffGridLoader: ParseDataString created 1 readings
2021.06.29 21:40:06 5: OffGridLoader: ParseDataString called from HandleResponse with data hex c1, type d, adr 8204, op read
2021.06.29 21:40:06 5: OffGridLoader: SplitDataString called from ParseDataString with data hex c1, type d, adr 8204, valuesLen 1, op read
2021.06.29 21:40:06 5: OffGridLoader: SplitDataString shortened coil / input bit string to 1, start adr 8204, valuesLen 1
2021.06.29 21:40:06 5: OffGridLoader: CreateDataObjects called from ParseDataString with objList d8204
2021.06.29 21:40:06 5: OffGridLoader: CreateDataObjects sortedList d8204
2021.06.29 21:40:06 5: OffGridLoader: CreateDataObjects unpacked 31 with a to 1
2021.06.29 21:40:06 5: OffGridLoader: MapConvert called from CreateDataObjects converted 1 (1) to Night with map 0:Day, 1:Night
2021.06.29 21:40:06 4: OffGridLoader: CreateDataObjects assigns value Night to DayNight
2021.06.29 21:40:06 5: OffGridLoader: ParseDataString created 1 readings

Wie kann ich denn die anderen Werte auslesen oder habe ich was übersehen ... Das Modul habe ich bereits einmal gelöscht und neu angelegt.

Danke.

Gruß

Kurt
« Letzte Änderung: 30 Juni 2021, 17:42:40 von kurt6908 »
3* Raspberry Pi (2 über LTE/VPN), 5* Cul, 3* FS20, 4* FHT, 6* HM, Somfy, Solarlog, WMBus/EnergyCam, AVM FritzBox, 3* AVM Powerline, Alexa, Sens'it, Tasmota/MQTT, Rademacher DuoFern, EPEver UPower/ModBus

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 279
sieht nach einen combine Fehler aus.
Hast du bei den Attributen irgendwelche parameter gesetzt ?
Oder einen set createAttrsFromParseInfo   aus versehen gemacht ?
RaspberryPi 4 Buster,Homematic,Z-Wave,Rademacher Duofern,Signalduino,Fritz7590,ESP8266,ESPEasy,Tasmota,Robonect,Kameras,1-Wire,Modbus,Solar,Maranz,VU+

Offline kurt6908

  • Full Member
  • ***
  • Beiträge: 128
Hallo laserichi,

weder noch. Das mit dem createAttrsFromParseInfo habe ich oben schon gelesen, dass man das nach dem Anlegen nicht machen soll, da es automatisch passiert. Drum habe ich zur Vorsicht das Modul ja nochmal gelöscht und neu angelegt.

Hier meine Raw definition:

defmod OffGridLoader ModbusEPEVER 1 300 RTU

setstate OffGridLoader opened
setstate OffGridLoader 2021-06-30 20:26:10 DayNight Night
setstate OffGridLoader 2021-06-30 20:26:10 OverTemp OverTemp
setstate OffGridLoader 2021-06-30 20:30:34 state opened

Gruß

Kurt
3* Raspberry Pi (2 über LTE/VPN), 5* Cul, 3* FS20, 4* FHT, 6* HM, Somfy, Solarlog, WMBus/EnergyCam, AVM FritzBox, 3* AVM Powerline, Alexa, Sens'it, Tasmota/MQTT, Rademacher DuoFern, EPEver UPower/ModBus

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 279
hm... habe noch mal dein log angesehen, da sehe ich auch read buffer empty

Mach mal auch auf das device ein verbose 5  und  dann ein get auf  einen wert und zeige den output.
Vieleicht sieht man da mehr.
Meine Ideen,  Geschwindigkeit, bit, parity, stopbit  oder doch das thema mit RTU...

da kann evtl. nur Stefanstrobel helfen, kenne mich da leider nicht aus.
RaspberryPi 4 Buster,Homematic,Z-Wave,Rademacher Duofern,Signalduino,Fritz7590,ESP8266,ESPEasy,Tasmota,Robonect,Kameras,1-Wire,Modbus,Solar,Maranz,VU+

Offline kurt6908

  • Full Member
  • ***
  • Beiträge: 128
Hallo laserichi,

hier ein verbose5 auf "get BattVoltage"

2021.06.30 21:24:56 4: OffGridLoader: get called with BattVoltage (i13082)
2021.06.30 21:24:56 5: OffGridLoader: GetSetChecks with force
2021.06.30 21:24:56 5: OffGridLoader: GetSetChecks returns success
2021.06.30 21:24:56 4: OffGridLoader: DoRequest called from GetLDFn created new request, read buffer empty,
request: id 1, read fc 4 i13082, len 1, master device OffGridLoader, reading BattVoltage (get BattVoltage)

Die aktuell angezeigten Readings sind:
DayNight Night 2021-06-30 21:23:40
OverTemp OverTemp 2021-06-30 21:23:40
state active 2021-06-30 21:23:38

Irgendwie hört er immer nach diesen drei auf und bekommt dann einen read buffer empty.

Gruß

Kurt
3* Raspberry Pi (2 über LTE/VPN), 5* Cul, 3* FS20, 4* FHT, 6* HM, Somfy, Solarlog, WMBus/EnergyCam, AVM FritzBox, 3* AVM Powerline, Alexa, Sens'it, Tasmota/MQTT, Rademacher DuoFern, EPEver UPower/ModBus

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 279
und von deinem device, also usb adapter der verbose output zu dem Zeitpunkt.
RaspberryPi 4 Buster,Homematic,Z-Wave,Rademacher Duofern,Signalduino,Fritz7590,ESP8266,ESPEasy,Tasmota,Robonect,Kameras,1-Wire,Modbus,Solar,Maranz,VU+

Offline kurt6908

  • Full Member
  • ***
  • Beiträge: 128
Hallo laserich,

hier der Log mit verbose5 auf Deinem Modul und dem Modbus-Model bei einem "get BattVoltage" in einem Schwung bzw. Ablauf:

2021.06.30 21:42:06 4: OffGridLoader: get called with BattVoltage (i13082)
2021.06.30 21:42:06 5: OffGridLoader: GetSetChecks with force
2021.06.30 21:42:06 5: OffGridLoader: GetSetChecks returns success
2021.06.30 21:42:06 4: OffGridLoader: DoRequest called from GetLDFn created new request, read buffer empty,
request: id 1, read fc 4 i13082, len 1, master device OffGridLoader, reading BattVoltage (get BattVoltage)
2021.06.30 21:42:06 5: ModBusLine: QueueRequest called from DoRequest with i13082, qlen 0 from master OffGridLoader through io device ModBusLine
2021.06.30 21:42:06 5: ModBusLine: ProcessRequestQueue called from QueueRequest as direct:ModBusLine, qlen 1, force, request: request: id 1, read fc 4 i13082, len 1, master device OffGridLoader, reading BattVoltage (get BattVoltage), queued 0.00 secs ago
2021.06.30 21:42:06 5: ModBusLine: checkDelays clientSwitchDelay is not relevant
2021.06.30 21:42:06 5: ModBusLine: checkDelays commDelay, last communication with same device was 200.575 secs ago, required delay is 0.1
2021.06.30 21:42:06 5: ModBusLine: checkDelays sendDelay, last send to same device was 200.771 secs ago, required delay is 0.1
2021.06.30 21:42:06 5: ModBusLine: checkDelays busDelayRead, last activity on bus was 200.576 secs ago, required delay is 0
2021.06.30 21:42:06 4: ModBusLine: ProcessRequestQueue (V4.4.02 - 31.3.2021) qlen 1, sending 0104331a00011f49 via /dev/ttyUSB1@115200, read buffer empty,
request: id 1, read fc 4 i13082, len 1, master device OffGridLoader, reading BattVoltage (get BattVoltage), queued 0.00 secs ago
2021.06.30 21:42:06 5: ModBusLine: Send called from ProcessRequestQueue
2021.06.30 21:42:06 5: SW: 0104331a00011f49
2021.06.30 21:42:06 5: ModBusLine: ReadAnswer called from GetLDFn
2021.06.30 21:42:06 5: ModBusLine: ReadAnswer remaining timeout is 1.99355697631836
2021.06.30 21:42:06 5: ModBusLine: ReadAnswer got: 018402c2c1
2021.06.30 21:42:06 5: ModBusLine: ParseFrameStart called from ReadAnswer protocol RTU expecting id 1
2021.06.30 21:42:06 4: ModBusLine: ParseFrameStart (RTU, master) extracted id 1, fCode 132 and potential data 02
2021.06.30 21:42:06 5: ModBusLine: HandleResponse called from ReadAnswer
2021.06.30 21:42:06 5: ModBusLine: ParseResponse called from HandleResponse
2021.06.30 21:42:06 5: ModBusLine: CheckChecksum (called from ParseResponse): c2c1 is valid
2021.06.30 21:42:06 4: ModBusLine: HandleResponse got response with error code 84 / 02, illegal data address
2021.06.30 21:42:06 4: ModBusLine: HandleResponse done, current frame / read buffer: 018402c2c1, id 1, fCode 132,
request: id 1, read fc 4 i13082, len 1, master device OffGridLoader, reading BattVoltage (get BattVoltage), queued 0.11 secs ago, sent 0.11 secs ago,
response: id 1, fc 132, error code 02, len 1
2021.06.30 21:42:06 5: ModBusLine: ResetExpect for HandleResponse from response to idle
2021.06.30 21:42:06 5: ModBusLine: DropFrame called from ReadAnswer - drop 018402c2c1
« Letzte Änderung: 01 Juli 2021, 07:19:09 von kurt6908 »
3* Raspberry Pi (2 über LTE/VPN), 5* Cul, 3* FS20, 4* FHT, 6* HM, Somfy, Solarlog, WMBus/EnergyCam, AVM FritzBox, 3* AVM Powerline, Alexa, Sens'it, Tasmota/MQTT, Rademacher DuoFern, EPEver UPower/ModBus

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 279
2021.06.30 21:42:06 5: ModBusLine: ReadAnswer got: 018402c2c1
2021.06.30 21:42:06 5: ModBusLine: ParseFrameStart called from ReadAnswer protocol RTU expecting id 1
2021.06.30 21:42:06 4: ModBusLine: ParseFrameStart (RTU, master) extracted id 1, fCode 132 and potential data 02
2021.06.30 21:42:06 5: ModBusLine: HandleResponse called from ReadAnswer
2021.06.30 21:42:06 5: ModBusLine: ParseResponse called from HandleResponse
2021.06.30 21:42:06 5: ModBusLine: CheckChecksum (called from ParseResponse): c2c1 is valid
2021.06.30 21:42:06 4: ModBusLine: HandleResponse got response with error code 84 / 02, illegal data address

also hier kommt etwas falsches zurück: 018402c2c1

01 = device ID  ist Richtig
84 = function Code... das ist Falsch.... hier müsste eigentlich 04 stehen
02 = zwei bytes  ist wohl auch Richtig
c2c1 ist auch nicht plausibel, das wären ja 498,57V  :-)  bissl viel...

das ist eigentlich ein Fall für StefanStrobel... der kann dazu vieleicht mehr sagen.

Edit: habe gerade bei Modbus Spezifikationen gefunden das es  wohl Function Code in Exception Response ist.


« Letzte Änderung: 30 Juni 2021, 22:41:03 von laserrichi »
RaspberryPi 4 Buster,Homematic,Z-Wave,Rademacher Duofern,Signalduino,Fritz7590,ESP8266,ESPEasy,Tasmota,Robonect,Kameras,1-Wire,Modbus,Solar,Maranz,VU+

Offline kurt6908

  • Full Member
  • ***
  • Beiträge: 128
Hallo laserrichi,

danke.

Stefan vermutet eher einen Fehler in Deinem Modul, da irgendeine Adresse nicht vorhanden ist.

https://forum.fhem.de/index.php/topic,75638.780.html#lastPost

Eventuell hat es bei den neuen UPower-Modellen eine Änderung geben, im Netz habe ich z.B. das gefunden:

https://stackoverflow.com/questions/63055446/issue-reading-modbus-registers-from-epever-upower-charger-inverter-using-pymod

Zitat
You need to change your Address from 0x3100 to 0x3500.

I decompiled the SolarStationSoftware and found out that they changed the Realtime Address to 13568.

Gruß

Kurt
« Letzte Änderung: 01 Juli 2021, 20:16:39 von kurt6908 »
3* Raspberry Pi (2 über LTE/VPN), 5* Cul, 3* FS20, 4* FHT, 6* HM, Somfy, Solarlog, WMBus/EnergyCam, AVM FritzBox, 3* AVM Powerline, Alexa, Sens'it, Tasmota/MQTT, Rademacher DuoFern, EPEver UPower/ModBus

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 279
Ich habe jetzt die Doku bekommen.
Teste mal das im Anhang.

Da das doch komplett anders ist, habe ich auch den Namen auf ModbusUPOWER  genannt.

Bei dem UPower ist die Modbus ID  10  und nicht 1... lt. Beschreibung ist diese fix und kann nicht geändert werden.

define deinName ModbusUPOWER 10 60 RTU

die Namen der Readings sind jetzt mal so grob... aber das kann man ja auch ändern erweitern usw. die Description ist nur angefangen. Und das setzen bei den Werten die dann mit Einheit angezeigt werden, geht nur wenn man beim set anstatt 12.54 V   1254  eingibt.

RaspberryPi 4 Buster,Homematic,Z-Wave,Rademacher Duofern,Signalduino,Fritz7590,ESP8266,ESPEasy,Tasmota,Robonect,Kameras,1-Wire,Modbus,Solar,Maranz,VU+

Offline kurt6908

  • Full Member
  • ***
  • Beiträge: 128
Hallo,

schaut schon sehr gut aus:

defmod Garage_Inverter ModbusUPOWER 1 300 RTU
attr Garage_Inverter room Energie

setstate Garage_Inverter opened
setstate Garage_Inverter 2021-07-02 17:27:15 ArrayChargDeviceTemp 32 °C
setstate Garage_Inverter 2021-07-02 17:27:13 BacklightTime 3000
setstate Garage_Inverter 2021-07-02 17:27:13 BattCapacity 100 Ah
setstate Garage_Inverter 2021-07-02 17:27:13 BattTyp Benutzerdefiniert
setstate Garage_Inverter 2021-07-02 17:27:16 BatterySOC 1 AH
setstate Garage_Inverter 2021-07-02 17:27:16 BatteryState Ok
setstate Garage_Inverter 2021-07-02 17:27:16 BatteryTemp 26.28 °C
setstate Garage_Inverter 2021-07-02 17:27:16 BatteryVoltage 27.58 V
setstate Garage_Inverter 2021-07-02 17:27:13 BuzzerAlarm 1
setstate Garage_Inverter 2021-07-02 17:27:16 ByPassCurrent 0 A
setstate Garage_Inverter 2021-07-02 17:27:16 ByPassPower 0 W
setstate Garage_Inverter 2021-07-02 17:27:16 ByPassVolt 0 V
setstate Garage_Inverter 2021-07-02 17:27:13 ChrgPriorityMode SolarPriorityCharging
setstate Garage_Inverter 2021-07-02 17:27:13 DcAcLowVoltDisconnect 21.6 V
setstate Garage_Inverter 2021-07-02 17:27:13 DcAcLowVoltDisconnectRecovery 25 V
setstate Garage_Inverter 2021-07-02 17:27:13 DcAcOverVoltDisconnect 32 V
setstate Garage_Inverter 2021-07-02 17:27:13 DcAcOverVoltDisconnectRecovery 30 V
setstate Garage_Inverter 2021-07-02 17:27:14 ElectricAggChrg 0.23 kWh
setstate Garage_Inverter 2021-07-02 17:27:14 ElectricChrgInVolt 0 V
setstate Garage_Inverter 2021-07-02 17:27:14 ElectricChrgOutCur 0 A
setstate Garage_Inverter 2021-07-02 17:27:14 ElectricChrgOutPow 0 W
setstate Garage_Inverter 2021-07-02 17:27:14 ElectricChrgOutVolt 27.55 V
setstate Garage_Inverter 2021-07-02 17:27:14 ElectricChrgState 49152
setstate Garage_Inverter 2021-07-02 17:27:14 ElectricChrgTemp 32 °C
setstate Garage_Inverter 2021-07-02 17:27:15 InverterInVolt 27.58 V
setstate Garage_Inverter 2021-07-02 17:27:15 InverterOutApparentPower 0 W
setstate Garage_Inverter 2021-07-02 17:27:15 InverterOutCur 0 A
setstate Garage_Inverter 2021-07-02 17:27:15 InverterOutFrequenz 50 Hz
setstate Garage_Inverter 2021-07-02 17:27:15 InverterOutVolt 229.43 V
setstate Garage_Inverter 2021-07-02 17:27:15 PvAggChrg 12.42 kWh
setstate Garage_Inverter 2021-07-02 17:27:15 PvChrgStat 5
setstate Garage_Inverter 2021-07-02 17:27:14 PvInCurrent 0.93 A
setstate Garage_Inverter 2021-07-02 17:27:14 PvInPower 35.59 W
setstate Garage_Inverter 2021-07-02 17:27:14 PvInVolt 38.17 V
setstate Garage_Inverter 2021-07-02 17:27:14 PvOutCurrent 1.28 A
setstate Garage_Inverter 2021-07-02 17:27:14 PvOutPower 35.3 W
setstate Garage_Inverter 2021-07-02 17:27:14 PvOutVolt 27.58 V
setstate Garage_Inverter 2021-07-02 17:27:13 SysChrgBoostHoldTime 30
setstate Garage_Inverter 2021-07-02 17:27:13 SysChrgBoostVolt 28.8 V
setstate Garage_Inverter 2021-07-02 17:27:13 SysChrgRecoveryVolt 27.6 V
setstate Garage_Inverter 2021-07-02 17:27:13 SysDryOffVolt 2400
setstate Garage_Inverter 2021-07-02 17:27:13 SysDryOnVolt 2220
setstate Garage_Inverter 2021-07-02 17:27:13 SysStopRecChrgVolt 2800
setstate Garage_Inverter 2021-07-02 17:27:13 TempUnit Celsius
setstate Garage_Inverter 2021-07-02 17:27:13 TotalChargingCurrent 50 A
setstate Garage_Inverter 2021-07-02 17:27:12 bByPassSta no grid
setstate Garage_Inverter 2021-07-02 17:27:10 bClrErrors Off
setstate Garage_Inverter 2021-07-02 17:27:10 bClrStat unable
setstate Garage_Inverter 2021-07-02 17:27:11 bDevOutOnOff InverterOn
setstate Garage_Inverter 2021-07-02 17:27:12 bGridSupplyChrgOnOff ACDC close charging
setstate Garage_Inverter 2021-07-02 17:27:11 bLocalRemoteCtrl Remote
setstate Garage_Inverter 2021-07-02 17:27:12 bNight Day
setstate Garage_Inverter 2021-07-02 17:27:11 bOutPowerSavingMode Off
setstate Garage_Inverter 2021-07-02 17:27:10 bOutPriorMode inverter
setstate Garage_Inverter 2021-07-02 17:27:12 bPvChrgOnOff charging
setstate Garage_Inverter 2021-07-02 17:27:11 bSysResetOnOff no Reset
setstate Garage_Inverter 2021-07-02 17:27:10 state opened

Einen Log-Eintrag habe ich bei Verbose 3:

2021.07.02 17:37:14 3: Garage_Inverter: MapConvert called from CreateDataObjects did not find 5 (5) in map 0:Standby 0, 1:Lädtnicht, 3:Fehler, 7:Ladeerhaltung, 11:Boostladung, 15:Equalizing, 16:Panel Kurzschluss , 128:Ausgangs Mosfet Kurzschluss , 256:Ausgangs Kurzschluss , 512:Last Überstrom , 1024:Panel Überstrom , 2048:Anti-reverse MOSFET is short, 4096:Charging or Anti-reverse MOSFET is short, 8192:Charging MOSFET is short, 16384:kein Panel verbunden, 16385:Panelspannung zu hoch, 16386:Panel Spannungsfehler

Ich werde mir die Werte mal genauer anschauen ob mir was auffällt.

P.S.: Die Modbus ID ist bei mir 1, dieses konnte ich mit der Windows-Software im Rahmen meiner Adapter-Tests ändern und auslesen.
« Letzte Änderung: 02 Juli 2021, 17:39:19 von kurt6908 »
3* Raspberry Pi (2 über LTE/VPN), 5* Cul, 3* FS20, 4* FHT, 6* HM, Somfy, Solarlog, WMBus/EnergyCam, AVM FritzBox, 3* AVM Powerline, Alexa, Sens'it, Tasmota/MQTT, Rademacher DuoFern, EPEver UPower/ModBus

Offline kurt6908

  • Full Member
  • ***
  • Beiträge: 128
Hallo,

die Werte schauen im Allgemeinen in Ordnung aus, zwei fallen mir auf:

BatterySoc: 1AH (Batterie hat 100Ah und ist voll); sollten wohl % sein ?
ElectricChrgState: 49152 ?

Die Set-Befehle habe ich noch nicht getestet...

Gruß

Kurt
3* Raspberry Pi (2 über LTE/VPN), 5* Cul, 3* FS20, 4* FHT, 6* HM, Somfy, Solarlog, WMBus/EnergyCam, AVM FritzBox, 3* AVM Powerline, Alexa, Sens'it, Tasmota/MQTT, Rademacher DuoFern, EPEver UPower/ModBus

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 279
BatterySoc  hab ich mal geändert, muss man nicht durch 100 Teilen

ElectricChrgState  sind eigentlich jeweile Bits die dann an oder aus sind für die Stati... das muss man halt irgendwie noch umsetzen

Der Wert in Bit: 1100 0000 0000 0000


D15-D14: 00H Input voltage normal, 01H Input voltage low, 02H Inputvoltage high,
D13 D12,output power. 00-lowload 01-middle 02-rated 03-overload
D11: Short circuitD9: Over temp.
D8: Output voltage abnormal
D1: 0 Normal 1 error
RaspberryPi 4 Buster,Homematic,Z-Wave,Rademacher Duofern,Signalduino,Fritz7590,ESP8266,ESPEasy,Tasmota,Robonect,Kameras,1-Wire,Modbus,Solar,Maranz,VU+

Offline kurt6908

  • Full Member
  • ***
  • Beiträge: 128
Hallo laserich,

vielen Dank. Ich habe das neue Modul eingespielt.

Folgendes habe ich noch festgestellt:

- Logeintrag bei Verbose 3, wiederholt sich im Intervall:
(Vielleicht ein Blank vor dem Kommas zuviel in der Map-Anweisung?)

2021.07.03 14:24:18 3: Garage_Inverter: MapConvert called from CreateDataObjects did not find 9 (9) in map 0:Standby 0, 1:Lädtnicht, 3:Fehler, 7:Ladeerhaltung, 11:Boostladung, 15:Equalizing, 16:Panel Kurzschluss , 128:Ausgangs Mosfet Kurzschluss , 256:Ausgangs Kurzschluss , 512:Last Überstrom , 1024:Panel Überstrom , 2048:Anti-reverse MOSFET is short, 4096:Charging or Anti-reverse MOSFET is short, 8192:Charging MOSFET is short, 16384:kein Panel verbunden, 16385:Panelspannung zu hoch, 16386:Panel Spannungsfehler
2021.07.03 14:34:17 3: Garage_Inverter: MapConvert called from CreateDataObjects did not find 9 (9) in map 0:Standby 0, 1:Lädtnicht, 3:Fehler, 7:Ladeerhaltung, 11:Boostladung, 15:Equalizing, 16:Panel Kurzschluss , 128:Ausgangs Mosfet Kurzschluss , 256:Ausgangs Kurzschluss , 512:Last Überstrom , 1024:Panel Überstrom , 2048:Anti-reverse MOSFET is short, 4096:Charging or Anti-reverse MOSFET is short, 8192:Charging MOSFET is short, 16384:kein Panel verbunden, 16385:Panelspannung zu hoch, 16386:Panel Spannungsfehle



- BatterySoc: stimmt jetzt vom Wert. Laut Beschreibung "Percentage of remaining battery power", laut Unit "AH"
(Mein BMS sagt 97%, der UPower 80 Ah; da meine Batterie 100 Ah hat, kann ich nun nicht sagen, ob % oder Ah korrekt ist)

Gruß

Kurt
« Letzte Änderung: 03 Juli 2021, 14:51:58 von kurt6908 »
3* Raspberry Pi (2 über LTE/VPN), 5* Cul, 3* FS20, 4* FHT, 6* HM, Somfy, Solarlog, WMBus/EnergyCam, AVM FritzBox, 3* AVM Powerline, Alexa, Sens'it, Tasmota/MQTT, Rademacher DuoFern, EPEver UPower/ModBus

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 279
die Log Einträge sind deswegen weil der wert 5 nicht zu mappen war.
Da musst mal schauen was es im laufe der Zeit so gibt und was es zu bedeuten hat.
Da man hier in die BIT in Dezimal ja hat ist das etwas Fleissarbeit die entsprechenden dezimalwerte in den richtigen Text zu mappen.

Ebenso ist hier auch das error bit scheinbar falsch herum, ist beim anderen Modul auch so.
Und beim ElectricChrgState  ist das Bit 16 auch nicht beschrieben aber wohl gesetzt, und das bit 15 ist auch gesetzt, was aber darauf deuten würde die Eingangsspannung ist so nicht ok.... da hast noch viel zu beobachten und anzupassen :-)

Habs mal im anhang etwas geändert auf das was du jetzt wohl so hast
RaspberryPi 4 Buster,Homematic,Z-Wave,Rademacher Duofern,Signalduino,Fritz7590,ESP8266,ESPEasy,Tasmota,Robonect,Kameras,1-Wire,Modbus,Solar,Maranz,VU+

 

decade-submarginal