egguy / grott-home-assistant-add-on

Grott Home Assistant add-on - Native MQTT plugin
31 stars 10 forks source link

Update Interval #25

Closed MrKohli closed 1 year ago

MrKohli commented 1 year ago

Hey, I've installed the add on about a month ago and it has been running ever since.

One problem I'm having though that I only get new values every 5 minutes. I have set the update time interval of the data logger to 1 minute and with the official Grott docker container I do get the values every minute, but not with the add on.

My question is if I have to configure something something inside the add on to get the updates faster or if I'm missing something else.

Any help would be greatly appreciated. Thanks a lot

egguy commented 1 year ago

Hi,

This is strange. There is no modification to grott and the push depends on the data received by grott.

You have a last push sensor to see when the last push by the extension has been done.

After changing the dest address of the logger, can you try to update the interval?

MrKohli commented 1 year ago

Ok I just did that and I am getting this message image every minute, but the Home Assistant sensors still only updates every 5 min. The last data push sensor also shows that the data is coming in every 5min.

MrKohli commented 1 year ago

I did some more investigating and I ran Grott with the grott_ha extension on my PC and I'm now getting the data every minute without problems.

MrKohli commented 1 year ago

Ok I figured out what it is. I had PVOutput activated and it only pushed the data there every 5min. Grott doesn't continue running the code if the data hasn't been pushed, so it never reaches the Home Assistant extension. I disabled PVOutput for now, and now I'm getting the data as soon as the inverter sends it.