multi inverter configuration - Raspberry Pi

Topics: 1. General, 2. Documentation
Feb 23, 2015 at 3:54 PM
Hello!
I have a Poblem .
First of all thanks to all for your good work !!
I've taken to run a test system with one inverter and a Rasberry Pi .
The Syncronisation including sbfspot 3.03 and pvoutput.org running perfectly for several days .

Now I would like to receive the 2nd inverter with .

Where can / must I now enter the 2nd Bluetooth address or how should I proceed ?
thx!
Coordinator
Feb 24, 2015 at 8:21 PM
Enable "Multiple Inverter Support" in your SBFspot.cfg:
BT address of 1 inverter
MIS_Enabled=1
If all goes well, you'll get the data of both inverters in the db and/or csv files
In SBFspotUpload.cfg enter the Serial to PVOutput SystemID mapping
PVoutput_SID=SerialNo_1:SID_1,SerialNo_2:SID_2
So, you need 2 systems defined in PVOutput; each inverter serial nr is mapped to its own PVOutput SID
Apr 1, 2015 at 4:45 PM
Hello!
Thanks!!
I have done both things.
Unfortunately, without success. There is always transmitted only one inverter according to PVoutput. either one or the other.
???
Coordinator
Apr 1, 2015 at 9:32 PM
Have you defined 2 systems in PVOutput?
Can you post some files (csv file with day data, .cfg file, logfile)
Apr 11, 2015 at 10:40 AM
Edited Apr 11, 2015 at 10:41 AM
thx.

yes, I've 2 system id's.

pi@raspberrypi ~ $ /usr/local/bin/sbfspot.3/SBFspot -v -finq -nocsv
SBFspot V3.0.3
Yet another tool to read power production of SMA solar inverters
(c) 2012-2014, SBF (https://sbfspot.codeplex.com)
Compiled for Linux (LE) 32 bit

Commandline Args: -v -finq -nocsv
Reading config '/usr/local/bin/sbfspot.3/SBFspot.cfg'
Fri Apr 3 20:41:14 2015: INFO: Starting...
sunrise: 07:15
sunset : 20:16
Connecting to 00:80:25:21:B2:9A (1/2)
Initializing...
SUSyID: 125 - SN: 956281488 (0x38FFB290)
SMA netID=01
SUSyID: 128 - SN: 2110288888
BT Signal=78%
Logon OK
Local Time: 03/04/2015 20:41:15
TZ offset (s): 7200 - DST: On
SUSyID: 128 - SN: 2110288888
Device Name: SN: 2110288888
Device Class: Solar-Wechselrichter
Device Type: STP 10000TL-10
Software Version: 02.33.02.R
Serial number: 2110288888
SUSyID: 128 - SN: 2110288888
Device Status: Ok
SUSyID: 128 - SN: 2110288888
Device Temperature: 0.0°C
SUSyID: 128 - SN: 2110288888
GridRelay Status: Information liegt nicht vor
SUSyID: 128 - SN: 2110288888
Pac max phase 1: 10000W
Pac max phase 2: 10000W
Pac max phase 3: 10000W
SUSyID: 128 - SN: 2110288888
Energy Production:
EToday: 53.796kWh
ETotal: 35411.324kWh
Operation Time: 13269.15h
Feed-In Time  : 12818.40h
SUSyID: 128 - SN: 2110288888
DC Spot Data:
String 1 Pdc:   0.000kW - Udc:   0.00V - Idc:  0.000A
String 2 Pdc:   0.000kW - Udc:   0.00V - Idc:  0.000A
SUSyID: 128 - SN: 2110288888
AC Spot Data:
Phase 1 Pac :   0.000kW - Uac:   0.00V - Iac:  0.000A
Phase 2 Pac :   0.000kW - Uac:   0.00V - Iac:  0.000A
Phase 3 Pac :   0.000kW - Uac:   0.00V - Iac:  0.000A
Total Pac   :   0.000kW
SUSyID: 128 - SN: 2110288888
Grid Freq. : 0.00Hz
SUSyID: 128 - SN: 2110288888
Current Inverter Time: 03/04/2015 20:41:13
Inverter Wake-Up Time: 03/04/2015 07:17:29
Inverter Sleep Time : 03/04/2015 19:42:05

  • ArchiveDayData() *

startTime = 551DBBE0 -> 03/04/2015 00:00:00

  • ArchiveMonthData() *

startTime = 551BCFB0 -> 01/04/2015 13:00:00
Reading events: 2015-Apr-01
Fri Apr 3 20:41:17 2015: INFO: Done.

____ ____ _____ _

/ ___|| __ )| | _ __ ___ | |

