This error is reported in some different scenarios;
- Most common is that WebSolarLog poll the SMA inverter to fast and the Bluetooth devices (inverter and/or RaspberryPi could not hold up). For SMAspot/Bluetooth devices, we advice a poll rate higher of equal then 8 seconds. You could configure this in Admin::Devices::YourSMABluetoothDevice and change “Live poll Rate”
- compatiblity issue of the Bluetooth Adapter with the Rpi. Please take a look at the RaspberryPi list of “RPi USB Bluetooth adapters Verified Peripherals” and see if you Adapter is listed.
- The Power Supply of the RaspberryPi’s USB-ports are very low. In most cases you need a Powered USB hub to let WiFi and Bluetooth Adapters work properly.
- Also confirm that the Power Supply of the RaspberryPi can power your RaspberryPi with all his peripherals.
In the above picture the USB hub is connected to grid power. The RaspberryPi is connected to one of the output sockets of the Powered USB hub and one of the RaspberryPi’s USB ports is connected to the input socket of the Powered USB hub.
In this case the Powered USB hub supplies power to the RaspberryPi and all the device connected to the USB hub. The RaspberryPi is connected to the Hub and can communicate with the USB devices connected with the hub.
Now you could connected the Bluetooth and/or WiFi adapter(s) to the Power USB hub and should not have power issues.
For more info about the “BT_Connect() returned -1” error, see the SMAspot support forum.
For more info about the power issues of the RaspberryPi, see the Power Issue topic on the RaspberryPi forum.
If these forum could not help, please see Google