DennisOSRM / hms-mqtt-publisher

HMS-XXXXW-2T MQTT publisher and Home Assistant addon
BSD 2-Clause "Simplified" License
111 stars 16 forks source link

Graph is very pointy #112

Closed simonszu closed 4 months ago

simonszu commented 5 months ago

I am using this project as anyone else, but am also exporting Home Assistant data via Prometheus and graphing it via Grafana. It seems that the grafana graph is quite pointy with lots of spikes. Screenshot 2024-03-23 at 13 18 39

I am not sure if this is usual for balcony solar devices, since the sun isn't rapidly switching on and off, so i am opening this issue to confirm if this is the usual behaviour for the metric, or if there is something to be improved.

dominikandreas commented 5 months ago

The spikes are typical for a day with a mix of sun and clouds. For straight and continuous sunshine, this should not happen.

For comparison, here's one of mine from last Thursday: Screenshot_20240323-133433

DennisOSRM commented 5 months ago

Seems like the panels were obstructed some of the time, perhaps? What does the underlying data say?

simonszu commented 5 months ago

The underlying data looks also quite spiky, but without any gaps (which are showing up in grafana when zoomed in). The same sensor as a dashboard card in Home Assistant looks similar to @dominikandreas but with smaller amplitude, which is caused by my installation form.