Skip to content

No success with StorEdge SE7K-RWS48BNN4 and SDM630MCT-RC + 3pcsESCT-RC100 #9

@djmoonshine

Description

@djmoonshine

I'm setting up a new StorEdge inverter and already had a SDM630 so this code would fit perfect!

The setup might be a bit different since I don't have normal CT:s, but rogowski coils.
https://www.aliexpress.com/item/32994844856.html

Therefore i'm not 100% sure what CT value I should set and how it affects. Since the meter is reporting correct values I don't understand what exactly this setting does.

I have tried this config:
`
[server]
device = /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_0106F08D-if00-port0
meters = import_export

[import_export]
type=sdm630
device=/dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_010D5A07-if00-port0
baud=9600
src_address=1
dst_address=2
refresh_rate = 5
ct_current = 5
`

Unfortunately I don't really manage to get it to work. My inverter says communication error 3x6e.

Getting data from the meter seems to work. But also getting some strange errors in the log.

2021-04-29 09:26:01 DEBUG: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2021-04-29 09:26:01 DEBUG: [0, 0, 0, 0, 0, 0, 0, 0, 17873, 31295, 17623, 35063]
2021-04-29 09:26:01 DEBUG: [b'\x00\x00', b'\x00\x00']
2021-04-29 09:26:01 DEBUG: [b'\x00\x00', b'\x00\x00']
2021-04-29 09:26:01 DEBUG: [b'\x00\x00', b'\x00\x00']
2021-04-29 09:26:01 DEBUG: [b'\x00\x00', b'\x00\x00']
2021-04-29 09:26:01 DEBUG: [b'E\xd1', b'z?']
2021-04-29 09:26:02 DEBUG: [b'D\xd7', b'\x88\xf7']
2021-04-29 09:26:02 DEBUG: values: {'p1_voltage': 235.8428955078125, 'p2_voltage': 236.7672119140625, 'p3_voltage': 235.03369140625, 'p1_current': 2.44598388671875, 'p2_current': 3.5552978515625, 'p3_current': 8.40301513671875, 'p1_power_active': 218.265625, 'p2_power_active': 578.5353393554688, 'p3_power_active': 1906.537109375, 'p1_power_apparent': 228.78443908691406, 'p2_power_apparent': 727.11376953125, 'p3_power_apparent': 1909.166748046875, 'p1_power_reactive': 0.0, 'p2_power_reactive': -443.1054992675781, 'p3_power_reactive': 0.0, 'p1_power_factor': 0.9540228843688965, 'p2_power_factor': 0.7956600189208984, 'p3_power_factor': 0.9986225366592407, 'p1_phase_angle': -90.02694702148438, 'p2_phase_angle': -66.26799011230469, 'p3_phase_angle': -14.631210327148438, 'voltage_ln': 235.8812255859375, 'current_ln': 4.8004150390625, 'total_line_current': 14.404296875, 'total_power_active': 2703.338134765625, 'total_power_apparent': 2739.412353515625, 'total_power_reactive': -443.1054992675781, 'total_power_factor': 0.9744075536727905, 'total_phase_angle': -56.97538375854492, 'frequency': 50.039306640625, 'import_energy_active': 6013.00048828125, 'export_energy_active': 690.280029296875, 'import_energy_reactive': 24.600004196166992, 'export_energy_reactive': 1699.68017578125, 'total_energy_apparent': 6921.49609375, 'total_current': 33146.83203125, 'total_import_demand_power_active': 1966.701416015625, 'maximum_import_demand_power_apparent': 10556.521484375, 'import_demand_power_active': 0.0, 'maximum_import_demand_power_active': 0.0, 'export_demand_power_active': 0.0, 'maximum_export_demand_power_active': 0.0, 'total_demand_power_apparent': 2019.813720703125, 'maximum_demand_power_apparent': 10579.6533203125, 'neutral_demand_current': 5.019970893859863, 'maximum_neutral_demand_current': 31.911027908325195, 'p12_voltage': 408.58251953125, 'p23_voltage': 407.6905517578125, 'p31_voltage': 410.0390625, 'voltage_ll': 408.7706298828125, 'neutral_current': 5.25665283203125, 'p1n_voltage_thd': 1.7799999713897705, 'p2n_voltage_thd': 1.7200000286102295, 'p3n_voltage_thd': 1.6100000143051147, 'p1_current_thd': 75.54000091552734, 'p2_current_thd': 26.600000381469727, 'p3_current_thd': 6.900000095367432, 'voltage_ln_thd': 1.7033332586288452, 'current_thd': 36.3466682434082, 'p1_demand_current': 0.9893087148666382, 'p2_demand_current': 3.1454174518585205, 'p3_demand_current': 6.683976650238037, 'maximum_p1_demand_current': 33.19852066040039, 'maximum_p2_demand_current': 21.051992416381836, 'maximum_p3_demand_current': 22.1422176361084, 'p12_voltage_thd': 0.0, 'p23_voltage_thd': 0.0, 'p31_voltage_thd': 0.0, 'voltage_ll_thd': 0.0, 'total_energy_active': 6703.28076171875, 'total_energy_reactive': 1724.2801513671875}
2021-04-29 09:26:02 DEBUG: [31295, 17873, 59393, 17851, 31295, 17873, 59393, 17851, 62825, 17704, 17408, 17242, 41539, 17424, 20784, 17646, 57752, 17259, 55240, 17259, 50280, 17260, 2208, 17259, 25252, 17356, 19088, 17356, 55396, 17355, 1280, 17357, 10304, 16968]
2021-04-29 09:26:02 DEBUG: setValues[3] 1001:34
2021-04-29 09:26:02 DEBUG: [31295, 17873, 0, 0, 0, 0, 59393, 17851, 0, 0, 0, 0, 37356, 17452, 37356, 17452, 37356, 17452, 0, 0, 0, 0, 35063, 17623, 35063, 17623, 0, 0, 0, 0, 19448, 17880, 19448, 17880, 0, 0, 0, 0, 29382, 16249, 15064, 16244, 45152, 16203, 42426, 16255, 36225, 50141, 0, 0, 36225, 50141, 0, 0, 13977, 17707, 51409, 17252, 51016, 17461, 42326, 17646, 35584, 16412, 35328, 16483, 29376, 16646, 54898, 17653, 0, 0, 0, 0, 31242, 17660, 21065, 17257, 11989, 17466, 24246, 17604]
2021-04-29 09:26:02 DEBUG: setValues[3] 1101:82
2021-04-29 09:26:02 DEBUG: CRC invalid, discarding header!!
2021-04-29 09:26:02 DEBUG: Resetting frame - Current Frame in buffer - 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x85 0xcc 0x2 0x3 0x6 0x40 0x0 0x17 0x4 0xab 0x70 0x17 0x10 0x0 0x0 0x4b 0x20 0x0 0x0 0xb 0x16 0x12 0x34 0x56 0x79 0x0 0x0 0xff 0xff 0x89 0x4d 0xb3 0x3f 0x4 0x7e 0xb3 0x3f 0x44 0x7e 0x3 0x1d 0x4d 0x81 0xd5 0xed 0x70 0x17 0x96 0x12 0x34 0x56 0x79 0x50 0x0 0xaf 0xff 0x89 0x4d 0xb3 0x3f 0x44 0x7e 0xb3 0x3f 0x4 0x7e 0x83 0x1d 0x1 0x0 0x1 0x0 0x36 0x59 0xa9 0xbe 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x3e 0x3c 0x55 0x42 0x0 0x0 0x0 0x0 0x3e 0x3c 0x55 0x42 0x0 0x0 0x0 0x0 0x10 0x6d 0xe8 0x41 0x41 0x0 0x64 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x80 0xc 0x80 0xc 0x0 0x0 0x0 0x0 0x1a 0x34 0x0 0x0 0x3 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x5 0x20 0x56 0x43 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x6c 0x1c 0x2 0x3 0x6 0x40 0x0 0x17 0x4 0xab
2021-04-29 09:26:02 DEBUG: Frame check failed, ignoring!!
2021-04-29 09:26:02 DEBUG: Resetting frame - Current Frame in buffer -
2021-04-29 09:26:03 DEBUG: Not a valid unit id - 112, ignoring!!
2021-04-29 09:26:03 DEBUG: Resetting frame - Current Frame in buffer - 0x70 0x17 0x10 0x0 0x0 0x4b 0x20 0x0 0x0 0x1d 0x3a 0x12 0x34 0x56 0x79 0x24 0x0 0xdb 0xff 0x8a 0x4d 0xb3 0x3f 0x4 0x7e 0xb3 0x3f 0x44 0x7e 0x8 0x1d 0x9a 0x6d 0x8a 0x60 0x60 0xea 0x0 0x0 0x2f 0x3 0x39 0x3 0x1b 0x3 0x48 0x3 0x78 0xec 0xff 0xff 0x88 0x13 0x88 0x13 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x16 0xb6 0xb6 0xc0 0x70 0x17 0x96 0x12 0x34 0x56 0x79 0x0 0x0 0xff 0xff 0x8a 0x4d 0xb3 0x3f 0x44 0x7e 0xb3 0x3f 0x4 0x7e 0x88 0x1d 0x32 0xae 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x87 0x54 0x2 0x3 0x6 0x40 0x0 0x17 0x4 0xab
2021-04-29 09:26:04 DEBUG: Not a valid unit id - 112, ignoring!!
2021-04-29 09:26:04 DEBUG: Resetting frame - Current Frame in buffer - 0x70 0x17 0x10 0x0 0x0 0x4b 0x20 0x0 0x0 0xb 0x16 0x12 0x34 0x56 0x79 0x0 0x0 0xff 0xff 0x8b 0x4d 0xb3 0x3f 0x4 0x7e 0xb3 0x3f 0x44 0x7e 0x3 0x1d 0x46 0x39 0xd1 0x6d 0x70 0x17 0x96 0x12 0x34 0x56 0x79 0x50 0x0 0xaf 0xff 0x8b 0x4d 0xb3 0x3f 0x44 0x7e 0xb3 0x3f 0x4 0x7e 0x83 0x1d 0x1 0x0 0x1 0x0 0xb 0x17 0xb3 0xbe 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x83 0x3a 0x55 0x42 0x0 0x0 0x0 0x0 0x83 0x3a 0x55 0x42 0x0 0x0 0x0 0x0 0x10 0x6d 0xe8 0x41 0x41 0x0 0x64 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x80 0xc 0x80 0xc 0x0 0x0 0x0 0x0 0x1c 0x34 0x0 0x0 0x3 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x5 0x20 0xde 0x5 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x6e 0x84 0x2 0x3 0x6 0x40 0x0 0x17 0x4 0xab 0x70 0x17 0x10 0x0 0x0 0x4b 0x20 0x0 0x0 0xb 0x16 0x12 0x34 0x56 0x79 0x0 0x0 0xff 0xff 0x8c 0x4d 0xb3 0x3f 0x4 0x7e 0xb3 0x3f 0x44 0x7e 0xd 0x1d 0xdd 0x89 0xbf 0xc6 0x70 0x17 0x96 0x12 0x34 0x56 0x79 0x2c 0x0 0xd3 0xff 0x8c
2021-04-29 09:26:05 DEBUG: CRC invalid, discarding header!!
2021-04-29 09:26:05 DEBUG: Resetting frame - Current Frame in buffer - 0x4d 0xb3 0x3f 0x44 0x7e 0xb3 0x3f 0x4 0x7e 0x8d 0x1d 0xcc 0xcc 0x54 0x42 0x0 0x0 0x0 0x0 0x0 0x0 0xc0 0x41 0x9a 0x99 0x69 0x42 0x0 0x49 0xc5 0x47 0x0 0x0 0x70 0x42 0x0 0x0 0x70 0x42 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x41 0x0 0x64 0x0 0xec 0xf2 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x47 0xda 0x2 0x3 0x6 0x40 0x0 0x17 0x4 0xab 0x70 0x17 0x10 0x0 0x0 0x4b 0x20 0x0 0x0 0x1d 0x3a 0x12 0x34 0x56 0x79 0x24 0x0 0xdb 0xff 0x8d 0x4d 0xb3 0x3f 0x4 0x7e 0xb3 0x3f 0x44 0x7e 0x8 0x1d 0x9c 0x6d 0x8a 0x60 0x60 0xea 0x0 0x0 0x2f 0x3 0x39 0x3 0x1b 0x3 0x48 0x3 0x78 0xec 0xff 0xff 0x88 0x13 0x88 0x13 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x90 0x7f 0xf6 0x52 0x70 0x17 0x96 0x12 0x34 0x56 0x79 0x0 0x0 0xff 0xff 0x8d 0x4d 0xb3 0x3f 0x44 0x7e 0xb3 0x3f 0x4 0x7e 0x88 0x1d 0x28 0xda 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0x83 0xf0
2021-04-29 09:26:05 DEBUG: Frame check failed, ignoring!!
2021-04-29 09:26:05 DEBUG: Resetting frame - Current Frame in buffer -
2021-04-29 09:26:06 DEBUG: Getting Frame - 0x3 0x6 0x40 0x0 0x17
2021-04-29 09:26:06 DEBUG: Factory Request[ReadHoldingRegistersRequest: 3]
2021-04-29 09:26:06 DEBUG: Frame advanced, resetting header!!
2021-04-29 09:26:06 DEBUG: validate: fc-[3] address-1601: count-23
2021-04-29 09:26:06 DEBUG: getValues fc-[3] address-1601: count-23
2021-04-29 09:26:06 DEBUG: send: [ReadRegisterResponse (23)]- b'02032e04d200000005000500050005000000000000000f0001271027102710fc18fc18fc1805dc0078000000004e2000007700'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions