in your Config you have to add âautomation.â to your automation_id Parameter. So it should be âautomation_id: automation.pv_excess_optimizer_infrarotheizungâ
I had the same problem in the beginning a few days ago, now the script works but it does not exactly what i would expect it to do. It reacts very slow, so increments the current for the loads just a bit evertime it gets triggered. (Eg 0.1 A every 5 Minutes) have to take a deeper look into the code.
Iâve used this automation for years, but always found it a little tricky to re-order things and ensure that Iâve specified the grid exactly the same in all the automations etc. Iâve been working on an add-on to try replicate some of this functionality here. Thanks for the inspiration! I hope someone else finds this useful too. I plan to keep improving it for a while starting with adding support for a home battery
Really great work. Looking forward for the support of a home battery and maybe solcast and it will be a really great add-on to control the whole energy.
[14:54:42] ERROR: Got unexpected response from the API: Service not enabled
s6-rc: warning: unable to start service init-phpmyadmin: command exited 128
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
FYI, this project has effectively been abandoned by its developer (âInventocasaâ, @HenrikW on Github, who says he doesnât have enough time to keep up with it), with 5 pull-requests ignored for nearly 1 year, and many bug reports and feature requests unanswered.
The good news: 2 other developers, @Nikorusti & @Kolbi on Github, have forked it and are keeping their forks mostly in-sync, and have added several popular feature requests. Iâve replaced the original with @Nikorustiâs, and it works well.
Note: For Fronius Wattpilot users, you might have difficulty with the pyscript not able to start/stop charging (although it will ramp recharge-rate up & down fine, if you manually start the Wattpilot), possibly because thereâs been substantial updates to the (unofficial) Fronius Wattpilot integration recently
Hello there, I am using this now for a longer time. Works fine, just abweek ago I found the ânew, updated version of the blueprintâ. Thx a lot for this work
I even managed to get my bitcoin miner running with an HACS Integration and PV Excess with dynamic current
Now - zero costs for mining, and its adjusting the power limit up and down (made some helpers and automation).
Greatđđž
So guys - thanks - keep on with this wonderful thing.
Hello,
Thanks for the information, im now using the nicorusti fork and works as working the original.
But i have a question. recently I installed a battery in my setup.
I use this automation for start the pool pump.
now, the pump never start until the battery charge at 100%, i think is because the export power is so low until the battery is chaged.
exist the way that the pump start and the battery charge more slow?
thanks
EDIT: i use a fronius gen24 primo with the âfronius modbusâ integration.
I someone have this hybrid inverter can share how he setup this blueprint?
with combined âexport power and load powerâ or with âcombined import/export powerâ
I I have been using the InventoCasa script/blueprint for years without any hassle â it has been running very reliably for my setup. However, after reading about the recent improvements and optimizations in the new fork by Nicorusti, I am considering switching to this actively maintained fork.
Has anyone here already made the switch?
What are your experiences regarding stability, new features, and migration effort?
Would you recommend moving to Nicorusti, or are there any caveats I should be aware of?
You can upgrade to nicorustiâs version without any change. Just update the two files and restart HA. Also downgrading should be an easy option if necessary just replace the two files again, restart HA and maybe save the automations again to be sure.
Hello.
the min home battery level (end of day) is 90%.
The min home battery level (to start) is disable. (maybe this is the problem???)
the solar_production_forecast (remaining) its a sensor that show the remaing. example: now is 34kw/h. and now the battery is charging at 60% with a charge of 2kw/h and the automation not launch the pool pump.
the solar production forecast for the current hour is empty
I think this is not a issue and maybe its may fault in this setup. Its correct to open a issue in my case?
So gthe current goal is to charge the battery⌠but beside the 2kw/h charging I think you still have enough excess? Otherwise 34kw couldnât be achieved I guess.
Iâm not sure how the logic currently is handling it, because charging maybe is limited to 2kw?
It should charge the battery with full power and if still excess allow other automations to start.
But please also add a debug log file with the lines from the âcustom_components.pyscriptâ lines.
Edit:
I would expect a line like this in the debug:
log.debug(
f"{inst.log_prefix} Home battery charge is sufficient ({home_battery_level}/{PvExcessControl.min_home_battery_level} %)"
f" OR remaining solar forecast is higher than remaining capacity of home battery. "
f"Calculated average excess power based on >> solar power - load power <<: {avg_excess_power} W"
)
Or:
log.debug(
f"{inst.log_prefix} Home battery charge is not sufficient ({home_battery_level}/{PvExcessControl.min_home_battery_level} %), "
f"OR remaining solar forecast is lower than remaining capacity of home battery. "
f"Calculated average excess power based on >> export power <<: {avg_excess_power} W"
)
Hello.
When i write the other post. its 9:00am hours in spain. so its to early. the battery charged at 90% aprox 3 hours later.
At 9:00 the production its low (2kw/h) but it will increase during the day. because the battery allow more that 2kw/h of charge.
so i think the problem is easy, and you resolve my doubt.
âIt should charge the battery with full power and if still excess allow other automations to startâ
I thought it worked another way.
I thought that knowing there was an estimated production of 3kw during the day, even if there were no excesses because the battery was charging, it would still run the pool pump, because I would have the assurance that there would be time to charge the battery.
Two examples:
Example 1: how it works right now: first it charges the entire battery (it takes 2 hours to charge) and then it turns on the pool pump.
Example 2: what I wrongly believed: while it charges the battery, it also turns on the pump (the battery takes 4 hours to charge).
So my question is resolved!. THANKS A LOT!!! you reply was very usseful!!!
@zlakes01 , @Garfield2108 and @markusmazurczak how did you guys solve the topic of setting current? I see that Markus used a helper as a number, but how did you combined everything?