[APP][Pro] Sonnen Batterie

Hi all

I’ve just released an app for Sonnen Batterie with foucs on Time-of-Use (ToU).

A new release is in the press, with some breaking changes due to new capabilities (which offers more funcationality).

For those who are not familiar with Time-of-Use with Sonnen Batterie:

  • Add possible schedule (from - to) where the battery is paused.
  • Add possible schedule (from - to) where the battery is charging (winter = hight tariff, charge your battery when low tariff).
  • Reset schedule.

Yes, then added a bunch of capabilities as well.

Love your feedback. If you have previous version install, please remove your device and add again - changing capabilities for devices are not handled very well.

Constructive feedback appreciated.

Hi @Kim_Kokholm I just released support for SonnenBatterie in Power By The Hour, but it is based on the Sonnen app by @bogguard.

If your app has live battery SoC, and live charge/discharge power to/from the battery, I could add your app to be supported too. Do you have these capabilities? And if so, what are their names?

1 Like

Hi @Gruijter

FROM batterie: from_battery_capability
TO batterie: to_battery_capability

This will be available in next version (1.0.5), this is currently in the verification process.

1 Like

super! I will add it to PBTH version 6.0.1
Note that from version 6.0.0 PBTH supports very advanced Return On Investment (ROI) strategies for supported batteries in combination with Day Ahead energy Pricing (DAP)

To make optimum use of the ROI calculations you can add a number of charge/discharge power points with the efficiency of that point. So e.g. there is a maximum charging speed, but there is also a most efficient charging speed that has a better power conversion ratio. You can enter those numbers of the Sonnen Batterie yourself in the PBTH battery device.

Hi all, recent app-update introduces new capabilities like: to/from battery.
Unfortunately this will cause version incompatibility and you will have to remove/add the SonnenBatterie again. I’ve not yet found a solution for handling change of capability without remove/add device again.

Sorry for the troubles this may cause.

Hi Kim

Is it correct that there are some problems with the app at the moment in Homey Pro?

Best regards
Michael von Barner/Denmark

Please re-add the device. Sorry for the inconveinence (or however its spelled)
I did an update, but try and remove the device and add again - maybe it will solved it.

Hi Kim

It works now, but is it correct that no data comes from “to grid”?

Michael

Hi @Michael_von_Barner

New version is verification process.
Test version is available here: Sonnen Batterie | Homey

This version addresses this issue. Something is wrong with the api, the value is read elsewhere to fix this.

Hi Kim

Thanks for reply and answer :blush:

Michael

Hello Kim

First off, great app! I’ve been using my own API scripting before you got here.

I am a little curious to how you are able to make the app read the summarized daily consumption/production, from own solar system, from grid etc.

Have you been able to get reading directly from their app or is it calculated from each update to homey?

Its not so much the current readings that im asking about since i know how to get those myself.

IF they are directly from the their own app, then i would be very curious to know what endpoints you are using.

Kind regards
Mathias

Hi @Mr_Meri

The summaries have been developed by mech87, a user on Github. Don’t know if this bows is in this forum :slight_smile:

Hi Kim,

I am a new owner of a sonnen battery and got aware about how unsmart the device is itself.

What I want is the battery to charge on low price hours and then to use during high price hours. As well, when price is low and battery is fully charged, I want the consumption to go directly from grid.

Before buying a homey pro, will all above be possible with your app?
Secondly, is price Information for SE4 Sweden possible as well?

Oscar

Hi @Oscar_Wannfors

I do not know the availability of the tariff prices for sweden.

With the app, you can charge on demand and you can pause the battery. I do this in some extend for my setup - with charging my car.

If your are technical, I can share some postman/REST endpoints for doing the same if you would like to manage without Homey.

Hi @Kim_Kokholm

Thanks for your answer.
For other scenarios in homey (not pro) I use the spot price from the Tibber app. Otherwise, maybe power by the hour works?

I am kind of technical but never been doing this before. How does that work? :slight_smile:

I don’t use power by hour, I know a lot of people are fan of that app.

REST is just the way the app/homey is communicating with Sonnen. Just saying that it can be handled outside of Homey - used that before I’ve started using Homey.

Will read more about rest.
But just to make sure about the homey app. If I use tibber spot price information to control my Shelly devices - can I then use the same info to control the card for sonnen (charging, paus, discharge etc)

Yes, I believe so.

1 Like

Hallo, ich kann kein Verbindung zur Sonnenbatterie aufbauen. IP und Api sind eingetragen. Wird diese Projekt überhaupt noch weiter gemacht? Oder ist gestorben?

Hi @Gabriel_Kreutzer

Can you please somehow verify that your homey can reach the local ip of your Sonnen batterie. I did some remote debugging with other users for my other apps, where their homey could not reach the local ip of the sonnen batterie.

You will to verify this. Fine you can reach Sonnen batterie dashboard from your phone/pc/browser - but you will have to make sure that your homey (where the app is running) can reach your Sonnen.

I did installed Net Scan and setup a new device:
image

Use your local sonnen ip and port: 80 - that works for my case.