egguy / addon-grott-beta

An HA addon base on the 2.8 branch + gott HA plugin
7 stars 1 forks source link

No shutdown when the value drops to 0 #9

Closed delimedia closed 1 month ago

delimedia commented 8 months ago

I have a small big problem currently. I have a Growatt MIC 600TL-X inverter. It turns off the ShineWifi stick when the inverter turns itself off in the evening. Unfortunately Grott 2.7 still transmits the last wattage numbers to Growat and also to MQTT. So it is not recognized that the inverter is off and the value should be 0.

What can I do?

muhkuh666 commented 5 months ago

22222 Have the same issue!

Sorentino1964 commented 5 months ago

Ebenfalls Problem Wechselrichter Growatt 2500 TL

Schelin78 commented 5 months ago

Same here, cant there be a function that sets the value to 0 if no new value comes from the shinewifi ?

egguy commented 4 months ago

Hi, I think I found a way to make HA mark the sensor as Unvailable after not receiving updates. @Schelin78 @muhkuh666 Could this work for you?

e.g. image

muhkuh666 commented 4 months ago

How to do so?

egguy commented 4 months ago

There is a parameter in the MQTT discovery who could be used to make the devices unavailable if there is no new value pushed after a certain time. So when the inverter shutdown, the push of values cease and the devices would be marked as unavailable 15 minutes after.

I put 15 minutes to prevent transients problems.

If this is what you are looking for (like in the capture), I will push this in the next version of the addon.

Sorentino1964 commented 4 months ago

That's it That would be very nice if you could implement that

egguy commented 3 months ago

Hi @Sorentino1964 @muhkuh666 @Schelin78 @delimedia

Finally! I found a bit of time to update. The addon has been published on the edge repository.

It is possible to stop the regular add-on and install the addon in the edge repository: https://github.com/egguy/ha-addons-edge/ You can copy the configuration of the old addon to the new in YAML mode.

Could you please confirm the addon works for you and does what you want? The expiration of the measures is after 15 minutes (2 default 5m period to prevent jitter + 1 of buffer).

If everything works, I will publish the add-on to the stable repo. Thanks for you feedback

Sorentino1964 commented 3 months ago

Hi @egguy Today I installed the new Current version: 0.1.6. I'll test it for a few days now and then report back. Thank you again for your good work here.

egguy commented 3 months ago

Hi, the 1.6 doesn't include the changes for the moment I only pushed it on the edge branch.

I didn't have time to make a proper release.

Sorentino1964 commented 3 months ago

@egguy Ah OK I have now installed version 7439826 Is that OK?

Sorentino1964 commented 3 months ago

Grott

Sorentino1964 commented 3 months ago

@egguy First test OK👌

Sorentino1964 commented 3 months ago

image

egguy commented 3 months ago

Thank you for the test and feedback. I'm going to push it to the stable release.

github-actions[bot] commented 1 month ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!