Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/link-intersystems/sonnen
Libraries for the sonnen.de photovoltaics system.
https://github.com/link-intersystems/sonnen
Last synced: 6 days ago
JSON representation
Libraries for the sonnen.de photovoltaics system.
- Host: GitHub
- URL: https://github.com/link-intersystems/sonnen
- Owner: link-intersystems
- License: epl-2.0
- Created: 2022-06-12T09:39:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-04T08:32:46.000Z (over 2 years ago)
- Last Synced: 2024-03-27T11:24:06.978Z (8 months ago)
- Language: Java
- Size: 202 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
This repository contains libraries that can be used with the sonnen.de photovoltaics system.
| :point_up: License |
|--------------------------------------------------------------------------------------------------------------|
| When you use the software provided here you agree to the the [Eclipse Public License (EPL) 2.0](LICENSE.md). |# [sonnen-client-rest](client-rest/README.md)
The sonnen-client-rest is a Java based client
to access the JSON API of a sonnen battery like the sonnenBatterie 10 performance.SonnenClientFactory factory = SonnenClientFactory.getInstance();
SonnenClient sonnenClient = factory.create("http:///api/v2", "")Status status = sonnenClient.getStatus();
System.out.println("Erzeugung [W]: " + status.getProductionW());
System.out.println("Verbrauch [W]: " + status.getConsumptionW());
System.out.println("Einspeisung [W]: " + status.getGridFeedInW());
System.out.println("Notstromreserve: " + status.getBackupBuffer());will output something like this:
Erzeugung [W]: 5864
Verbrauch [W]: 415
Einspeisung [W]: 5392
Notstromreserve: 15# [sonnen-data-logger](data-logger/README.md)
The sonnen-data-logger is a Spring Boot application that retrieves status data from
a sonnenBatterie and persists it in a mongodb.It runs on *amd64* and *arm/v7* (such as a raspberry pi).
## Docker
A Docker image is available at https://hub.docker.com/repository/docker/linkintersystems/sonnen-data-logger.
Setup steps are explained at [sonnen-data-logger](data-logger/README.md).