Danfoss / SMA FLX PRO 15

Topics: 1. General
Oct 26, 2015 at 8:54 PM
Do you know anything about how it might be possible to read out data from this inverter ? I have a friend using this inverter and I installed a RPi at his house tonight but it seems like SBFspot can not find this inverter, not using Speedwire maybe ? Is this some sort of protocol ? I would really appreciate your knowledge in leading me towards the right path for some kind of solution...
Coordinator
Oct 27, 2015 at 10:52 AM
How are you trying to connect? Ethernet I suppose?
According to the datasheet the ethernet interface is optional.
Can you connect via Sunny Explorer?
What's in your SBFspot.cfg?
Oct 27, 2015 at 4:26 PM
Edited Oct 27, 2015 at 4:28 PM
Sorry for my empty post...I'm trying to connect via ethernet. My cfg file is set to the IP of the inverter. I have tried leaving it blank and that gives me a Critical error that it can not find a Speedwire interface.

BT adress is commented out, password is set to 0000 and Plant name is set to my streetadress and number

When performing ./SBFspot -v -finq -nocsv it gives me a respons but "Device name" etc is blank - thus I got the feeling together with the critical speedwire error that It is not working.

I've read the datasheet, is Ethernet optional ? I see they mention Ethernet and RS232.

I can logon to my inverter on a web-based interface that looks and feels like an old router :) There I can set a lot options such as FTP upload etc. and read production data but I have not yet managed to understand how I can connect it to Sunny Portal or via Sunny Explorer.

Reading about Sunny Explorer now it seems that you can only access inverters via Bluetooth ? And this inverter does not seem to support bluetooth.

So, I'm curious if this inverter is some kind of industrial model instead of home owner product that does not support this thing called "Speedwire" and thus can not make us of your brilliant software.
Coordinator
Oct 27, 2015 at 8:24 PM
Sunny Explorer is for both Bluetooth and Speedwire (ethernet) - Try with SE first, if that's working, it'll work with SBFspot.
What is the output of ./SBFspot -v5 -d5 -finq -nocsv
Oct 27, 2015 at 9:32 PM
Edited Oct 28, 2015 at 7:43 AM
I will try Sunny Explorer -> EDIT: Could not get Sunny Explorer to connect...

