-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request for actions #74
Comments
Can you please be a bit more specific or give a more detailed example of what you want? I'm not sure I understand correctly what you want to do, especially with charge and discharge. |
Of course! Regarding speed - today I use input.number helpers to be able to preset the charge speed like below. With these I can also calculate remaining charge time and thus manually choosing appropriate speed for those times I want to manually control charging or discharging. At the moment, when using the new actions, it is not possible to use input numbers as value. Regarding the Operating Mode there are three modes, so I believe a select is better than a switch (even though I today have created a switch template for Auto/Manual as I never use the Time-of-Use mode). |
Ok, understood. And what's your usage scenario here? In other words: when and why do you "pre-set" charge and discharge values and when do you actually charge/discharge the battery? |
In lack of a perfect automation that controls car charging and battery charging in cold winter nights when heating also puts a stress on the fuses, I sometimes want to manually choose the max targets for charging power. I then want to see for how long the charging will last - that’s the reason for my my helpers that show how long it will take at the chosen speed.
I also sometimes want to use arbitrage when price can differ in Sweden from 0.01€ at night and up to 0.80€ at daytime. Those days I want to manually choose the discharge speed as well - as it can be more effective to do a higher discharge then only Self Consumption.
Otherwise I normally always charge batteries full every night and switch to Self Consumption (Automatic Mode) at around 8 AM as my 40kWh battery the lasts all day. (The charge f from the grid for transport of every kWh is just below 0.1€ where I live).
Skickat från Outlook för iOS<https://aka.ms/o0ukef>
…________________________________
Från: stefan ***@***.***>
Skickat: Sunday, January 5, 2025 11:24:16 PM
Till: weltmeyer/ha_sonnenbatterie ***@***.***>
Kopia: Johan Schelin ***@***.***>; Author ***@***.***>
Ämne: Re: [weltmeyer/ha_sonnenbatterie] Feature request for actions (Issue #74)
Ok, understood. And what's your usage scenario here? In other words: when and why do you "pre-set" charge and discharge values and when do you actually charge/discharge the battery?
—
Reply to this email directly, view it on GitHub<#74 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APTUQJXBYBQZUZQCT7GGXWT2JFMDBAVCNFSM6AAAAABUT4W77OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZRGY3TSMRWGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@johanschelin Thanks, I got a clearer picture now and also that's a very interesting usage scenario. I'll see what I can do there. That said:
This sounds like a good usage scenario for the ToU-Mode of the Sonnenbatterie since it allows you to not only define a charging window but with the Also that doesn't solve these other points:
I'd be interested in your helper functions there ;)
Ok, this will need some more helpers but I can see how this is attractive for you. Where dou you get the daily prices from? I assume you have some kind of flex tarrif that you can query and store in Home Assistant?
On a side note: maybe you want to have a look at evcc for chaging your car. |
Sorry for slow response - am on vacation :) I will test ToU and see if that solves that specific need - thanks. To live calculate the remaining time of charge or discharge I use this template: {% set charging_power = states('input_number.chargepower_10p') | float %} {% if charging_power > 0 %} For prices during the day I use Nordpool that gives me tomorrows prices at around 1PM. Tibber manages my car charging at the moment but I'm thinking of changing to EMHASS (will also check EVCC) to be able to control the scheduling more exactly in HA. |
Signed-off-by: stefan <[email protected]>
If/when you're going to test the PR version I just submitted, I'd be very interested in learning whether I git the limits for the sliders right. You seem to have two instances of a SonnenBatterie and the integration should automatically determine the inverter limits for charging/discharging for the sliders. Let me know how this works for you. |
Excellent Stefan! Will test as soon it is published and come back with results 👍 |
@johanschelin: I have a question regarding your installation. You seem to have two batteries. How much capacity do they have? Thanks for your help! |
Awesome that we got actions in this version - 👏👏 - now I can remove some of my shell commands and tidy up my conf.
This is just suggestions for more improvements.
Would be nice if we could use input.number helpers as values for charge and discharge as alternative to manually input. (I use this today in my automations based on the amount of time that is cheap).
Also we could create a “Operating mode” as a Select option directly in the integration?
Again - thanks for an awesome integration
The text was updated successfully, but these errors were encountered: