solmoller / eversolar-monitor

Script to capture data and create statistics from Eversolar/zeversolar Solar Inverters. Includes easy install image files for Raspberry Pi. Working edition since 2012 :-)
https://github.com/solmoller/eversolar-monitor/blob/wiki/Introduction.md
MIT License
30 stars 20 forks source link

Energy tab in Home Assistant #74

Open solmoller opened 5 months ago

solmoller commented 5 months ago

My inverters still don't show up in the energy tab in Home Assistant

Logfile: 2024-06-23 09:40:55.728 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.pv_last_365_days_production_2 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22

nagydavid commented 5 months ago

Hi @solmoller You should use sensor.solar_inverter_pv_total_energy_production. The last 365 is not monoton increasing sensor so it cannot be used. image

solmoller commented 5 months ago

Checked, we don't have last_reset defined.