EG4 18kPV #216
Replies: 10 comments
-
Good question, in all honest I have absolutely no idea :) The EG4 is an american-based product right? So I don't think I'll be able to get my hands on one to try it out. It may be possible to add support but we'll need to know the protocol it speaks first. If I had to guess, I'd suspect that if its based on a Luxpower inverter then the internal registers will all be pretty much the same, but perhaps the wifi dongle may be slightly different so there may be a different TCP wrapper around the packets. Do you have one, are you able to try it? Does the EG4 talk to Luxpower's servers? What does the web interface of the wifi dongle look like, can you open a listening port for lxp-bridge to connect to? Most usefully, some packet dumps of what's going on when it sends data out would be a good start, maybe we can deciphering it. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I have ordered one so will be able to investigate further. It is an "Americanized" version of the LUX-12K hybrid inverter so maybe it will work. It does not however talk to Luxpower servers. Instead it is supposed to talk to AWS servers in USA region. On page 41 of this PDF it shows interface setting up the Wi-fi dongle: |
Beta Was this translation helpful? Give feedback.
-
Well well, look what I found ;) https://eg4electronics.com/wp-content/uploads/2023/06/EG4-18KPV-12LV-Modbus-Protocol.pdf The registers correspond exactly with what we have documented in https://github.com/celsworth/lxp-bridge/wiki/Inputs and https://github.com/celsworth/lxp-bridge/wiki/Holdings so I think there's a good chance it will work. This is supremely helpful, until now Luxpower have been extremely cagey about releasing documentation like this, a lot of what we know is reversed engineered or guessed. In fact there's more registers in that doc than I knew about so we could add those to lxp-bridge's output at some point. I see there's older/smaller models in the EG4 range that also have Modbus Protocol documentation which look completely different (https://eg4electronics.com/downloads/), so probably only the 18kPV will work with this software. The documentation is focused on UART though rather than over TCP so there's still a bit of an unknown there over TCP encapsulation. But I think that should be easy to work out, just by watching what the inverter sends for a while. The Wi-fi dongle images in the manual look pretty much identical to what's on Lux inverters as well, so the instructions will be much the same, just open a listening port to connect to. The AWS servers you mention look like simple reskins (literally just a different colour scheme) by the look of it. |
Beta Was this translation helpful? Give feedback.
-
Excellent. It will be a while before I can test this since haven't received it yet. Maybe someone else who has one may be able to test beforehand. |
Beta Was this translation helpful? Give feedback.
-
Oooh... this makes things exciting :) |
Beta Was this translation helpful? Give feedback.
-
It works. I'm using it with mine. It locks up occasionally and stops updating the values. Not sure why yet.. but for the most part it works. I'd love it if the rest of the registers (the ones the distributor has access to that customers don't) would be published tho. |
Beta Was this translation helpful? Give feedback.
-
Any ones in particular? Since we have the modbus protocol document now we can add a lot more, but since I don't have access to an inverter that populates all these new registers, I'm not really sure which ones are useful (and even with the Chinglish doc, understanding what half of them mean is tricky sometimes) |
Beta Was this translation helpful? Give feedback.
-
I'd really like to see the fault codes and status.. I mean really all of them that make sense r and w registers. Maybe make them disabled by default so people don't break things.. and have them have to be enabled. I'd be happy to provide some data if needed. I have my system ac coupled. I don't have anything in the PV ports. just a huge AC Coupled array. |
Beta Was this translation helpful? Give feedback.
-
Coincidentally, was just looking to see if there were any updated modbus documentation links from EG4 and it appears they've removed them all! Good job I saved it :) |
Beta Was this translation helpful? Give feedback.
-
Hey, Can you add a switch to enable and disable the second bit in register 21.. ovf_load_derate_en. Due to a bug in the firmware I need to be able to make an automation to enable and disable this based on if i'm on or off grid. It turns on and off Frequency-Active Power Mode. I also decoded some of the other settings related to this setting.. I needed to set these to match. my solar array so frequency shifting works properly when off grid. Frequency Active Power Mode Settings Enable Frequency-Active Power Mode Hold Register 97 = Open Loop Response Time(ms) Hold Register 115 = Over frequency Droop dbOF(Hz) Hold Register 124 = Over Frequency Droop End (Hz) Hold Register 136 = Over frequency Droop kUF(%) Hold Register 134 = Under frequency Droop dbUF(Hz) Hold Register 135 = Under frequency Droop End (Hz) Hold Register 193 = Under frequency Droop kUF(%) |
Beta Was this translation helpful? Give feedback.
-
Any ideas if this will work with the EG4 18kPV which is based on a LUX-12K hybrid inverter?
Beta Was this translation helpful? Give feedback.
All reactions