Hello,
first of all, thank you very much for the very successful addon SBFspot.
I have successfully installed it on a Raspberry pi Zero that is close to my inverter and connected to my wifi.
The Raspberry regularly connects to the inverter, which can be recognized by the briefly glowing blue LED.
According to the following excerpt from the LOG file, which I read from the Raspberry via SSH, it connects correctly to the inverter and also reads out all relevant data:
Excerpt from LOG file
C2": 349.480,āIDC1ā: 0.119,āIDC2ā: 0.115,āPDC1ā: 64.000,āPDC2ā: 39.000
startTime: 15/03/2024 00:00:00
Reading events: 2024-Mar-01
Fri Mar 15 16:45:05 2024: INFO: Done.
SBFspot V3.9.8
Yet another tool to read power production of SMA solar inverters
(c) 2012-2023, SBF (GitHub - SBFspot/SBFspot: Yet another tool to read power production of SMAĀ® solar/battery inverters)
Compiled for Linux (LE) 32 bit with SQLite support
Commandline Args: -v -ad1 -am0 -ae1 -mqtt -cfg/usr/local/bin/sbfspot.3/SBFspot.cfg
Reading config ā/usr/local/bin/sbfspot.3/SBFspot.cfgā
Fri Mar 15 16:50:01 2024: INFO: Startingā¦
sunrise: 06:20
sunset : 18:09
Connecting to 00:80:25:2B:CC:1E (1/10)
Initialisingā¦
SUSyID: 125 - SessionID: 961864022
SMA netID=01
Serial Nr: 122C8BEC (304909292)
BT Signal=84.7%
Logon OK
Local Host Time: 15/03/2024 16:50:02
Plant Time : 15/03/2024 16:50:08 (+6 sec)
TZ offset : 3600 sec - DST: Off
Last Time Set : 07/03/2024 06:21:18
SUSyID: 181 - SN: 304909292
Device Name: SN: 304909292
Device Class: Solar Inverters
Device Type: STP 5000TL-20
Software Version: 02.55.03.R
Packet status: 21
SUSyID: 181 - SN: 304909292
Device Status: Ok
SUSyID: 181 - SN: 304909292
Device Temperature: 47.0Ā°C
SUSyID: 181 - SN: 304909292
GridRelay Status: Closed
SUSyID: 181 - SN: 304909292
Energy Production:
EToday: 10.792kWh
ETotal: 56400.381kWh
Operation Time: 43271.35h
Feed-In Time : 42484.24h
SUSyID: 181 - SN: 304909292
After installing the SBFspot add-on in Home Assistant, HA apparently also finds the Raspberry, but according to the following protocol excerpt, it cannot establish a Bluetooth connection to the inverter:
Excerpt from HA-protocol
homeassistant/sbfspot_{plantname}/sbfspot_{serial}
PrgVersion,Plantname,Timestamp,SunRise,SunSet,InvSerial,InvName,InvTime,InvStatus,InvSwVer,InvClass,InvType,InvTemperature,InvGridRelay,EToday,ETotal,GridFreq,PACTot,PAC1,UAC1,IAC1,OperTm,FeedTm,PDCTot,UDC1,UDC2,IDC1,IDC2,PDC1,PDC2,BTSignal,InvWakeupTm,InvSleepTm
[08:38:07] INFO:
[08:38:07] INFO:
[08:38:07] INFO: || Generating HA Sensors ||
SBFspot V3.9.7
Yet another tool to read power production of SMA solar inverters
(c) 2012-2022, SBF (GitHub - SBFspot/SBFspot: Yet another tool to read power production of SMAĀ® solar/battery inverters)
Compiled for Linux (LE) 64 bit with MySQL support
Commandline Args: -v -finq -mqtt -cfg/usr/bin/sbfspot/SetConfig.cfg
Reading config ā/usr/bin/sbfspot/SetConfig.cfgā
Sun Mar 17 08:38:07 2024: INFO: Startingā¦
sunrise: 06:15
sunset : 18:13
Connecting to 00:80:25:2B:CC:1E (1/10)
Connecting to 00:80:25:2B:CC:1E (2/10)
Connecting to 00:80:25:2B:CC:1E (3/10)
Connecting to 00:80:25:2B:CC:1E (4/10)
Connecting to 00:80:25:2B:CC:1E (5/10)
Connecting to 00:80:25:2B:CC:1E (6/10)
Connecting to 00:80:25:2B:CC:1E (7/10)
Connecting to 00:80:25:2B:CC:1E (8/10)
Connecting to 00:80:25:2B:CC:1E (9/10)
Connecting to 00:80:25:2B:CC:1E (10/10)
Sun Mar 17 08:38:16 2024: CRITICAL: bthConnect() returned -1
Sun Mar 17 08:38:16 2024: INFO: Done.
[07:38:17] WARNING: Halt add-on with exit code 255
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
After 10 unsuccessful connection attempts, the addon is stopped with the error message āHalt add-on with exit code 255ā.
It would be nice if someone has a tip for me on how to fix it.
Thank you and greetings
Hilmar