OK so here is the latest update for me.
I have removed the add on (SBFspot), then deleted all the entries for with from mqtt and reboot HA.
Added SBFspot back, made sure configuration is OK and then restarted the addon. This time it went further - it found the details of the invertor.
However, while sensors are created in mqtt they still remain unknown in HA (just like before).
Looking at the logs that strange entry is still there - sh: HxoCzfjh4T7d: not found
SBFspot V3.9.7
Yet another tool to read power production of SMA solar inverters
(c) 2012-2022, SBF (https://github.com/SBFspot/SBFspot)
Compiled for Linux (LE) 64 bit with MySQL support
Commandline Args: -v -ad1 -am0 -ae0 -mqtt
Reading config '/usr/bin/sbfspot/SBFspot.cfg'
Tue May 9 08:40:00 2023: INFO: Starting...
sunrise: 06:55
sunset : 17:30
Connecting to 00:80:25:17:91:F2 (1/10)
Initialising...
SUSyID: 125 - SessionID: 921113612
SMA netID=01
Serial Nr: 7D30C046 (2100346950)
BT Signal=75.3%
Logon OK
SUSyID: 78 - SN: 2100346950
Device Name: SN: 2100346950
Device Class: Solar Inverters
Device Type: SB 5000TL-20
Software Version: 03.01.05.R
Packet status: 21
SUSyID: 78 - SN: 2100346950
Device Status: Ok
SUSyID: 78 - SN: 2100346950
Device Temperature: 52.5Ā°C
SUSyID: 78 - SN: 2100346950
GridRelay Status: Closed
SUSyID: 78 - SN: 2100346950
Energy Production:
EToday: 1.504kWh
ETotal: 105972.508kWh
Operation Time: 54758.67h
Feed-In Time : 53816.52h
SUSyID: 78 - SN: 2100346950
DC Spot Data:
MPPT 1 Pdc: 0.268kW - Udc: 208.26V - Idc: 1.293A
MPPT 2 Pdc: 0.163kW - Udc: 271.40V - Idc: 0.602A
Calculated Total Pdc: 0.431kW
AC Spot Data:
Phase 1 Pac : 0.449kW - Uac: 244.13V - Iac: 1.841A
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.449kW - Calculated Pac: 0.449kW
Efficiency : 104.18%
SUSyID: 78 - SN: 2100346950
Grid Freq. : 49.99Hz
SUSyID: 78 - SN: 2100346950
Current Inverter Time: 2023-05-09T08:28:06+0800
Inverter Wake-Up Time: 2023-05-09T06:37:35+0800
Inverter Sleep Time : 2023-05-09T08:28:10+0800
MQTT: Publishing (homeassistant/sbfspot_{plantname}/sbfspot_{serial}) "PrgVersion": "3.9.7","Plantname": "Home","Timestamp": "2023-05-09T08:40:02+0800","SunRise": "2023-05-09T06:55:00+0800","SunSet": "2023-05-09T17:30:00+0800","InvSerial": 2100346950,"InvName": "SN: 2100346950","InvTime": "2023-05-09T08:28:06+0800","InvStatus": "Ok","InvSwVer": "03.01.05.R","InvClass": "Solar Inverters","InvType": "SB 5000TL-20","InvTemperature": 52.460,"InvGridRelay": "Closed","EToday": 1.504,"ETotal": 105972.508,"GridFreq": 49.990,"PACTot": 449.000,"PAC1": 449.000,"UAC1": 244.130,"IAC1": 1.841,"OperTm": 54758.668,"FeedTm": 53816.519,"PDCTot": 431.000,"UDC1": 208.260,"UDC2": 271.400,"IDC1": 1.293,"IDC2": 0.602,"PDC1": 268.000,"PDC2": 163.000,"BTSignal": 75.294,"InvWakeupTm": "2023-05-09T06:37:35+0800","InvSleepTm": "2023-05-09T08:28:10+0800"
sh: HxoCzfjh4T7d: not found
MQTT: Failed te execute '/usr/bin/mosquitto_pub' mosquitto client installed?
Error 32512 while publishing to MQTT Broker
Error: Both topic and message must be supplied.
MQTT: Failed te execute ā/usr/bin/mosquitto_pubā mosquitto client installed? - so I went looking inside the /usr/bin/mosquitto_pub file. It kind of looks strange to me.
Is yours the same?