frlequ / homeassistant-mojelektro

Moj elektro component for Home Asistant
https://frlequ.github.io
MIT License
81 stars 7 forks source link

Strange data #1

Closed devdems closed 9 months ago

devdems commented 9 months ago

Data in the HA does not match what I see directly in the mojelektro swagger. Are there any calculations done before pushing the data to HA?

image

image

frlequ commented 9 months ago

I don't know what should be wrong exactly. It's hard to tell based only on images.

The 15minutes intervals does not use calculations, they are all raw values.

du77an commented 9 months ago

This is a more general question - is it possible to include logging and how? I would like to know what data mojelektro is really sending. If I see correctly still for 1 day ago?

frlequ commented 9 months ago

Yes, it's possible. Just use this in configuration.yaml:

logger:
  logs:
    custom_components.mojelektro: debug

you can then track logger in home-assistant.log file

du77an commented 9 months ago

Thank you, the data is fine, but for yesterday. Which is a limitation of mojelektro :(

frlequ commented 9 months ago

Unfortunately, it's true.