SMA Solar Integration

@bertreb Ok thats great info, I never realised that EM data was included into the inverter entity list.

If you look for grid_power that should be the sum of your a and b array
Screen Shot 2022-02-17 at 4.27.37 pm
Screen Shot 2022-02-17 at 4.27.32 pm

thanks for the info!

Hello everyone,
I am trying to add the SMA Solar integration but I get “Failed to connect”.
The host, group and password is correct and I tried all the combinations for SSL, and verify SSL.
Is this a known bug? Can anyone help?

Thanks

Same here.

Hello, are you sure that your device does not communicate via modbus then the integration does not work.

Hello,

I also have an SMA PV system with two inverters, an energy meter and a home manager.
I would be very happy if someone would explain to me exactly what I have to enter into the SMA integration from which device. There are only a few fields to fill out, but I can’t do it.

The energy meter and the home manager can be found in my network and have an IP.
As far as I know, the inverters communicate via Bluetooth and have no IP.
Eg I use: Sunny Boy 2500TL
By the way: I also have access to the “Sunny Portal” online platform, can I integrate it?

Thanks for any help.

Greeting Werner

Hallo,

ich habe auch eine SMA-PV-Anlage mit zwei Wechselrichtern, einem Energiemeter und einem Homemanager.
Ich wĂŒrde mich rießig freuen wenn mir jemand erklĂ€ren wĂŒrde, was ich genau von welchelm GerĂ€t in die SMA-Integration eintragen muss. Es sind zwar nur wenige Felder auszufĂŒllen, jedoch bekomme ich es nicht hin.

Das Energiemeter und der Homemanger sind in meinem Netzwerk zu finden und haben eine IP.
Die Wechselrichter kommunizieren, soweit ich weiß, per Bluetooth und haben keine IP.
Z.B. verwende ich: Sunny Boy 2500TL
Achso: Ich habe auch Zugriff auf die Online-Plattform “Sunny-Portal”, kann ich diese evtl. einbinden?

Danke fĂŒr jede Hilfe.

Gruß Werner

Hello Werner,

what is possible from my experience is the integration of the SMA Energy Meter. This is possible via the SMA Solar Integration (SMA Solar - Home Assistant). All i needed was the user | password | and IP adress (host). I uses the setup shown in post #34. But i stoped using the configuration in the configration.yaml. I use the Integration directly. No modbus and what ever is needed.

It is also possible to read the yield of the inverter via Bluetooth. At least this works for me with the Sunny Boy 2500 HF (GitHub - habuild/hassio-addons: Home Assistant addon using SBFspot Bluetooth SMA inverters) [base is a Raspi4 with HassOS.

Frank

1 Like

If you try that with 2 inverters and need help, give me a yell. I haven’t tested it for 2 inverters. I think you can comma, , separate the BT addresses.

1 Like

Hello,

Thanks for the answers.
HatQT Unfortunately, the Bluetooth version is too complex for me.
trop I tried - unfortunately without success. Tried the combinations: user 0000 with password 1234 and user 1111 with password 5678.
I always get the message “Connection failed”.

Greeting Werner

Hallo,

danke fĂŒr die Antworten.
HatQT Die Bluetooth-Variante ist mir leider zu aufwendig.
tropfen Habe ich versucht - leider ohne Erfolg. Habe die Kombinationen versucht: Benutzer 0000 (user) mit Passwort 1234 und Benutzer 1111 (installer) mit Passwort 5678 .
Es kommt immer die Meldung “Verbindung fehlgeschlagen”.

Gruß Werner

1 Like

are you sure that the password is correct? Please ask the installer. And do not publish passwords here. Does the password allow access via browser?

bist du sicher das das Passwort korrekt ist? Bitte den Installateur danach fragen. Und Passwörter nicht hier veröffentlichen. Geht mit den Passwörtern der Zugriff via Browser?

So the energy meter has no browser interface. I got the user data from the internet / user manual. Unfortunately, my installer can’t remember.
I solved it like this now:

Greeting Werner

Hello all,

the new SMA Tripower SE (Smart Energy) do not work with the integration. Does anyone have a solution to this?

Best regards

1 Like

I have several SB inverters and use this integration to track energy produced. I occasionally have issues with one of the inverters not starting up in the morning due to too low a Insulation Resistance value.

I would like to add tracking that value to my Grafana dashboard I created for my SMA inverters, but that sensor is not currently part of this integration. I put in a feature request and one of the developers added it to the following branch:

He told me to “checkout the branch and test with example.py”.

Does anyone have any tips on what the steps would be to do that?

Thanks!

The solution was to just run this on any linux host:

git clone -b isolation_resistance https://github.com/rklomp/pysma.git
cd pysma
python3 example.py

You may to install pip and a couple of other things, but it will prompt you to do so if that is the case.

Thanks

Don’t understand all yours connections? Which ethernet cable connected from what to what?
Thanks in advance

The SMA EM is connected via an ethernet cable to my local LAN switch. The SMA inverter is also connected via an ethernet cable to the same local LAN switch. The LAN switch is connected to the internet gateway / local LAN dhcp server.

Ok thanks. How did you connect the inverter AND the EM to HA. SMA intégration *2?

I used the HA build-in SMA integration and used only the inverter IP address.
The SMA EM is automatically detected and added by the inverter.

Did you used the user or installer account for the SMA integration?