Bluetooth SMA inverter - how to get data into HA?

Hello
I have SMA inverter with a bluetooth link.
There is SBFSpot (GitHub - SBFspot/SBFspot: Yet another tool to read power production of SMA® solar/battery inverters) that can connect to the inverter using bluetooth adapter and linux, so it must be possible to do it via HA.
I am running Hass OS on a NUC and just starting out with the whole home automation. So far it is very hard =)
I have a number of Tuya based WIFI devices, 1 zigbee device (no hubs - on the way) and my SMA inverter. Would really like to get inverter to work - can someone please help?

2 Likes

Hi,

I also own an SMA Sunny Boy inverter that only is able to talk bluetooth. I’m using SBFspot to map the data into MQTT and consume those in Home Assistant.

With the latest impotentes done to the bluetooth integration in HA, has somebody managed to directly read SMA data via bluetooth. It would be great to remove one point of failure from the equation.

Cheers,
Tom

2 Likes

I have an addon for this

Open your Home Assistant instance and show the dashboard of a Supervisor add-on.

Although that uses still MQTT.

It might be possible via esphome… In the future.
The inverter doesn’t put out Bluetooth as ble.
So it would need some command functions in the Bluetooth integration.

That just changes the middleman and failure point though.

1 Like

Hi @hasQt @fokcuk @swatchy2dot0

I have the same idea to do this. Looks me a useful challenge.

Did you succeed to do?

Kr Guido

Just to “wrap” my head around this. I currently have a first gen rpi collecting data since 2014 and uploading to pvoutput. I should upgrade to SBFspot V3.9.7 and I can then get the data from that device using HAOS-SBFspot?

Fineprint: started with HA few weeks ago so quite noobish. I want an energy dashboard with power usage. For this I need to get data from my ‘smart’ Growatt system which has some api and my old Sunny Boy 2500 that can only be read via BT.

1 Like

@RemBrand

HAOS-SBFspot just runs sbfspot 3.9.7 in an addon(container) for Home assistant. You still need the database(mariadb) and mqtt server. pvoutput can still have data uploaded to it. HAOS-SBFspot basically just sets up the SBFspot config files, and runs sbfspot every 5 min.

If you already have SBFspot running on a separate machine from homeassistant, it probably makes sense to keep it separate if your Homeassistant server won’t be in Bluetooth range to your inverter. You can just run sbfspot 3.9.7 without the hassle of the HAOS-Sbfspot addon(I say this as the addon author).

For the energy dashboard you need either MQTT sensors from your sbfspot. Either daily energy or total energy.

Or

You can use pvoutput integration in homeassistant to pull that data from pvoutput.

haha, without the hassle. I just bought a T630 which will end up in the meterkast where it’s out of range of the Sunny Boy in the attic. I’ll give my 10 year old RPI some TLC and the latest SBFspot (it’s running SMA now still) and see if I can get it working, thanks!
Remco

Hello, I would like to use modbus integration from HA and let it talk to my SMA bleutooth interface, so I can write modbus register to power limit the SMA when electricity prices are negative. Could someone give some advice how te start. Or is it possible to do with SBFspot (write holding register 40023)? I allready managed to do it on a SMA with ethernet connection icw HA/modbus, but want to do it on a Bleatooth SMA also.

Regards, Peter.

I also want to import the data from my SMA BT Sunnyboy into HA, my converter and HA BT are close to eachother so if someone could guide me some steps which addons to install and configure first I would be thankful.