EOS_connect icon indicating copy to clipboard operation
EOS_connect copied to clipboard

feature request: set min / max soc values via HomeAssistant Sensor

Open nanoBit93 opened this issue 1 year ago • 5 comments

Hey,

another day, another idea 😊 would it be possible to provide the user the ability to set the min / max battery soc by a HA sensor? Background: I'm using the NINA civil protection warning app as an integration. Based on the severity of the warnings, I define different levels of soc that are kept as a backup. Currently, I do this directly via modbus - hence EOS is not aware and still optimizes for the fix soc thresholds in the config.

On a side note: I've opened a similar feature request to EVCC as it also needs to be aware of the effectively usable capacity: https://github.com/evcc-io/evcc/discussions/24321

nanoBit93 avatar Oct 23 '25 07:10 nanoBit93

Hello,

What can I say ;-) ... "Rare use case" ;-))))

Technically, it's not a problem – but how can it be handled so that the average user isn't overwhelmed?

Therefore, I'm considering providing the option of dynamic changes via MQTT and/or a web API, instead of overloading the configuration.

What do you think?

ohAnd avatar Oct 29 '25 18:10 ohAnd

Sorry - to be honest - I'm just curious .... 🧐 @nanoBit93 How much capacity do you have? Make me jealous ... 😬

WolfImBusch avatar Oct 29 '25 19:10 WolfImBusch

Answered with my company account, oopsies 😃 sorry for reposting

haha very rare I agree, but since I live in an area with flooding risk I need to make sure to save enough energy to keep the automatic pumps running for a while.

@ohAnd actually controlling it via an MQTT sensor would be the perfect solution! Much easier than setting up a custom HA sensor and pass it on to EOS connect.

@WolfImBusch I got 23 kWh. Quite a lot for my 12kWp.. but the larger battery gives me a lot more flexibility to use cheaper time slots during the night. Previously I had only ~12kWh which my heat pump emptied alone within a few hours on a cold day. Once I got a bidirectional charger it extends to 100kWh through the car so I guess I could power the neighborhood for a while 😇

nanoBit93 avatar Oct 29 '25 20:10 nanoBit93

implemented with b9006e1f34847820c0098e3513dac8aa94f6a4e8

@nanoBit93 please check

ohAnd avatar Nov 01 '25 10:11 ohAnd

Works perfectly, thanks a lot 😊

nanoBit93 avatar Nov 01 '25 16:11 nanoBit93