___ \| _ \| |_ / _| ' \ / _ \| __|

_) | |) | |_ \ |) | () | |

|____/|____/|_| |___/ ./ _/ __|

|_|

SBFspot.cfg - Configuration file for SBFspot.exe

SBFspot - Yet another tool to read power production of SMA� solar inverters

(c)2012-2014, SBF

DISCLAIMER:

A user of SBFspot software acknowledges that he or she is receiving this

software on an "as is" basis and the user is not relying on the accuracy

or functionality of the software for any purpose. The user further

acknowledges that any use of this software will be at his own risk

and the copyright owner accepts no responsibility whatsoever arising from

the use or application of the software.

SMA and Speedwire are registered trademarks of SMA Solar Technology AG

SMA Inverter's Bluetooth address

Windows: smaspot -scan

hcitool scan

IMPORTANT FOR SPEEDWIRE USERS: COMMENT OUT BTADDRESS (PUT # IN FRONT)

BTAddress=00:80:25:1F:92:C8

SMA Inverter's Speedwire IP address

If IP_Address is not set or is 0.0.0.0 SBFspot will try to detect the speedwire inverter by broadcast

If IP_Address is set to a valid IP, SBFspot will try to connect directly to that IP without broadcast detection

IP_Address=0.0.0.0

User password (default 0000)

Password=0000

MIS_Enabled (Multi Inverter Support: Default=0 Disabled)

+------------+-------+-------------+

| #Inverters | NetID | MIS_Enabled |

+------------+-------+-------------+

| 1 | 1 | Don't Care |

+------------+-------+-------------+

| 1 | >1 | 0 |

+------------+-------+-------------+

| >1 | >1 | 1 |

+------------+-------+-------------+

MIS_Enabled=1

Plantname

Plantname=888888

OutputPath (Place to store CSV files)

Windows: C:\Users\Public\SMAdata\%Y

Linux : /home/pi/smadata/%Y

%Y %m and %d will be expanded to Year Month and Day

OutputPath=/home/pi/smadata/%Y

OutputPathEvents (Place to store CSV files for events)

If omitted, OutputPath is used

OutputPathEvents=/home/pi/smadata/%Y/Events

Position of pv-plant http://itouchmap.com/latlong.html

Example for Ukkel, Belgium

Latitude=50.80
Longitude=4.33

Calculate Missing SpotValues

If set to 1, values not provided by inverter will be calculated

eg: Pdc1 = Idc1 * Udc1

CalculateMissingSpotValues=1

DateTimeFormat (default %d/%m/%Y %H:%M:%S)

TimeFormat (default %H:%M:%S)
TimeFormat=%H:%M:%S

SynchTime (default 1 = On)

If set to 1 the Inverter time is synchronised with pc time

Some inverters don't have a real-time clock

SynchTime=1

SunRSOffset

Offset to start before sunrise and end after sunset (0-3600 - default 900 seconds)

SunRSOffset=900

Locale

Translate Entries in CSV files

Supported locales: de-DE;en-US;fr-FR;nl-NL;es-ES;it-IT

Default en-US

Locale=de-DE

Timezone

Select the right timezone in date_time_zonespec.csv

e.g. Timezone=Europe/Brussels

Timezone=Europe/Berlin

BTConnectRetries

Number of Bluetooth Connection attempts (1-15; Default=10)

BTConnectRetries=2

CSV Export Settings

With CSV_* settings you can define the CSV file format

CSV_Export (default 1 = Enabled)

Enables or disables the CSV Export functionality

CSV_Export=1

CSV_ExtendedHeader (default 1 = On)

Enables or disables the SMA extended header info (8 lines)

isep=;

Version CSV1|Tool SBFspot|Linebreaks CR/LF|Delimiter semicolon|Decimalpoint comma|Precision 3

etc...

This is usefull for manual data upload to pvoutput.org

CSV_SaveZeroPower=1

CSV_Delimiter (comma/semicolon default semicolon)

CSV_Delimiter=semicolon

CSV_Spot_TimeSource (Inverter|Computer default Inverter)

CSV_Spot_TimeSource=Inverter

CSV_Spot_WebboxHeader (Default 0 = Off)

When enabled, use Webbox style header (DcMs.Watt[A];DcMs.Watt[B]...)

CSV_Spot_WebboxHeader=0

SQL DB Settings

SQLite

SQL_Database (Fullpath to SQLite DB)

Windows: C:\Users\Public\SMAdata\SBFspot.db

Linux : /home/pi/smadata/SBFspot.db

SQL_Database=/home/pi/smadata/SBFspot.db

MySQL

SQL_Database=SBFspot

SQL_Hostname=<Network Name> or <IP-address>

SQL_Username=SBFspotUser

SQL_Password=SBFspotPassword

SBFspotUpload.cfg - Configuration file for SBFspotUploadService/Daemon

(c)2012-2014, SBF (https://sbfspot.codeplex.com)

DISCLAIMER:

A user of SBFspotUploadService/Daemon software acknowledges that he or she is

receiving this software on an "as is" basis and the user is not relying on

the accuracy or functionality of the software for any purpose. The user

further acknowledges that any use of this software will be at his own risk

and the copyright owner accepts no responsibility whatsoever arising from

the use or application of the software.

Log Settings

Windows: C:\Users\Public\SMAdata\Logs

Linux : /home/pi/smadata/logs

LogDir=C:\Users\Public\SMAdata\Logs

LogDir=/home/pi/smadata/logs

PVoutput Upload Settings

PVoutput_SID

Map inverters to PVoutput System ID's

PVoutput_SID=SerialNmbrInverter_1:SID_1,SerialNmbrInverter_2:SID_2

e.g. PVoutput_SID=200212345:4321

PVoutput_SID=2110288888:35088,2110198888:35089

PVoutput_Key

Sets PVoutput API Key

PVoutput_Key=8a88b2ea8ccc8fe85883dc5ff8d26c788a889369

SQL DB Settings

SQL_Database (Fullpath to SQLite DB)

Windows: C:\Users\Public\SMAdata\SBFspot.db

Linux : /home/pi/smadata/SBFspot.db

SQL_Database=C:\Users\Public\SMAdata\SBFspot.db

SQL_Database=/home/pi/smadata/SBFspot.db

Reserved for MySQL

SQL_Database=SBFspot

SQL_Hostname=<Network Name> or <IP-address>

SQL_Username=SBFspotUser

SQL_Password=SBFspotPassword

Coordinator
Apr 11, 2015 at 6:30 PM
To have your inverters in a network, their NetID have to be 2 or higher
Now the NetId=1 and this is for single inverters only
See the log: SMA netID=01

To change this, you have to open your inverter (or let someone do it for you)
See also the documentation of your device

With the current settings, you will see only one inverter at a time in Sunny Explorer too

More documentation is available online:
http://files.sma.de/dl/8584/BT-TEN100511.pdf
http://files.sma.de/dl/18457/BTPB_E-IUS092910.pdf

Hope this helps
Apr 11, 2015 at 7:45 PM
Hello all,
I have the same problem to upload two converters at the same time.
Both connected with speedwire, with diferent ip adresses in the same ip range.
Each SMA systems have their own PVoutput SID.
In the SBFspot.cfg
I only can put one SMA IP adress this adres will upload to PVoutput.
MIS_Enabled=1

If I change the IP adres to the other SMA converter it will upload to the other PV out ID
Both serial numbers and ID are in the SBFspotUpload.cfg.

Thanks for al help !
Coordinator
Apr 12, 2015 at 9:33 PM
MIS_Enabled is only for Bluetooth devices...
In case not all of your speedwire connected devices communicate with SBFspot, you need a config file for each inverter.
So, run SBFspot multiple times with -cfg argument for each inverter, with each config having its own inverter's IP address
Apr 13, 2015 at 7:56 PM
Thank YOU! After Setting SMA netID higher 1 at both Inverter it works well !! Tank YOU SBF !
May 1, 2015 at 3:05 PM
SBF wrote:
In case not all of your speedwire connected devices communicate with SBFspot, you need a config file for each inverter.
Using Raspberry Pi

So I assume the 2nd config file is located in the same directory and named SBFspot1.cfg for example.
So, run SBFspot multiple times with -cfg argument for each inverter, with each config having its own inverter's IP address
How do you run SBFspot -cfg so it sees the 2nd cfg file?
Coordinator
May 1, 2015 at 5:17 PM
-cfg/usr/local/sbfspot.3/SBFspot_1.cfg