Replies: 2 comments 10 replies
-
Hi @nfocke , actually this project started off allowing control of the hub directly from HA. You can find that in my old “solarflow” project. However we might consider bringin a basic control only of the hub at some point. Taking the hub offline and reporting to your own MQTT is not dangerous, it will allow you to realize an automated full control by sending MQTT commands from HA (the current firmware also switches SF output a lot faster and precise as begore). You can find some documentation in my “solarflow” repo or even in this sourcecode. |
Beta Was this translation helpful? Give feedback.
-
The SF_PRODUCT_ID 73bkTv is for the Solarflow Hub 1200. The Hub 2000 will most likely have another one… I‘m using solarflow-control with an hoymiles inverter (HMT-2250-6T) + OpenDTU, but I‘m not limiting my Inverter in any way. |
Beta Was this translation helpful? Give feedback.
-
Dear Reinhard,
thanks for the great work here. I think, this is an important contribution making SolarFlow do what it should do... (interesting that Zendure seems to follow this repo ;))
I have a somewhat different setup, but I think it is not so uncommon in Germany.
Concretely, I have a Deye SUN 600 Inverter (hence, no OpenDTU, no direct control of inverter input/output) and a PowerFox smartmeter interface. Both are working okay with Homeassistant for visualization purposes, but, as you know, given the current Zendure MQTT implementation do not allow controlling power-to-home. Actually, it would be probably most straight-forward to use Homeassistant automation/scripts/... to allow SolarFlow control, but this is out of our hands [enough Zendure-bashing for now ;]
My question is: will your control script(s) be working in this situation? I.e. is the SolarFlow output-to-home fully enabled in the current version?
Going through the code, I have some doubts.
The main loops calls:
In limitHomeInput
Would this not stop execution is inv.ready() is not set / no DTU available?
I see there is a src/solarflow/solarflow.py, but it does not seem to be called as replacement for the inverter-based limit. Mabye I am missing something here.
Unrelated, but maybe relevant. In solarflow.py,
SF_PRODUCT_ID seem to be hard-coded (probably your ID). Shouldn't this take the globally set ID?
Reasons why I am asking: it feels a bit risky to bring the Hub to "offline" mode (which is needed for the control script to work as far as I understand) only to find out that it does not work in my scenario... ;)
Beta Was this translation helpful? Give feedback.
All reactions