SMA EnergyMeter 4x

Hy Basha,
I try, but It doesn’t work.

First of all:

  • I run Win10 in a Virtual Maschine (VirtualBox)
    (A new one only for this test)
  • Install Java SE 8u112
  • Download openhab-offline-2.0.0-SNAPSHOT.zip
  • Unzipp and Copy to c:/openHAB
  • Run

First message:
karaf.bat: Ignoring predefined value for KARAF_HOME
(Some Weeks ago there wasn’t this problem)
But it works also.

In openHAB I can’t find the folders you mentioned.
So I do your suggestion in Paper UI.
But the result is the same then I use the binding.

I thing the bigest problem is, I can’t find the folder.
Thre is something different.
Also if I use the eclipse development, there are not the folders I expect.
Maybe this is the diference between openHAB 1 and 2.

Regards
LawMower

Hi LawMower,

regarding the folders locations please have a look in the documentation, i.e. here:
http://docs.openhab.org/installation/linux.html#file-locations

Regards,
Osman

@monnimeter Should my SMA bluetooth PV monitor work with this binding?

Hi @Andrew_Pawelski.
This binding is for the SMA Smart Meter. This device is connected to the LAN.
Regars, Osman

OK thanks - any ideas if ther is abluetooth binding for SMA PV monitoring?

AFAIK there is no Bluetooth binding for SMA inverters.
I’m using sbfspot - a command line tool which reads the data from the inverter.
Here is an example how to do it:

Hy Monnimeter,
there is no folder described in the documentation.
I can’t find the folder on the Windows system.
There is only
C:\openHAB
C:\openHAB\addons
C:\openHAB\conf
C:\openHAB\runtime
C:\openHAB\userdata

[Das Bild wurde vom Absender entfernt.]

monnimeterhttps://community.openhab.org/users/monnimeter Osman Bashahttps://community.openhab.org/users/monnimeter
December 11

Hi LawMower,

regarding the folders locations please have a look in the documentation, i.e. here:

Regards,
Osman

Hello Monnimeter,
I am new with OH2 and try to use your binding for only 1smaenergymeter!
How to implement this in my UI? Also was muss in der Items Datei eingetragen werden??
Sorry for my German sentens… :slightly_smiling_face:
Best regards Andy

Hi Andy,

sorry for the late response - I was on vacation :slight_smile:

This is how my items file looks like:

// SMA Energymeter
Number			PV_Power_In				"Bezogene Leistung"							<energy>			(PV, PV_Power_Chart)	{ channel = "smaenergymeter:energymeter:1900234999:powerIn" }
Number			PV_Power_Out			"Eingespeiste Leistung"						<energy>			(PV, PV_Power_Chart)	{ channel = "smaenergymeter:energymeter:1900234999:powerOut" }
Number			PV_Energy_In			"Bezogene Energie"							<energy>			(PV)					{ channel = "smaenergymeter:energymeter:1900234999:energyIn" }
Number			PV_Energy_Out			"Eingespeise Energie"						<energy>			(PV)					{ channel = "smaenergymeter:energymeter:1900234999:energyOut" }

Give it a try!

Best regards,
Osman

Hey Osman,

it work… thanks a lot! :smiley:

Best regards!

1 Like

Nice! :+1:

Hello @monnimeter Osman.

first of all, sorry for hijacking this topic, but it’s kinda related, but I looked on the forum, but think this is the only post which referred to pvouput with both sma inverter and energy meter invoked

I read that you use sbfspot to read out your PV installation as well, uploading to PVoutput, and you have an energy meter as well .

I got a question regarding, I’ve got the same setup (sma inverter uploading to pvoutput through sbfspot), is there a way we can upload the data from sma energy meter to pvoutput through openhab ?

Thanks in advance

Hello Dirk.

I’m using sbfspot, but I’m not uploading to pvoutput (at least not yet :slight_smile:).

Acutally, there’s no openHAB add-on for pvoutput integration.

One way would be to do the integration on operating system level (i.e. bash scripting) or one could give the http-binding a try (it supports both get and post requests). This is a kind of a “Jugend forscht” project :smiley:

Best regards,
Osman

Hmm, that’s way out of my league I’m affraid :frowning:

Hi @monnimeter

I just managed to install your binding, but nothings showing ? it detects the sma em itsself, but nothing else, am I missing anything here ?

I see it under configuration, things, i see my serialnumber there, but no data or whatsoever ?

what I wanted to see was if I could use that data to store it in an influxdb ? and afterwards make is visible with grafana ?

Hi @broke23 ,

did you add some items and link them to the things channel?

Here’s an examle:

Number	PV_Power_In		"Bezogene Leistung"		<energy>		(PV)	{ channel = "smaenergymeter:energymeter:1900234600:powerIn" }
Number	PV_Power_Out	"Eingespeiste Leistung"	<energy>		(PV)	{ channel = "smaenergymeter:energymeter:1900234600:powerOut" }
Number	PV_Energy_In	"Bezogene Energie"		<energy>		(PV)	{ channel = "smaenergymeter:energymeter:1900234600:energyIn" }
Number	PV_Energy_Out	"Eingespeise Energie"	<energy>		(PV)	{ channel = "smaenergymeter:energymeter:1900234600:energyOut" }

You should replace the number 1900234600 with the serial number of your energy meter (it also shows in the Paper UI).

Give it a try :slight_smile:

Regards,
Osman

Thanks for the answer @monnimeter

Serial was there :slightly_smiling_face:

but seems i had to click on the big O infront of each line, now it’s showing … :slight_smile: didn’t know that (stupid me)

now that I have that available.

trending_upPurchased energy
trending_upGrid feed-in energy

do the 2 above come from the time the em started monitoring ?

is this writing away data anywhere ? or can I set this up myself ?
and can we add more things (reference http://www.eb-systeme.de/?page_id=1240)

already big thanks for this addon!!!

Hello Mr. Basha,

Nice greetings from Kassel!
I’m using your openHAB2 SMA EnergyMeter binding as well and my question do you plan to support more outputs in near future?
For example the daily In/Output Power

Best regards,
Korty

@monnimeter I have as well a setup with 2 energy meters and tried to define both in the thing-file. But finally it does not work.

The binding just discovers one meter and no matter what I do, the things are connected to the discovered one:

image

The items then jump between the two meters according interval-setting. In other words the binding can measure from this two meters but cannot split the values to different items (serial numbers)

Any ideas how I can solve this?

Thanks
Michael

1 Like

I have the same problem.
Is there already a solution.

br
Maik