Well, from that log SBFspot isn’t connecting to your inverter. It may have connected on the 10th at 13:45
The SBFspotUpload log in the addon only searches for the latest available log. It does do an archive upload for the past 14 days. So presumably there isn’t data beyond the 10th.
The connection error is your real problem. At this point you may as well try and reinstall the addon and see if that helps with your connection issue…
There is nothing I’m aware of that would have changed to go from a working connection to a non working connection. Try moving your pi closer to your inverter if you can.
i have uninstalled the AddOn. Then restarted the HA. Installed the AddOn. Then i allready have the old log-file in the log section. Is it possible to find the old file?
After adding the configuration information, pressing start nothing happens. MariaDB, phpMyAdmin are running. PVOutPut is running but stating: Retrying setup: PVOutput has no data available
Odd that the old log would show up.
Does the log in the addon show up when you start the addon? It should run through some container startup.
Does the supervisor log show the addon as being installed? Does the supervisor log give an error after trying to start the addon?
Hi, I am having an issue getting the bluetooth to connect in SBFspot. Im very new to Home Assistant but so far I have managed to do everything Ive needed with all the great content here and elsewhere.
Ive installed a fresh HAOS from last week (Updates have just installed) directly onto an aging NUC DN2820FYK. When ive installed and configured the SBFspot im getting the 10 tries in less than 10 seconds and finishing with the “CRITICAL: bthConnect() returned -1” error.
Ive managed to try use bluetoothctl and it can see the NUC built in bluetooth controller and I can scan for devices and see the inverter and even pair to it. Ive also installed the Bluetooth tracker and the inverter shows up as known device.
I had a PI version of SBFspot running for a few years but the SD trashed and I never bothered setting it up again. I had kept a copy of the cfg file which i used to help populate in the HA addon.
As another check I did a quick install SPFspot on V1 Pi Raspian and was able to use a USB Bluetooth adapter to login and pull data from the inverter. I tried the same USB adapter into the NUC but no difference. It then just has 2 controllers and probably is still trying to use the built in one. The PI and NUC were beside each other and ony a couple of meters from the inverter.
hi @bmccluskey
sorry for the delay in response. I had to rework the addon to suit the new s6 v3 requirements.
Can you give the test-sbfspot addon a go and see if you can connect and let me know.
@laurie_lewis and @nug this change might have solved your VM connection issues also.
Thanks for following up mate but my issue was definitely a range thing. I ended up putting a small PC in my garage with SBFSpot setup on that and pass that through MQTT back to my main HA VM.
What delay?? A changed piece of code in <12 hours is lightning fast, thank you!
Now the bad news. I uninstalled the original and installed the Test one. Unfortunatly it hasnt resolved the bluetooth issue, same problem 10 goes in a a few seconds. The other thing it seem to run it a second time in quick succession. Or else the Cron hasnt cleared properly from the original version.
Wed Jul 27 09:24:16 2022: CRITICAL: bthConnect() returned -1
Wed Jul 27 09:25:09 2022: CRITICAL: bthConnect() returned -1
Wed Jul 27 09:30:09 2022: CRITICAL: bthConnect() returned -1
I added LocalBTaddress to the plain SBFspot addon. Try that. seems to be working for me. blank or 00:00:00:00:00 or my correct mac work. incorrect controller mac won’t connect.
you can find your bluetooth controller mac using bluetoothctl command in the ssh console addons.