Sonnen Battery API


I was wondering if someone has experience with the API of Sonnen Battery to connect this to Homey?

Best regards
Jan Wynen

Not sure what you mean. Please provide for a link to the product in the app store, and specify your Homey. Cloud/bridge or Pro?


I Have a Homey Pro. There is no App for this battery brand.

I know it has API JSON & Webhook capabilities and also KNX if you get an extra module.
Normally you can read out the capacity and the solar input of the battery.
Then I could turn on the Heatpump of something else for example when the battery is full.

But I don’t know how to work with an API JSon or Webhook.

I was hoping that someone could help me with it or give me some info how to start with it.

Best regards

Hi Jan,

Maybe this gets you going! Seems very related.

I am looking for the same thing as Jan.

I have a Sonnen hybrid that I would love to get tied into Homey, so when the Battery is full it can send to the Tesla Smart Charger App to start charging our car.

Any ideas or input would be much appriciated.



I’m still working on this.

I’m trying to program an api for this, but I don’t have much time for it because of work.

When I have more info I will post it here.

Best regard

1 Like

Yeah I trying to make a Flow where I use the Webhook API to send when the Battery is full.

So far I used the Webhook Manager in order to recieve an event called charge, but I am lacking the knowledge on how to get it show/react only to the Battery level.

Guessing it would be these two:

“BatteryCharging”: false,
“BatteryDischarging”: false,



The Rest of the Flow works like a charm with the Tesla Smart App


Did you manage to get it working?

Best regards

Hello …do you only use the Sonnen battery or have the whole system installed from Sonnen??


I only have a Battery from Sonnen.

But it would be handy when the battery is full that we then can send a message to the Car or washing machine to start

I’ve submitted an app for review that’s supporting the SonnenBatterie.
Will keep you posted when it’s reviewed.

1 Like

That would be great !!

App just became available. You can find it here.

Feel free to add suggestions and don’t forget to put your API key in the settings screen as otherwise you won’t get measurements in.


I’ve just added it, I have a dual Sonnen a Master and a Slave.
Homey already finds them both.

But what with the API key, i Only have 1 ?
Or am i doing something wrong ?

Hi Jan,

I personally don’t have experience with a master/slave setup so unsure if it’s a different API key per battery.
Normally you should find your API key for your battery through
Go to configure Assistant 2.0, log in with User and your password (you can find that on your battery)
Then go to the menu > Software-Integration >cop y your API key and fill it in in your homey battery settings screen.

Make sure the ‘read-API’ is activated.