Open MidnightLink opened 1 year ago
Are you still unable to selected energy readings? as far as I know the UOM (Kwh) should be enought. If not please provide some more details like your config.h and your HA config page (screenshot)
config.h hasn't been changed as I'm using the default esp32dev_mqttHA file
Anything in particular you'd like a screenshot of? Like MQTT?
I double check my setup, home assistant requires those value to be state_class=total_increasing
.
The mqtt-HA library cannot specify this..... 😞
You can do so by:
sensor.energy_generated:
state_class: total_increasing
I'm getting an invalid domain error when trying to add it to my yaml config. Do you have it under sensors?
Here the complete entry:
homeassistant:
customize:
sensor.solartracer1_solartracer_energy_generated:
state_class: total_increasing
You can refer to HASS docs: https://www.home-assistant.io/docs/configuration/customizing-devices/#manual-customization
Describe the bug The MQTT integration doesn't report any usable device energy statistics in Home Assistant
To Reproduce Steps to reproduce the behavior:
Expected behavior Add device statistics to Energy Dashboard in Home Assistant
Screenshots![mqttdata](https://github.com/Bettapro/Solar-Tracer-Blynk-V3/assets/63812991/52808fd9-1f58-45bd-b17f-6afea9eb6f51)
Additional context Device is configured and data is coming through but I'm unable to add to the energy dashboard as shown on the HA config page
Seems that the individual sensors are also not showing up in Developer Tools -> Statistics, which explains why it's not showing up in the energy dashboard as an option