German version below
Hello,
here is an experience report that I would like to share with you.
I have a Growatt Noha 2000 balcony power station storage unit. Since there is a Growatt binding for openHab, I thought it would not be a problem. But it was.
As you can read in this growatt noah 2000 battery with other brand inverter · johanmeijer/grott · Discussion #560 · GitHub discussion, the Noha 2000 does not work with grott (see GitHub - johanmeijer/grott: Growatt inverter monitor), which is necessary for the binding.
While searching the internet, I found a project on github that is intended for connecting the Noha 2000 to HomeAssistant GitHub - mtrossbach/noah-mqtt: A tool for integrating Growatt Noah 2000 home batteries with Home Assistant via MQTT, enabling monitoring and control of your energy storage system.. This enabled me to integrate the Noha 2000 from Growatt into openHab and also to control it.
What works:
-
All available values are displayed and can be processed.
-
The standard output power can be controlled.
-
The upper and lower charging limit of the memory can be set.
What does not work:
- The adjustable schedules for the output power cannot be viewed or adjusted. This is only possible via the manufacturer app .
My system:
Ubuntu 24.04 LTS, 32 GB RAM, i5-8400 CPU 2.8Ghz, with openHab 4.3
That’s what I did.
I installed the MQTT broker Mosquitto according to the instructions for Ubuntu Download | Eclipse Mosquitto. Then I added the values “listener 1883” and “allow_anonymous true” to mosquitto.conf.
I copied noah-mqtt as a prebuild binary to my server https://github.com/mtrossbach/noah-mqtt#option-2-downloading-and-running-a-prebuilt-binary.
I initialized the Growatt Noha 2000 with the manufacturer app, because the account data is needed for noha-mqtt.
In openHab I installed the add-ons Mqtt Binding, Javascript, JSONPATh and Jinja transforms.
Then start mosquitto, if not already done.
Then in openHab add the Thing MQTT Binding > Mqtt Broker (Bridge), which connects it to Mosquitto.
If noha-mqtt is now started with the environment variables, the Noha 2000 should appear in the inbox in openHab. That was the case for me.
Now it can be added as a Thing and the channels provided by the device can be linked.
It took me a while for the channels to appear. Thanks again to the helpers in my question Creating channels from MQTT Config Topics.
What is not quite running smoothly so far is that noha-mqtt is difficult to start with the environment variables. It works manually in the console. But as an automatic program in the background it is difficult, as it has crashed before.
I have now solved it with two scripts. One that starts noha-mqtt with the variables and a cronjob that checks every 10 minutes whether it is still running and if not, it is restarted. I am not a computer scientist and everything that has to do with scripts and programming languages are big challenges for me. I might also need help to control the Noha 2000 together with the SmartMeter. Then I could adjust the output power so that I get a zero feed-in.
German
Hallo, hier ein Erfahrungsbericht, den ich mit euch teilen will.
Ich habe einen Growatt Noha 2000 Balkonkraftwerk-Speicher. Da es eine Growatt Bindung für openHab gibt, dachte ich, das sei kein Problem. War es aber.
Wie in dieser growatt noah 2000 battery with other brand inverter · johanmeijer/grott · Discussion #560 · GitHub Diskussion zu lesen ist, funktioniert der Noha 2000 nicht mit grott (siehe GitHub - johanmeijer/grott: Growatt inverter monitor), welches für das Binding aber notwendig ist.
Bei einer Suche im Internet fand ich noch ein Projekt auf github, welches zu Anbindung des Noha 2000 an HomeAssistant gedacht ist GitHub - mtrossbach/noah-mqtt: A tool for integrating Growatt Noah 2000 home batteries with Home Assistant via MQTT, enabling monitoring and control of your energy storage system.. Damit habe ich es geschafft, den Noha 2000 von Growatt in openHab einzubinden und auch zu steuern.
Was geht:
Alle verfügbaren Werte werden angezeigt und können verarbeitet werden.
Die Standardausgangsleistung kann gesteuert werden.
Das obere und untere Ladelimit des Speichers kann eingestellt werden.
Was nicht geht:
Die einstellbaren Zeitpläne für die Ausgangsleistung können nicht angesehen oder angepasst werden. Das geht nur über die Herstellerapp .
Mein System:
Ubuntu 24.04 LTS, 32 GB RAM, i5-8400 CPU 2,8Ghz, mit openHab 4.3
Das habe ich gemacht.
Ich habe den MQTT Broker Mosquitto nach Anleitung für Ubuntu installiert https://mosquitto.org/download/. Dann habe ich die mosquitto.conf um die Werte "listener 1883" und "allow_anonymous true" erweitert.
Ich habe noah-mqtt als prebuild binary auf meinen Server kopiert https://github.com/mtrossbach/noah-mqtt#option-2-downloading-and-running-a-prebuilt-binary.
Ich habe den Growatt Noha 2000 mit der Hersteller App Initializiert, da die Account Daten für noha-mqtt gebraucht werden.
In openHab habe ich die AddOns Mqtt Binding, Javascript, JSONPATh und Jinja transforms installiert.
Dann auf mosquitto starten, wenn nicht schon geschehen.
Dann in openHab das Thing MQTT Binding > Mqtt Broker (Bridge) hinzufügen, die sie an Mosquitto anbindet.
Wenn jetzt noha-mqtt gestartet wird, mit den Umgebungsvariablen, dann sollte der Noha 2000 in der Inbox in openHab auftauchen. Bei mir war es so.
Nun kann er als Thing hinzugefügt und die Kanäle, die das Gerät bereitstellt, können verlinkt werden.
Bei mir hat es etwas gedauert, bis die Kanäle erschienen sind. Danke noch einmal an die Helfenden in meiner Frage Creating channels from MQTT Config Topics.
Was bisher nicht ganz rund läuft, ist, dass noha-mqtt mit den Umgebungsvariablen schwer zu starten ist. Von Hand in der Konsole geht es. Aber als automatisches Programm im Hintergrund ist es schwierig, da es auch schonmal einfach abgestürzt war.
Ich habe es jetzt mit zwei scripten gelöst. Eines, welches noha-mqtt mit den Variablen startet und einen cronjob der alle 10 Minuten schaut, ob es noch läuft und wenn nicht, wird es erneut gestartet. Ich bin kein Informatiker und alles, was mit Scripten und Programmiersprachen zu tun hat, sind große Herausforderungen für mich. Da könnte ich auch noch Hilfe benötigen, um den Noha 2000 zusammen mit dem SmartMeter zu steuern. Dann könnte ich die Ausgangsleistung anpassen, sodass ich auf eine Null-Einspeisung komme.