planbnet / livisi_unofficial

Unofficial fork of the home assistant livisi integration without dependencies on the abandoned aiolivisi lib
Apache License 2.0
36 stars 5 forks source link

Add electricity meter #75

Closed stefanhintermayr closed 8 months ago

stefanhintermayr commented 9 months ago

Checklist

Is your feature request related to a problem? Please describe.

I don't see how much electricity my house draws or how much the solar system feeds into it.

Describe the solution you'd like

As a further device, include the reading unit of the electricity meter, which is a device from Livisisi / RWE / Innogy. This bi-directional meter measures the purchase (supply meter) and the feed-in (feed-in meter). There is also another measuring unit in my installation for the production counter of the PV system. Both hang wirelessly via a USB stick at the Livisi headquarters (SHC 2.0).

Describe alternatives you've considered

Alternatively, I could of course exchange the entire reading head for another system. But I don't actually want that.

Additional context

I have no further comments at the moment.

planbnet commented 9 months ago

I don't have the electricity meter, but I'm open for pull requests..

stefanhintermayr commented 9 months ago

Help me, I see the function to create a "pull request", but I don't know how to proceed. Can I then test for you? P.s.: Do you also speak German? Do you have to write English here?

planbnet commented 9 months ago

Ja, ich spreche Deutsch, aber falls diese Integration irgendwann mal Teil des offiziellen HomeAssistant wird, macht es Sinn, sämtliche Doku in Englisch zu haben... Was ich meinte ist, dass ich dieses Feature nicht implementieren kann, weil ich das entprechende Gerät nicht besitze (und auch keinen Bedarf habe, ich messe den Strom mit vzlogger). Falls jemand anders das programmieren, testen und zu dieser Integration hinzufügen möchte, kann er/sie das über einen Pull Request tun..

planbnet commented 9 months ago

Closing this as this is nothing I can implement...

planbnet commented 9 months ago

@stefanhintermayr Has collected data, see commit dc1c158

It should be possible to implement this as sensors

planbnet commented 9 months ago

@stefanhintermayr Please test the energy_sensors branch

stefanhintermayr commented 9 months ago

Done.