Here is some of the output with fixed IP in cfg file (with 0.0.0.0 as the IP adress it gave me the critical warning about Speedwire):
Commandline Args: -v5 -d5 -finq -nocsv
Reading config './SBFspot.cfg'
Configuration settings:
IP_Address=10.0.1.2
Password=<undisclosed>
MIS_Enabled=0
Plantname=PappaG
OutputPath=/home/pi/smadata/%Y
OutputPathEvents=/home/pi/smadata/%Y/Events
Latitude=63.2311
Longitude=14.5552
Timezone=Europe/Brussels
CalculateMissingSpotValues=1
DateTimeFormat=%d/%m/%Y %H:%M:%S
DateFormat=%d/%m/%Y
TimeFormat=%H:%M:%S
SynchTime=1
SunRSOffset=900
DecimalPoint=comma
CSV_Delimiter=semicolon
Precision=3
CSV_Export=0
CSV_ExtendedHeader=1
CSV_Header=1
CSV_SaveZeroPower=1
CSV_Spot_TimeSource=0
CSV_Spot_WebboxHeader=0
Locale=en-US
BTConnectRetries=10
SQL_Database=/home/pi/smadata/SBFspot.db
### End of Config ###
Tue Oct 27 22:11:26 2015: INFO: Starting...
sunrise: 07:24
sunset : 16:06
Connecting to Local Network...
Initializing...
SUSyID: 125 - SessionID: 940074001 (0x38086411)
Inverter IP address: 0.0.0.0 found via broadcastidentification
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 01 80 00 02 00 00 00 00 00 00 
00000050: 00 00 00 00 00 00 00 00 
58 Bytes sent to IP [0.0.0.0]
ethGetPacket()
MAX_CommBuf is now 58 bytes
Received 58 bytes from IP [127.0.0.1]
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 01 80 00 02 00 00 00 00 00 00 
00000050: 00 00 00 00 00 00 00 00 
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 00 00 10 60 65 09 A0 FF FF FF 
00000010: FF FF FF 00 00 7D 00 11 64 08 
00000020: 38 00 00 00 00 00 00 01 80 00 
00000030: 02 00 00 00 00 00 00 00 00 00 
00000040: 00 00 00 00 
<<<=================================>>>
logoffSMAInverter()
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 22 00 10 60 65 08 A0 
00000020: FF FF FF FF FF FF 00 03 7D 00 
00000030: 11 64 08 38 00 03 00 00 00 00 
00000040: 02 80 0E 01 FD FF FF FF FF FF 
00000050: 00 00 00 00 
54 Bytes sent to IP [0.0.0.0]
logonSMAInverter()
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 3A 00 10 60 65 0E A0 
00000020: FF FF FF FF FF FF 00 01 7D 00 
00000030: 11 64 08 38 00 01 00 00 00 00 
00000040: 03 80 0C 04 FD FF 07 00 00 00 
00000050: 84 03 00 00 7E E8 2F 56 00 00 
00000060: 00 00 B8 B8 B8 B8 88 88 88 88 
00000070: 88 88 88 88 00 00 00 00 
78 Bytes sent to IP [0.0.0.0]
ethGetPacket()
Received 54 bytes from IP [127.0.0.1]
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 22 00 10 60 65 08 A0 
00000020: FF FF FF FF FF FF 00 03 7D 00 
00000030: 11 64 08 38 00 03 00 00 00 00 
00000040: 02 80 0E 01 FD FF FF FF FF FF 
00000050: 00 00 00 00 
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 00 00 10 60 65 08 A0 FF FF FF 
00000010: FF FF FF 00 03 7D 00 11 64 08 
00000020: 38 00 03 00 00 00 00 02 80 0E 
00000030: 01 FD FF FF FF FF FF 00 00 00 
<<<=================================>>>
Packet ID mismatch. Expected 3, received 2
ethGetPacket()
MAX_CommBuf is now 78 bytes
Received 78 bytes from IP [127.0.0.1]
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 3A 00 10 60 65 0E A0 
00000020: FF FF FF FF FF FF 00 01 7D 00 
00000030: 11 64 08 38 00 01 00 00 00 00 
00000040: 03 80 0C 04 FD FF 07 00 00 00 
00000050: 84 03 00 00 7E E8 2F 56 00 00 
00000060: 00 00 B8 B8 B8 B8 88 88 88 88 
00000070: 88 88 88 88 00 00 00 00 
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 00 00 10 60 65 0E A0 FF FF FF 
00000010: FF FF FF 00 01 7D 00 11 64 08 
00000020: 38 00 01 00 00 00 00 03 80 0C 
00000030: 04 FD FF 07 00 00 00 84 03 00 
00000040: 00 7E E8 2F 56 00 00 00 00 B8 
00000050: B8 B8 B8 88 88 88 88 88 88 88 
00000060: 88 00 00 00 
<<<=================================>>>
Logon OK
SetInverterTime()
Local Time: 27/10/2015 22:11:26
TZ offset (s): 3600 - DST: Off
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 42 00 10 60 65 10 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 04 80 0A 02 00 F0 00 6D 23 00 
00000050: 00 6D 23 00 00 6D 23 00 7E E8 
00000060: 2F 56 7E E8 2F 56 7E E8 2F 56 
00000070: 10 0E 00 00 01 00 00 00 01 00 
00000080: 00 00 00 00 00 00 
send() returned an error: 89
getInverterData(-2147483648)
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 05 80 00 02 02 64 00 8C 61 00 
00000050: FF 8F 61 00 00 00 00 00 
58 Bytes sent to IP [0.0.0.0]
ethGetPacket()
Received 58 bytes from IP [127.0.0.1]
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 05 80 00 02 02 64 00 8C 61 00 
00000050: FF 8F 61 00 00 00 00 00 
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 00 00 10 60 65 09 A0 FF FF FF 
00000010: FF FF FF 00 00 7D 00 11 64 08 
00000020: 38 00 00 00 00 00 00 05 80 00 
00000030: 02 02 64 00 8C 61 00 FF 8F 61 
00000040: 00 00 00 00 
<<<=================================>>>
getInverterData(2048)
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 06 80 00 02 00 58 00 34 82 00 
00000050: FF 34 82 00 00 00 00 00 
58 Bytes sent to IP [0.0.0.0]
ethGetPacket()
Received 58 bytes from IP [127.0.0.1]
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 06 80 00 02 00 58 00 34 82 00 
00000050: FF 34 82 00 00 00 00 00 
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 00 00 10 60 65 09 A0 FF FF FF 
00000010: FF FF FF 00 00 7D 00 11 64 08 
00000020: 38 00 00 00 00 00 00 06 80 00 
00000030: 02 00 58 00 34 82 00 FF 34 82 
00000040: 00 00 00 00 
<<<=================================>>>
getInverterData(512)
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 07 80 00 02 00 58 00 1E 82 00 
00000050: FF 20 82 00 00 00 00 00 
58 Bytes sent to IP [0.0.0.0]
ethGetPacket()
Received 58 bytes from IP [127.0.0.1]
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 07 80 00 02 00 58 00 1E 82 00 
00000050: FF 20 82 00 00 00 00 00 
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 00 00 10 60 65 09 A0 FF FF FF 
00000010: FF FF FF 00 00 7D 00 11 64 08 
00000020: 38 00 00 00 00 00 00 07 80 00 
00000030: 02 00 58 00 1E 82 00 FF 20 82 
00000040: 00 00 00 00 
<<<=================================>>>
SUSyID: 125 - SN: 940074001
Device Name:      
Device Class:     
Device Type:      
Software Version: 
Serial number:    940074001
getInverterData(16384)
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 08 80 00 02 00 51 00 5A 29 00 
00000050: FF 5A 29 00 00 00 00 00 
58 Bytes sent to IP [0.0.0.0]
ethGetPacket()
Received 58 bytes from IP [127.0.0.1]
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 08 80 00 02 00 51 00 5A 29 00 
00000050: FF 5A 29 00 00 00 00 00 
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 00 00 10 60 65 09 A0 FF FF FF 
00000010: FF FF FF 00 00 7D 00 11 64 08 
00000020: 38 00 00 00 00 00 00 08 80 00 
00000030: 02 00 51 00 5A 29 00 FF 5A 29 
00000040: 00 00 00 00 
<<<=================================>>>
getInverterData(32768)
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 09 80 00 02 00 51 00 1E 49 00 
00000050: FF 5D 49 00 00 00 00 00 
58 Bytes sent to IP [0.0.0.0]
ethGetPacket()
Received 58 bytes from IP [127.0.0.1]
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 53 4D 41 00 00 04 02 A0 00 00 
00000010: 00 01 00 26 00 10 60 65 09 A0 
00000020: FF FF FF FF FF FF 00 00 7D 00 
00000030: 11 64 08 38 00 00 00 00 00 00 
00000040: 09 80 00 02 00 51 00 1E 49 00 
00000050: FF 5D 49 00 00 00 00 00