nathanmarlor/foxess_em

Values for some entities appear to be 1000x too high

markmtb opened this issue · 2 comments

Version of the custom_component

1.8.0

Configuration

Modbus via TCP
HA version 2024.2.2 (Docker)

Describe the bug

foxess-em makes about 20 entities available to HA. And most of them have sensible values in them, but a few have crazy values:

Capacity: Peak Grid import 7,673.91 kWh
Load: Daily 11,429.55 kWh
Load: Peak 9,349.05 kWh

These values all look like they're about 1000x too high - they're all more than 1 MWh. I couldn't use 1 MWh of energy in a day even if I tried, my main supply fuse isn't big enough. I could only just about use this amount of energy in a month.

It looks like either the value is 1000x too large, or the wrong units are being selected. If the units were Wh, they'd be believable.

@markmtb which Modbus provider are you using?

I'm using your foxess_modbus one.