springfall2008 / batpred

Home battery prediction and charging automation for Home Assistant, supporting many inverter types
https://springfall2008.github.io/batpred/
128 stars 45 forks source link

Solis Inveters #204

Closed fboundy closed 1 year ago

fboundy commented 1 year ago

Just found this having got some of the way to writing my own version for Solis inverters using very similar logic and sources.

Given that Solis use TCP ModBus I presume it should be straightforward enough to add support?

I'll take a look at what would be needed.

springfall2008 commented 1 year ago

Have a look at this ticket: https://github.com/springfall2008/batpred/issues/181

I think if you can find an existing integration of Solis with HA then we can try to configure Predbat for it.

fboundy commented 1 year ago

I’ve already got the Solis talking to HA (https://github.com/fboundy/ha_solis_modbus) so I’ll go ahead and fork the repo with a branch for a Solis config. Might be a while before I can look at it properly but I think we can get it working.

Some people use the Solax integration with Solis inverters. I haven’t so far - that might be the ne t step On 29 Oct 2023 at 16:18 +0000, Trefor Southwell @.***>, wrote:

Have a look at this ticket: #181 I think if you can find an existing integration of Solis with HA then we can try to configure Predbat for it. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

springfall2008 commented 1 year ago

The first step is to find the controls in HA, then map them to the apps.yaml for Predbat. Then see what's missing or different.

Predbat already has an inverter type setting so you can use that for any customisations, it's best to do in a way it can be merged back afterwards

fboundy commented 1 year ago

Have it running but not sure it’s making sense yet. Have set the type to GS for Ginlong Solis and started a ginlong-solis.yaml cong file. All in a separate branch for now. PR in due course. On 29 Oct 2023 at 17:18 +0000, Trefor Southwell @.***>, wrote:

The first step is to find the controls in HA, then map them to the apps.yaml for Predbat. Then see what's missing or different. Predbat already has an inverter type setting so you can use that for any customisations, it's best to do in a way it can be merged back afterwards — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Bart39 commented 1 year ago

Interested in your progress, I have a solax inverter and using https://github.com/wills106/homeassistant-solax-modbus (which also supports solis amongst others as you mentioned)

fboundy commented 1 year ago

I have the analysis working for Solis. Still working on writing to the inverter. On 30 Oct 2023 at 09:57 +0000, Bart39 @.***>, wrote:

Interested in your progress, I have a solax inverter and using https://github.com/wills106/homeassistant-solax-modbus (which also supports solis amongst others) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>