TonyM1958 / HA-FoxESS-Modbus

Home Assistant integration code for Fox ESS H1, H1-G2, H3 and KH inverters
24 stars 2 forks source link

Search for more inverter controls #8

Closed TonyM1958 closed 1 year ago

TonyM1958 commented 1 year ago

All the values that can be set on the inverter via the installer mode app must be able to be set via RS-485. I know I can load the min and max soc and work mode values etc. There must be more values you can read and potentially write such as max charge current etc.

Needs a search through the input registers in 4xxxx range?

canton7 commented 1 year ago

https://github.com/StealthChesnut/HA-FoxESS-Modbus/wiki/RS485-Agent-Addresses

TonyM1958 commented 1 year ago

thanks @canton7, good list. I've picked up a few of these, verified them against my H1 and am adding them into the spread sheet as a central reference along with data_type, scale, units and precision. Also added into my code base for testing.

TonyM1958 commented 1 year ago

added to the spread sheet from the PDF. Code updates still to do. Only adding main control values, excluding grid parameters and other exotics.

TonyM1958 commented 1 year ago

updated the modbus and template files for main inverter settings so that codes read from the inveter can be loaded and displayed. Some codes only partially decoded, such as sesnor.grid_code to sensor.grid_safety:

Other values will need to get provided by people with inverters in different regions / settings.