Giter Site home page Giter Site logo

jnk-cons / easy-rscp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.08 MB

A library written in Kotlin to access home power plants from E3DC using RSCP interface.

Home Page: https://jnk-cons.github.io/easy-rscp/

License: MIT License

Kotlin 100.00%
e3dc kotlin rscp

easy-rscp's People

Contributors

jnk-cons avatar

Stargazers

 avatar

Watchers

 avatar

easy-rscp's Issues

Extend services with wallbox live data

Own Wallboxservices:

  • Abfrage der angeschlossenen Wallboxen

LiveDataService

  • Supply current wallbox energy quantity
  • If possible, separate function to query individual wallboxes or a series of boxes

New Service: EmergencyPowerService

  • new Service EmergencyPowerService
  • function readEmergencyPowerState():
    NOT_POSSIBLE
    ACTIVE
    NOT_ACTIVE
    NOT_AVAILABLE
    SWITCH_IN_ISLAND_STATE -> Unclear what this state means; Maybe the process, that the HPS is currently switching?

-function to configure the emergency power reserve
-- Strech goal: Unclear how to get/set this information via RSCP

RSCP

ad DERATE_AT_PERCENT_VALUE

Empirische Erkenntnis:
Das ist das Verältnis max. Einspeiseleistung / INSTALLED_PEAK_POWER in Prozent.

Beispiel: Die Anlage hat 7,7 kWp und darf nur 70% dieser Peakleistung einspeisen.
INSTALLED_PEAK_POWER = 7700 [W]
DERATE_AT_PERCENT_VALUE = 70 [%]
7700 * 70 / 100 = 5390
Die Anlage wird bei 5.390 W Einspeisung abgeregelt.
Den Wert DERATE_AT_PERCENT_VALUE kann nur der Installateur ändern.

Documentation improvement for EMSTag.BALANCED_PHASES

Documentation update for enum EMSTag.BALANCED_PHASES:

Balanced phases are code as follows:
0: "PHASE_000"
1: "PHASE_001"
2: "PHASE_010"
3: "PHASE_011"
4: "PHASE_100"
5: "PHASE_101"
6: "PHASE_110"
7: "PHASE_111"

DataBuilder().none() should be optional

If a data block is to get the value none(), it would be easy to omit the call

Old:

DataBuilder().tag(...).none().build()

New:

DataBuilder().tag(...).build()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.