Replies: 7 comments 16 replies
-
Hey @Noiders, thanks for reaching out! I've shied away from implementing write access so far because it has the potential to damage the battery. Given how "bare-bones" the inverter firmware seems to be I don't have much confidence that it would appropriately guard against dangerous settings. I'd consider it more readily if there was official, public documentation for the inverter's API. Without it I just don't have the confidence that this integration would remain harmless to the average user. Do you have any idea how to resolve that tension? |
Beta Was this translation helpful? Give feedback.
-
Hi @weltenwort, I've been doing some (messy) programming in Python and have been able to control the battery with these 2 settings. All i can add is: this works and did not lead to any issues. I've even send out of bound values for battery charging and the inverter corrected it itselve. So on that part I don't expect any issue. I've also have been in contact with RCT, but as you probably know, they refuse to deliver any support.
In Belgium we are as of 1/1/2023 charged on how much we stress the grid. Each month Fluvius (the company that monitors the grid) writes down your peak load over 15 mintues. In the end of the year an average over 12 months is taken and you'll have to pay a tax for that. So, beïng able to limit the maximum load on the grid and use the battery as a buffer, the lower the tax will be. Frankly this is an option allready available in multiple brands and is refered to as Peak Shaving. RCT is not offering this option and will not program it. Next to that, I would also want make use of hourly pricing for energy. Every day right before 14:00 (2PM) the prices of electricity for the next 24hours is posted. I would then have my Battery (especialy in winter) charge full during the night, when prices are low. I allready have this info in my Home Assistant. I also can control the charging of my EV using Home Assistant. So having all this info allready in Home Assistant it would make it alot easyer to link the info into actions using NodeRed. So, unfortunately, I cannot resolve that tension. All I can offer is a live testing environment. And sharing of knowledge once I have the configuration for Peak Shaving and (lets call it ) Price shaving up and running. Most probably we would be able to limit the variables we can write back to the inverter and that way make sure we only publish what we have tested to work? thanks for considering. |
Beta Was this translation helpful? Give feedback.
-
Thanks for explaining the use case. It makes a lot of sense and I'd love to support energy-efficiency initiatives like that. I like that your approach uses the external producer feature, which by design should be built to interface with potentially unreliable third-party devices. It doesn't sound as risky as I initially thought as long as we are selective about which write entities we expose. And we could mark them as being disabled by default in Home Assistant so it's less likely that someone will tinker with them unintentionally. Now there's only the matter of finding the time to implement it. I don't have a lot of spare time currently, but that doesn't mean I wouldn't pick it up in the future. If I were to implement it I would probably expose That should allow for usage in an automation as you describe it, right? |
Beta Was this translation helpful? Give feedback.
-
@Noiders In fhempy the implementation was done in November. power_mng.battery_power_extern and power_mng.soc_strategy can be set accordingly, and when I read the values afterwards they are set as expected e.g. "2" for power_mng.soc_strategy and "-1000.00" for power_mng.battery_power_extern to force loading the battery with 1000W. However, for me it does not work. Yes, the battery starts charging even though the power_mng.soc_min (0.70) was already reached, that's fine, but it is not charging from grid. It only charges the energy currently available from the PV panels. Is there something else to do? Can you advise your firmware versions (inverter and bms)? |
Beta Was this translation helpful? Give feedback.
-
Hi! It works now. Of course one need to enable "external energy" in general, to make it work. Furthermore the battery SOC level needs to be above SOC min. Otherwise external charging is limited to power_mng.soc_charge_power, wich is 100W by default. Above SOC min power_mng.battery_power_extern is used as expected :-) |
Beta Was this translation helpful? Give feedback.
-
It would be very helpful to be able to set batt_soc_min via the integration. I just keep my fhempy running because of the soc management I have implemented there. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've been experimenting a bit with rctclient repo and found a way to somewhat control the inverter so I can better control the grid input/output and battery charge/discharge. Problem is I am a complete novice at programming Python and looking at the code you wrote to integrate it with Homeassistant I get completely lost.
As of now, there's only the reader part. I was wondering if we could add 2 enteties for writing. Followin entities from the rctclient.registry are writable:
with this you can externaly control the battery charge/discharge. And by doing calculations, you can control gridload.
with this, you can set the SOC control to 2 (External) so that the previous entity can control the battery charge.
thanks for looking into this
N.
Beta Was this translation helpful? Give feedback.
All reactions