We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hallo,
ein mbmd inspect -a /dev/ttyUSB2 -b 9600 --comset 8N1 -d SUNS:247 zeigt mit alle Werte an, welche der Inverter ausspuckt (siehe unten).
mbmd inspect -a /dev/ttyUSB2 -b 9600 --comset 8N1 -d SUNS:247
Mittels mbmd API bekomme ich aber nur Model103 Werte (ausgelesen mit http://192.168.19.2:9090/api/last)
{"SUNSPEC1.247":{"Timestamp":"2023-06-02T09:17:21.926115857+02:00","Unix":1685690241,"ApparentPower":1038.000000,"Cosphi":0.993000,"Current":1.500000,"CurrentL1":1.500000,"CurrentL2":1.500000,"CurrentL3":1.500000,"DCCurrentS1":0.900000,"DCCurrentS2":0.900000,"DCPowerS1":436.000000,"DCPowerS2":492.000000,"DCVoltageS1":484.600000,"DCVoltageS2":546.900000,"Export":3668.400000,"Frequency":50.010000,"HeatSinkTemp":40.400000,"Power":943.000000,"ReactivePower":-123.000000,"VoltageL1":230.700000,"VoltageL2":230.100000,"VoltageL3":233.600000}}
Muss ich noch etwas anders konfigurieren? mbmd wird aus GIT Source kompiliert und mit mbmd.yaml gestartet:
# REST api, use 127.0.0.1 to restrict to localhost api: 0.0.0.0:9090 # mqtt config mqtt: broker: localhost:1883 topic: mbmd user: password: clientid: mbmd qos: 0 homie: homie # influxdb_v1 config influx: url: http://localhost:8086 database: data measurement: mbmd user: password: # influxdb_v2 config #influx: #url: http://localhost:8086 #database: data #measurement: mbmd #organization: #token: # adapters are referenced by device adapters: - device: /dev/ttyUSB2 baudrate: 9600 comset: 8N1 # "8E1" needs be quoted as string or will error # list of devices devices: - name: Goodwe type: sunspec id: 247 subdevice: 0 # use subdevice to access SunSpec subdevices adapter: /dev/ttyUSB2
Ausgabe von inspect:
--------- Model 1 common --------- Mn GOODWE string Md GW8K-DT string Opt string Vr V1.15.15 string SN XXXXXXXXXXX string DA 247.00 uint16 Pad 0x8000 pad --------- Model 103 inverter --------- A 0.90 uint16 AphA 0.90 uint16 AphB 0.90 uint16 AphC 0.90 uint16 A_SF -1 sunssf PPVphAB 399.00 uint16 PPVphBC 399.20 uint16 PPVphCA 400.20 uint16 PhVphA 230.10 uint16 PhVphB 229.70 uint16 PhVphC 232.20 uint16 V_SF -1 sunssf W 439.00 int16 W_SF 0 sunssf Hz 49.97 uint16 Hz_SF -2 sunssf VA 496.00 int16 VA_SF 0 sunssf VAr -125.00 int16 VAr_SF 0 sunssf PF 0.97 int16 PF_SF -3 sunssf WH 0.00 acc32 WH_SF -1 sunssf DCA n/a uint16 DCA_SF n/a sunssf DCV n/a uint16 DCV_SF n/a sunssf DCW n/a int16 DCW_SF n/a sunssf TmpCab 39.80 int16 TmpSnk n/a int16 TmpTrns n/a int16 TmpOt n/a int16 Tmp_SF -1 sunssf St 4 enum16 StVnd n/a enum16 Evt1 0x00000000 bitfield32 Evt2 0x00000004 bitfield32 EvtVnd1 n/a bitfield32 EvtVnd2 n/a bitfield32 EvtVnd3 n/a bitfield32 EvtVnd4 n/a bitfield32 --------- Model 120 nameplate --------- DERTyp 4 enum16 WRtg 8000.00 uint16 WRtg_SF 0 sunssf VARtg 8000.00 uint16 VARtg_SF 0 sunssf VArRtgQ1 0.00 int16 VArRtgQ2 0.00 int16 VArRtgQ3 0.00 int16 VArRtgQ4 0.00 int16 VArRtg_SF 0 sunssf ARtg 13.00 uint16 ARtg_SF -1 sunssf PFRtgQ1 -0.80 int16 PFRtgQ2 0.00 int16 PFRtgQ3 0.00 int16 PFRtgQ4 0.80 int16 PFRtg_SF -1 sunssf WHRtg n/a uint16 WHRtg_SF n/a sunssf AhrRtg n/a uint16 AhrRtg_SF n/a sunssf MaxChaRte n/a uint16 MaxChaRte_SF n/a sunssf MaxDisChaRte n/a uint16 MaxDisChaRte_SF n/a sunssf Pad 0x8000 pad --------- Model 121 settings --------- WMax 8000.00 uint16 VRef 230.00 uint16 VRefOfs 0.00 int16 VMax 253.00 uint16 VMin 199.50 uint16 VAMax n/a uint16 VArMaxQ1 n/a int16 VArMaxQ2 n/a int16 VArMaxQ3 n/a int16 VArMaxQ4 n/a int16 WGra 30.00 uint16 PFMinQ1 n/a int16 PFMinQ2 n/a int16 PFMinQ3 n/a int16 PFMinQ4 n/a int16 VArAct n/a enum16 ClcTotVA n/a enum16 MaxRmpRte n/a uint16 ECPNomHz n/a uint16 ConnPh n/a enum16 WMax_SF 0 sunssf VRef_SF -1 sunssf VRefOfs_SF -1 sunssf VMinMax_SF -1 sunssf VAMax_SF n/a sunssf VArMax_SF n/a sunssf WGra_SF -1 sunssf PFMin_SF n/a sunssf MaxRmpRte_SF n/a sunssf ECPNomHz_SF n/a sunssf --------- Model 122 status --------- PVConn 0x0007 bitfield16 StorConn n/a bitfield16 ECPConn 0x0001 bitfield16 ActWh 0.00 acc64 ActVAh 0.00 acc64 ActVArhQ1 0.00 acc64 ActVArhQ2 0.00 acc64 ActVArhQ3 0.00 acc64 ActVArhQ4 0.00 acc64 VArAval n/a int16 VArAval_SF n/a sunssf WAval n/a uint16 WAval_SF n/a sunssf StSetLimMsk n/a bitfield32 StActCtl n/a bitfield32 TmSrc string Tms n/a uint32 RtSt n/a bitfield16 Ris 6814000.00 uint16 Ris_SF 3 sunssf --------- Model 123 controls --------- Conn_WinTms n/a uint16 Conn_RvrtTms n/a uint16 Conn n/a enum16 WMaxLimPct n/a uint16 WMaxLimPct_WinTms n/a uint16 WMaxLimPct_RvrtTms n/a uint16 WMaxLimPct_RmpTms n/a uint16 WMaxLim_Ena n/a enum16 OutPFSet -0.10 int16 OutPFSet_WinTms n/a uint16 OutPFSet_RvrtTms n/a uint16 OutPFSet_RmpTms n/a uint16 OutPFSet_Ena n/a enum16 VArWMaxPct -0.10 int16 VArMaxPct n/a int16 VArAvalPct n/a int16 VArPct_WinTms n/a uint16 VArPct_RvrtTms n/a uint16 VArPct_RmpTms n/a uint16 VArPct_Mod n/a enum16 VArPct_Ena n/a enum16 WMaxLimPct_SF -1 sunssf OutPFSet_SF -1 sunssf VArPct_SF -1 sunssf --------- Model 126 volt_var --------- ActCrv 1.00 uint16 ModEna 0x0000 bitfield16 WinTms n/a uint16 RvrtTms n/a uint16 RmpTms n/a uint16 NCrv 1.00 uint16 NPt 4.00 uint16 V_SF -1 sunssf DeptRef_SF -1 sunssf RmpIncDec_SF n/a sunssf -- Block 1 -- ActPt 4.00 uint16 DeptRef 2 enum16 V1 93.00 uint16 VAr1 48.50 int16 V2 97.00 uint16 VAr2 0.00 int16 V3 103.00 uint16 VAr3 0.00 int16 V4 107.00 uint16 VAr4 -48.50 int16 V5 n/a uint16 VAr5 n/a int16 V6 n/a uint16 VAr6 n/a int16 V7 n/a uint16 VAr7 n/a int16 V8 n/a uint16 VAr8 n/a int16 V9 n/a uint16 VAr9 n/a int16 V10 n/a uint16 VAr10 n/a int16 V11 n/a uint16 VAr11 n/a int16 V12 n/a uint16 VAr12 n/a int16 V13 n/a uint16 VAr13 n/a int16 V14 n/a uint16 VAr14 n/a int16 V15 n/a uint16 VAr15 n/a int16 V16 n/a uint16 VAr16 n/a int16 V17 n/a uint16 VAr17 n/a int16 V18 n/a uint16 VAr18 n/a int16 V19 n/a uint16 VAr19 n/a int16 V20 n/a uint16 VAr20 n/a int16 CrvNam string RmpTms n/a uint16 RmpDecTmm n/a uint16 RmpIncTmm n/a uint16 ReadOnly 0 enum16 --------- Model 127 freq_watt_param --------- WGra 40.00 uint16 HzStr 50.20 int16 HzStop 0.01 int16 HysEna 0x0000 bitfield16 ModEna 0x0000 bitfield16 HzStopWGra 40.00 uint16 WGra_SF -1 sunssf HzStrStop_SF -2 sunssf RmpIncDec_SF -1 sunssf Pad 0x8000 pad --------- Model 128 reactive_current --------- ArGraMod 0 enum16 ArGraSag 0.00 uint16 ArGraSwell 0.00 uint16 ModEna 0x0000 bitfield16 FilTms n/a uint16 DbVMin n/a uint16 DbVMax n/a uint16 BlkZnV n/a uint16 HysBlkZnV n/a uint16 BlkZnTmms n/a uint16 HoldTmms n/a uint16 ArGra_SF 0 sunssf VRefPct_SF n/a sunssf Pad 0x8000 pad --------- Model 129 lvrt --------- ActCrv 1.00 uint16 ModEna 0x0001 bitfield16 WinTms n/a uint16 RvrtTms n/a uint16 RmpTms n/a uint16 NCrv 1.00 uint16 NPt 4.00 uint16 Tms_SF -3 sunssf V_SF -1 sunssf Pad 0x8000 pad -- Block 1 -- ActPt 4.00 uint16 Tms1 0.75 uint16 V1 25.00 uint16 Tms2 1.13 uint16 V2 40.00 uint16 Tms3 4.50 uint16 V3 60.00 uint16 Tms4 8.93 uint16 V4 80.00 uint16 Tms5 n/a uint16 V5 n/a uint16 Tms6 n/a uint16 V6 n/a uint16 Tms7 n/a uint16 V7 n/a uint16 Tms8 n/a uint16 V8 n/a uint16 Tms9 n/a uint16 V9 n/a uint16 Tms10 n/a uint16 V10 n/a uint16 Tms11 n/a uint16 V11 n/a uint16 Tms12 n/a uint16 V12 n/a uint16 Tms13 n/a uint16 V13 n/a uint16 Tms14 n/a uint16 V14 n/a uint16 Tms15 n/a uint16 V15 n/a uint16 Tms16 n/a uint16 V16 n/a uint16 Tms17 n/a uint16 V17 n/a uint16 Tms18 n/a uint16 V18 n/a uint16 Tms19 n/a uint16 V19 n/a uint16 Tms20 n/a uint16 V20 n/a uint16 CrvNam string ReadOnly 1 enum16 --------- Model 130 hvrt --------- ActCrv 1.00 uint16 ModEna 0x0001 bitfield16 WinTms n/a uint16 RvrtTms n/a uint16 RmpTms n/a uint16 NCrv 1.00 uint16 NPt 3.00 uint16 Tms_SF -3 sunssf V_SF 0 sunssf Pad 0x8000 pad -- Block 1 -- ActPt 3.00 uint16 Tms1 0.40 uint16 V1 124.00 uint16 Tms2 56.46 uint16 V2 109.00 uint16 Tms3 8.93 uint16 V3 109.00 uint16 Tms4 n/a uint16 V4 n/a uint16 Tms5 n/a uint16 V5 n/a uint16 Tms6 n/a uint16 V6 n/a uint16 Tms7 n/a uint16 V7 n/a uint16 Tms8 n/a uint16 V8 n/a uint16 Tms9 n/a uint16 V9 n/a uint16 Tms10 n/a uint16 V10 n/a uint16 Tms11 n/a uint16 V11 n/a uint16 Tms12 n/a uint16 V12 n/a uint16 Tms13 n/a uint16 V13 n/a uint16 Tms14 n/a uint16 V14 n/a uint16 Tms15 n/a uint16 V15 n/a uint16 Tms16 n/a uint16 V16 n/a uint16 Tms17 n/a uint16 V17 n/a uint16 Tms18 n/a uint16 V18 n/a uint16 Tms19 n/a uint16 V19 n/a uint16 Tms20 n/a uint16 V20 n/a uint16 CrvNam string ReadOnly 1 enum16 --------- Model 131 watt_pf --------- ActCrv 1.00 uint16 ModEna 0x0000 bitfield16 WinTms n/a uint16 RvrtTms n/a uint16 RmpTms n/a uint16 NCrv 1.00 uint16 NPt 3.00 uint16 W_SF -1 sunssf PF_SF -3 sunssf RmpIncDec_SF n/a sunssf -- Block 1 -- ActPt 3.00 uint16 W1 20.00 int16 PF1 1.00 int16 W2 50.00 int16 PF2 1.00 int16 W3 100.00 int16 PF3 0.90 int16 W4 n/a int16 PF4 n/a int16 W5 n/a int16 PF5 n/a int16 W6 n/a int16 PF6 n/a int16 W7 n/a int16 PF7 n/a int16 W8 n/a int16 PF8 n/a int16 W9 n/a int16 PF9 n/a int16 W10 n/a int16 PF10 n/a int16 W11 n/a int16 PF11 n/a int16 W12 n/a int16 PF12 n/a int16 W13 n/a int16 PF13 n/a int16 W14 n/a int16 PF14 n/a int16 W15 n/a int16 PF15 n/a int16 W16 n/a int16 PF16 n/a int16 W17 n/a int16 PF17 n/a int16 W18 n/a int16 PF18 n/a int16 W19 n/a int16 PF19 n/a int16 W20 n/a int16 PF20 n/a int16 CrvNam string RmpPT1Tms n/a uint16 RmpDecTmm n/a uint16 RmpIncTmm n/a uint16 ReadOnly 0 enum16 Pad 0x8000 pad --------- Model 132 volt_watt --------- ActCrv 1.00 uint16 ModEna 0x0000 bitfield16 WinTms n/a uint16 RvrtTms n/a uint16 RmpTms n/a uint16 NCrv 1.00 uint16 NPt 2.00 uint16 V_SF -1 sunssf DeptRef_SF -1 sunssf RmpIncDec_SF n/a sunssf -- Block 1 -- ActPt 2.00 uint16 DeptRef 1 enum16 V1 0.00 uint16 W1 0.00 int16 V2 0.00 uint16 W2 0.00 int16 V3 n/a uint16 W3 n/a int16 V4 n/a uint16 W4 n/a int16 V5 n/a uint16 W5 n/a int16 V6 n/a uint16 W6 n/a int16 V7 n/a uint16 W7 n/a int16 V8 n/a uint16 W8 n/a int16 V9 n/a uint16 W9 n/a int16 V10 n/a uint16 W10 n/a int16 V11 n/a uint16 W11 n/a int16 V12 n/a uint16 W12 n/a int16 V13 n/a uint16 W13 n/a int16 V14 n/a uint16 W14 n/a int16 V15 n/a uint16 W15 n/a int16 V16 n/a uint16 W16 n/a int16 V17 n/a uint16 W17 n/a int16 V18 n/a uint16 W18 n/a int16 V19 n/a uint16 W19 n/a int16 V20 n/a uint16 W20 n/a int16 CrvNam string RmpPt1Tms n/a uint16 RmpDecTmm n/a uint16 RmpIncTmm n/a uint16 ReadOnly 0 enum16 --------- Model 160 mppt --------- DCA_SF -1 sunssf DCV_SF -1 sunssf DCW_SF 0 sunssf DCWH_SF n/a sunssf Evt 0x00000000 bitfield32 N 2 count TmsPer n/a uint16 -- Block 1 -- ID 1.00 uint16 IDStr string DCA 0.30 uint16 DCV 528.70 uint16 DCW 158.00 uint16 DCWH NaN acc32 Tms n/a uint32 Tmp n/a int16 DCSt n/a enum16 DCEvt n/a bitfield32 -- Block 2 -- ID 2.00 uint16 IDStr string DCA 0.40 uint16 DCV 521.40 uint16 DCW 208.00 uint16 DCWH NaN acc32 Tms n/a uint32 Tmp n/a int16 DCSt n/a enum16 DCEvt n/a bitfield32
The text was updated successfully, but these errors were encountered:
Just figured the same thing, not all data shown on inspect is shown on run.
Sorry, something went wrong.
No branches or pull requests
Hallo,
ein
mbmd inspect -a /dev/ttyUSB2 -b 9600 --comset 8N1 -d SUNS:247
zeigt mit alle Werte an, welche der Inverter ausspuckt (siehe unten).Mittels mbmd API bekomme ich aber nur Model103 Werte (ausgelesen mit http://192.168.19.2:9090/api/last)
Muss ich noch etwas anders konfigurieren?
mbmd wird aus GIT Source kompiliert und mit mbmd.yaml gestartet:
Ausgabe von inspect:
The text was updated successfully, but these errors were encountered: