cdpuk / givenergy-local

Home Assistant integration for local access to GivEnergy inverter and battery systems
MIT License
50 stars 14 forks source link

Disable Eco mode service #24

Closed alfwro13 closed 1 year ago

alfwro13 commented 1 year ago

Is your feature request related to a problem? Please describe. There is a service to Activate Eco Mode but as far I can tell there is no service to Disable it

Describe the solution you'd like Create a service that would allow to disable the Eco Mode

Describe alternatives you've considered Currently the only option seems to be to manually got to the inverter and disable that option

thank you

cdpuk commented 1 year ago

That's true, there is no way to turn off Eco mode. Eco mode means the battery will only discharge to meet demand, which makes sense. While I see it's possible to toggle a boolean value via the low-level settings in the GE portal, this doesn't map cleanly to a mode as you see in the mobile app. I suspect this is because the act of "turn off eco mode" is quite hard to define, and judging by the mobile app, GE would rather you think of the discharge mode as being one of:

Which is why you'll see there are services to switch between these modes.

What inverter/battery behaviour are you trying to achieve by turning off eco mode? While it would be possible to expose more of these low-level settings, can you achieve what you need via the high-level options that the app provides?

alfwro13 commented 1 year ago

On couple of occasions I have noticed that when the battery if empty and Eco mode is enabled it won't wait for the Time charge time slot and it will start charging the battery right away on the day tariff. Also with the Eco mode enabled the battery will start discharging as soon as it is full - our cheap tariff slot is from 0:30 until 7:30. So the idea is: 0:30 - 7:30 -- Eco Mode disabled - the battery will charge to the define % and the house will use grid power 7:30 - until sunset - Eco mode enabled - battery is used to power the house and it is dynamically charged from surplus solar production sunset - 0:30 - Eco Mode disabled - use battery power to power the house, do nothing if battery is empty

cdpuk commented 1 year ago

It sounds like that can be achieved with a timed charge configuration for the 0:30 - 07:30 period. Assuming this slot is fixed, this only needs configuring once, with no automation.

On you comment about the battery charging when empty - the default configuration will stop discharging the battery at 4%. It can then drop slowly to 0% over a few hours, at which point it will recharge back up to 4%. Eco mode won't affect this behaviour. Is that what you're seeing?

cdpuk commented 1 year ago

Closing due to inactivity. Happy to continue discussion.