Skip to content

base support for SRNE inverters 2021+ #45

New issue

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

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ srne_v3.9 = SRNE inverters - Untested
victron_gx_3.3 = Victron GX Devices - Untested
solark_v1.1 = SolarArk 8/12K Inverters - Untested
hdhk_16ch_ac_module = some chinese current monitoring device :P
srne_2021_v1.96 = SRNE inverters 2021+ (tested at ASF48100S200-H)

eg4_v58 = eg4 inverters ( EG4-6000XP ) - confirmed working
eg4_3000ehv_v1 = eg4 inverters ( EG4_3000EHV )
Expand Down
47 changes: 47 additions & 0 deletions protocols/srne_2021_v1.96.holding_registry_map.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
variable name,data type,register,documented name,description,writable,values,unit,note
,BYTE,0x000B,Product type,,R,"{""0"": ""domestic controller"", ""1"": ""controller for street light"", ""3"": ""grid-connected inverter"", ""4"": ""all-in-one solar charger inverter"", ""5"": ""power frequency off-grid""}",,
,,0x0014,Software version,,R,,0.01,
,,0x0016,Hardware version,,R,,0.01,
,BYTE,0x001A,RS485 address,,R,1~247,,
,,0x001C,RS485 version,,R,,0.01,
,ASCII,0x0035~0x0048,Product SN,,R,,,
,,0x0100,Battery capacity SOC,,R,0~100,%,
,,0x0101,Battery voltage,,R,,0.1V,
,SHORT,0x0102,Battery current,,R,,0.1A,
,SHORT,0x0103,Battery temperature,,R,,0.1C,
,,0x0107,PV1 voltage,,R,,0.1V,
,,0x0108,PV1 current,,R,,0.1A,
,,0x0109,PV1 power,,R,,W,
,,0x010F,PV2 voltage,,R,,0.1V,
,,0x0110,PV2 current,,R,,0.1A,
,,0x0111,PV2 power,,R,,W,
,BYTE,0x010B,Charge state,,R,"{""0"": ""Charge off"", ""1"": ""Quick charge"", ""2"": ""Const voltage charge"", ""4"": ""Float charge"", ""6"": ""Li battery activate"", ""8"": ""Full""}",,
,,0x010E,Total charging power,,R,,W,
,BYTE,0x0210,Device state,,R,"{""0"": ""Initialization"", ""1"": ""Standby"", ""2"": ""AC power operation"", ""3"": ""Inverter operation""}",,
,,0x0212,Bus Voltage Sum,,R,,0.1V,
,,0x0213,Grid power phase-A voltage,,R,,0.1V,
,,0x0214,Grid power phase-A current,,R,,0.1A,
,,0x022A,Grid power phase-B voltage,,R,,0.1V,
,,0x0238,Grid power phase-B current,,R,,0.1A,
,,0x022B,Grid power phase-C voltage,,R,,0.1V,
,,0x0239,Grid power phase-C current,,R,,0.1A,
,,0x0216,Inverter phase-A output voltage,,R,,0.1V,
,,0x0217,Inverter phase-A inductive current,,R,,0.1A,
,,0x022C,Inverter phase-B output voltage,,R,,0.1V,
,,0x022E,Inverter phase-B inductive current,,R,,0.1A,
,,0x022D,Inverter phase-C output voltage,,R,,0.1V,
,,0x022F,Inverter phase-C inductive current,,R,,0.1A,
,,0x0215,Grid power frequency,,R,,0.01Hz,
,,0x0218,Inverter frequency,,R,,0.01Hz,
,,0x0219,Load Phase-A current,,R,,0.1A,
,,0x021B,Load Phase-A active power,,R,,W,
,,0x021C,Load Phase-A apparent power,,R,,VA,
,,0x021F,Load Phase-A ratio,,R,0~100,%,
,,0x0230,Load Phase-B current,,R,,0.1A,
,,0x0232,Load Phase-B active power,,R,,W,
,,0x0234,Load Phase-B apparent power,,R,,VA,
,,0x0236,Load Phase-B ratio,,R,0~100,%,
,,0x0231,Load Phase-C current,,R,,0.1A,
,,0x0233,Load Phase-C active power,,R,,W,
,,0x0235,Load Phase-C apparent power,,R,,VA,
,,0x0237,Load Phase-C ratio,,R,0~100,%,
5 changes: 5 additions & 0 deletions protocols/srne_2021_v1.96.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"transport" : "modbus_rtu",
"send_holding_register": true,
"send_input_register" : false
}