ThomasB10C / scriptable.sonnenBatterie-V4

Scriptable Widget zum Monitoring der sonnnenBatterien Eco8.0 und SB10, Anzeige ausgewählter Betriebsdaten der Batterie und Überwachung von Statuszuständen, Widget läuft auf dem iPhone und iPad ab iOS14 unter Scriptable
6 stars 2 forks source link

sonnenBatterie version 1.7.7 is removing API v1 #4

Open swaschkut opened 2 years ago

swaschkut commented 2 years ago

release notes: https://sonnen.de/rln-sb/

these requests are no longer working: const apiURL3 = "http://" + IP + ":8080/api/battery" // CycleCount, CellTemperature const apiURL4 = "http://" + IP + ":8080/api/ios" // Reduction 1, 2

ThomasB10C commented 2 years ago

Thank you, this information has already reached me. The new update is not yet installed on my battery; I will then change the script or look for another solution. Regards

octopussy1 commented 1 year ago

I have build a version of the script with support for getting the "battery" data and "io" from the v2 protocol. @ThomasB10C if you are interested I can provide you the script. It is based on your 4.03 version. I can also provide you with JSONs returned by the Sonnen Battery. I have a system that runs 1.8.7 firmware. All the previous info is available except for stateofhealth Just send me an email listed on my GitHub account.