Skip to content

REST API: Allow overriding actual delivered power values #409

Description

@lpcvoid

Hello,

I would love to be able to use uni-meter to simulate certain smart meter states. I need this because my AC Battery has solar panels connected to it, and there's no way to use it as a "dumb" micro inverter which simply generates power via solar panels and outputs it to the grid - it always wants to compensate for smart meter reading, and if I do Photovoltaic charging using my main roof install, EVCC's control loop fights the batteries control loop.

Uni meter could make it possible to sidestep this, by offering a REST API which makes it possible to lie to my battery that the meter reading is 0 (no surplus, no grid consumption), and as such it does nothing, and only generates power from connected solar panels. I use uni-meter only for the battery, so the rest of the system still knows the real meter value.

Effectively, the API could look similar to the parameter setting here, but probably a new API called "override-power" or something. It could use a GET parameter which is simply the power reading that is to be sent to all the smart meter consumers. It could also be disabled again via /api/override-power-disable, whatever you want to call it.

I hope you consider this, it would make my battery charging logic work really, really well.

I am willing to this, of course, if you decide to implement it.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions