pbix / HA-solark-PV

Home Assistant integration for the SolArk PV Inverter
Apache License 2.0
36 stars 9 forks source link

Values right before midnight #49

Closed poldim closed 1 month ago

poldim commented 1 month ago

I'm not sure if there is anything this integration can do, but want to ask: Is it possible to read all values shortly before midnight and "force" write them into the DB? It would fix the values that don't change in the second half of the day. This is complicated by HA/Influx not writing the "same" data if there's been no change since in value.

image

Open to any ideas you may have

pbix commented 1 month ago

While I can understand the issue I do not think this integration would be the place to address it. I would investigate your graphing tool to see if there was a way to address this in the query or maybe post on the influxdb forums on how to force a double write of the last value in the DB at midnight.

I saw this one thread of a user with a closely related question. https://community.home-assistant.io/t/trigger-an-insert-on-influxdb-at-a-given-time/208103/2