britkat1980 / giv_tcp

TCP connection (from inverter) and MQTT implementation
71 stars 32 forks source link

Enable long term stats #103

Closed ajcollins closed 11 months ago

ajcollins commented 11 months ago

Add support for HA long term statistics by labelling entities with state_class = measurement.

Resolves #98. This allows use of the statistics card with HA by adding the required attribute.

I've experienced high grid voltage causing reduced (or no) generation with no alerting or feedback to indicate this is the cause. This allows greater visibility of the metrics reported by GivTCP.

I have this running locally with the PALM fixes in my fork.