CRITICAL: Failed to initialize communication with inverter.

Topics: 5. Support
Oct 29, 2016 at 9:36 PM
Edited Oct 29, 2016 at 9:37 PM
Hello,

i have set up a fresh raspberry with SBFspot. The documentation helps and works without any failures. But at the first test i get the following failure:
SBFspot V3.3.1
Yet another tool to read power production of SMA solar inverters
(c) 2012-2016, SBF (https://sbfspot.codeplex.com)
Compiled for Linux (LE) 32 bit

Commandline Args: -v -finq -nocsv -d5 -V5
Reading config '/usr/local/bin/sbfspot.3/SBFspot.cfg'
Configuration settings:
BTAddress=00:80:25:09:81:D6
Password=<undisclosed>
MIS_Enabled=0
Plantname=Test
OutputPath=/var/www/pv/%Y
OutputPathEvents=/home/pi/smadata/%Y/Events
Latitude=48.91
Longitude=8.43
Timezone=Europe/Brussels
CalculateMissingSpotValues=1
DateTimeFormat=%d/%m/%Y %H:%M:%S
DateFormat=%d/%m/%Y
TimeFormat=%H:%M:%S
SynchTime=1
SynchTimeLow=1
SynchTimeHigh=3600
SunRSOffset=900
DecimalPoint=dot
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 ###
Sat Oct 29 22:35:25 2016: INFO: Starting...
sunrise: 08:10
sunset : 18:09
Connecting to 00:80:25:09:81:D6 (1/10)
Initializing...
SUSyID: 125 - SessionID: 842657112 (0x3239ED58)
getPacket(2)
MAX_CommBuf is now 18 bytes
Received 18 bytes
Received 9 bytes
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 7E 1B 00 65 D6 81 09 25 80 00 
00000010: 00 00 00 00 00 00 02 00 00 03 
00000020: 70 00 01 01 00 00 00 
cmd=2
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 7E 1B 00 65 D6 81 09 25 80 00 
00000010: 00 00 00 00 00 00 02 00 00 03 
00000020: 70 00 01 01 00 00 00 
<<<=================================>>>
MAX_pcktBuf is now 27 bytes
SMA netID=01
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 7E 1F 00 61 00 00 00 00 00 00 
00000010: D6 81 09 25 80 00 02 00 00 04 
00000020: 70 00 01 00 00 00 00 01 00 00 
00000030: 00 
31 Bytes sent
getPacket(5)
Received 18 bytes
Received 13 bytes
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 7E 1F 00 61 D6 81 09 25 80 00 
00000010: 00 00 00 00 00 00 0A 00 D6 81 
00000020: 09 25 80 00 01 7C D0 D1 60 10 
00000030: 00 
cmd=10
Received 18 bytes
Received 16 bytes
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 7E 22 00 5C D6 81 09 25 80 00 
00000010: 00 00 00 00 00 00 05 00 D6 81 
00000020: 09 25 80 00 01 01 7C D0 D1 60 
00000030: 10 00 02 01 
cmd=5
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 7E 22 00 5C D6 81 09 25 80 00 
00000010: 00 00 00 00 00 00 05 00 D6 81 
00000020: 09 25 80 00 01 01 7C D0 D1 60 
00000030: 10 00 02 01 
<<<=================================>>>
MAX_pcktBuf is now 34 bytes
Local BT address: 00:10:60:D1:D0:7C
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 7E 3F 00 41 7C D0 D1 60 10 00 
00000010: FF FF FF FF FF FF 01 00 7E FF 
00000020: 03 60 65 09 A0 FF FF FF FF FF 
00000030: FF 00 00 7D 5D 00 58 ED 39 32 
00000040: 00 00 00 00 00 00 02 80 00 02 
00000050: 00 00 00 00 00 00 00 00 00 00 
00000060: 91 D7 7E 
63 Bytes sent
getPacket(1)
Received 18 bytes
Received 5 bytes
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 7E 17 00 69 D6 81 09 25 80 00 
00000010: 00 00 00 00 00 00 01 00 7E FF 
00000020: 03 60 65 
cmd=1
PacketLength=23
<<<====== Content of pcktBuf =======>>>
--------: 00 01 02 03 04 05 06 07 08 09
00000000: 7E FF 03 60 65 
<<<=================================>>>
Invalid chk 0xFF00 - Found 0x6003
Sat Oct 29 22:35:26 2016: CRITICAL: Failed to initialize communication with inverter.
Can anyone help?
Nov 12, 2016 at 11:31 AM
Have anyone an idea?

Can maybe a other Bluetooth stick help (then i need to buy one)? Or is this failure independend?

thanks
Coordinator
Nov 13, 2016 at 2:13 PM
It looks like I don't receive all notifications of new items...
To answer your question: yes, another BT adaptor might solve this. It's difficult to guide on this.
Here are some examples, but the list is rather old, so some of them aren't available anymore.
Nov 14, 2016 at 3:31 AM
Have you checked first that the bluetooth stick you are using works OK with the SMA PC Sunny Explorer App.?
Nov 20, 2016 at 10:08 AM
Hi,

i have tried a new stick (Logilink BT0015), without success.
The sunny Explorer Software also didn't get any data (i can connect, but no data).

But then i download the sunny explorer software i see that my SB 5000TL-20 can have a firmware update (1.7 in use, 3.20.05 on website), so maybe an update can help?

But all update trys are unsuccessful. The SB didn't find the SD card. The manual say's it needs a <2GB SD Card, but i didn't have one. I tried a smaller partition on a 32GB and a 4GB and an old 32MB MMC, but nothing works.

But i see the status bar on the SB is always empty. also no status messages on initialisation. Is there maybe an other problem? Can you give any hints about the FW update process?
Coordinator
Nov 20, 2016 at 6:02 PM
The update manual clearly states "Use an SD card with a maximum of 2 GB of storage space" Unfortunately it's almost impossible to find such small memory cards.
Maybe it's better to contact your installer to do the update.
The Logilink BT0015 should work both on Windows and Linux
Nov 21, 2016 at 5:10 PM
I have found a 32MB SD-Card at my dad. But also no success with it.

But as i said, the status bar is always emty. Only at night i see the status information (version etc.). At day it keeps emty. Any ideas about this?

The Problem is, i'm the installer, and i think the bluetooth function is not worth the support costs....
Nov 24, 2016 at 1:31 AM
Edited Dec 2, 2016 at 3:53 AM
Some aspects of SMA inverters are rather archaic almost like they were designed by a different team 10 years ago, 2GB SD Cards (!), no network connection as standard except the Tri-power version.... Just about every other inverter make has a network connection as standard. With the internet connection on SB updates are done automatically in the background. Many cameras even a few years ago were using 1 or 2GB SD cards so you should be able to locate one from friends etc. or get one from ebay or something. Note that you have to do the software update as an Installer not a user.

Ok presuming you are tapping the SB case firmly to bring up the various displays, and you have registered the NetID in the SB Explorer software and entered the user name and password and the bluetooth light is lit on SB and THEN if you are still NOT getting data - it would seem that it's busted.
Dec 29, 2016 at 11:56 AM
Hi,
now i have bring it to work!
SMA support says that the protocoll has changed and i need the new firmware to get bluetooth on work again.
I have found now a 512MB microSD card, with it the update works. The inverter is very challenging with the SD Card accaptance. >2GB not work, 32Mb also not :-).

Now i have connection with sunny explorer and sbfspot.

But also problems to get the data:

/usr/local/bin/sbfspot.3/SBFspot -v -finq

--> brings the failure "Failed to get current plant time (0)"

So i think SBFspot tries to save the data under the year 1915:
Thu Dec 29 12:38:19 2016: ERROR: Unable to open output file /var/www/pv/1915/Test-Spot-19150123.csv
And if haven't create a folder for 1915 :-).

How can i solve the problem that SBFspot didn't get the plant time? I found no option to set the time in sunny explorer, and in sunny explorer the time is correct....

Thanks!
Dec 29, 2016 at 12:22 PM
ok, now the date works, i don't know why it's work now.

But one additional question:

Is it possible to get just the current power as a command result? I want to use it to handle it over to the KNX system (with eibd). So i want to handle the current power of the inverter with groupswrite to an KNX group adress.
Coordinator
Dec 29, 2016 at 3:01 PM
Send SBFspot output to file and parse it with 'grep'