Ich habe noch aktuell wahrscheinlich ein leichtes Verständnisproblem und eventuell könnt ihr mir bei der Lösung helfen.
Ich bin im Besitz von zwei SMA Wechselrichter (Sunny Tripower STP 9000TL-20 + 8000TL-20), welche beide per LAN angebunden sind und der Modbus-Dienst ist aktiviert.
Bisher ist ein SolarLog 1200 zusätzlich mit dabei. Darüber wird ein Heizstab anhand des aktuellen Ertrags gesteuert.
Der SolarLog futtert nur SD-Karten im 2-Jahres-Takt und das Ding wieder in Gang zu bekommen ist jedes mal nervig.
Da habe ich gesehen, das man mit OpenHAB die SMA Wechselrichter per Modbus anbinden kann.
Die aktuellen Lösungen in Code-Beispiele funktionieren allerdings mit OpenHAB 3 nicht mehr oder nicht mehr so wie angedacht.
Daher meine Frage: Welche Bindings brauch ich, damit ich die Werte auslesen kann und wie muss ich diese Konfigurieren?
Hello OpenHAB forum!
I still have currently probably a slight understanding problem and maybe you can help me with the solution.
I am in possession of two SMA inverters (Sunny Tripower STP 9000TL-20 + 8000TL-20), which are both connected via LAN and the Modbus service is activated.
So far, a SolarLog 1200 is also included. Over it a Heating element is controlled on the basis of the current yield.
The SolarLog only eats SD cards in a 2-year cycle and to get the thing going again is annoying every time.
Then I saw that with OpenHAB you can connect the SMA inverters via Modbus.
However, the current solutions in code examples no longer work with OpenHAB 3 or not as intended.
Therefore, my question: Which bindings do I need so that I can read the values and how do I configure them?
You just need to install the modbus binding and configure your Things / Items.
Items, Thing configuration (-files) here from OH2 should also work with OH3.
Fist you may want to try it with SunSpec see here:
@Tuny Perfect!
That was the info I had not found.
But with the information I can only read the AC side, at DC comes only UNDEF.
Are there other IDs there?
I am not sure what values are supported with SunSpec.
I am using the “normal” modbus pofile from SMA.
The configuration I also copied form other topics in the forum here. This should also fit for you I think. You just have to rename them (.items, .things, .sitemap) and put them into configuration folder. Set the right IP in the things file. sma_items.txt (5.7 KB) sma_things.txt (4.5 KB) Wechselrichter_sitemap.txt (1.3 KB)
That looks very good so far.
The data is now coming in.
Now I just have to adjust the names of all the objects a bit, so I can tell both inverters apart.