Replies: 3 comments 5 replies
-
@StealthChesnut @williamjeccles I hooked up Modbus Tool to RS485 and did a scan of my inverter. Looks like there are up to 50 registers as per the attached screen shot, so I'm looking at trying to fill in some of the gaps and align more of the data between RS485 and LAN I was looking for InvBatCurrent that is available for LAN but not for RS485. I've added some guesses at other registers in the attached spreadsheet. If you already know what any of the addresses are, please can you let me know so I don't duplicate or go on a wild goose chase? |
Beta Was this translation helpful? Give feedback.
-
Hi Tony, Great stuff - thanks for taking a look at this. I assume you've already seen the reference, but in case you haven't - https://github.com/StealthChesnut/HA-FoxESS-Modbus/wiki/Data-Register-Reference---H1-AC1 @nathanmarlor has also made some progress in his integrations here: https://github.com/nathanmarlor/foxess_modbus/blob/main/custom_components/foxess_modbus/entities/xx1_aux_entity_descriptions.py |
Beta Was this translation helpful? Give feedback.
-
Had a skim through entity code by @nathanmarlor and updated the spread sheet as attached. For completeness - I'm not looking at H3 as I don't have an example to poke around with. I'd be interested in any views on trying to get better alignment between entity names so, for example, users can switch between LAN and RS485 connections easily and retain their history. It would be a breaking change, so would be focussed on LAN where the current number of users might be quite low due to the problems caused by firmware 1.56. There's also some oddities like PV1-Voltage (@StealthChesnut) and PV1_voltage (@nathanmarlor) , BatVolt / InvBatVolt, CT2 / CT2_Meter... Can you setup aliases in HA to retain backward compatibility but achieve better alignment? Or is this just a bridge too far :-) |
Beta Was this translation helpful? Give feedback.
-
Did some looking at the other modbus values presented by the inverter to see if I could find any of the BMS values present on RS-485. Early days, but it appears only addresses 31000 to 31039 are active as requesting any more than 40 registers gets rejected by the server. Started putting some additional values in the attached spread sheet. Maybe there is another block of addresses that I haven't stumbled across yet.
31010 to 31013: my guess is that these might be EPSVolt, EPSCurrent, EPSPower and EPSFreq? My inverter is in internal bypass mode and it looks like it measures my EPS voltage and frequency but not the current or power. Obviously, these won't tell you anything if you are on external bypass. So these registers might only useful when the grid is down and the inverter is generating EPS power, assuming you have something plugged in that can still read them!
31028: suggestion that this might be work mode, but I switched between self-use to feed-in first and it didn't change, so I don't think it is that? Could just be other [static?] data from 31025 to 31039.
H1 LAN modbus map.xlsx
Beta Was this translation helpful? Give feedback.
All reactions