Hi Everyone,
For those of you that have been recently struggling with the Growatt Integration, I wanted to provide an update on where we are and what the short, medium and long-term plan is given the problems we’ve been having.
The Problem
Growatt have recently introduced new methods to rate-limit/reduce/block the python library that we use under-the-hood from making regular requests to their servers.
There are probably various reasons for this, ultimately though they refuse to engage with us on any level which makes everything very difficult.
The Plan
I’m breaking down the plan into short, medium & long-term and purposefully not putting dates/times against it as this is an open-source project that I work on in my spare time so can’t commit to specifics.
Short Term
There is a PR in for the current issue this will fix it until the NEXT time Growatt decide to find a way of blocking people.
While we’re waiting on that to happen I’m going to change the Growatt Integration to a “custom integration” instead of one that comes ‘baked in’ to Home Assistant, that will allow me to release ad-hoc responses whenever Growatt decide to block whatever method we’re using this week.
Medium Term
I will continue to work through the list of backlog items that I outlined here: Growatt Integration - Prioritised List of Features for Implementation/Fixing
I will also work with Indy who maintains the upstream python library to see if there’s anything we can do to make this work for the longer term
Long Term
I will look to do one of two things in order to get the Growatt Integration moved back into the mainstream HomeAssistant repo
- Change to using the Web UI API instead of the Android API, although I worry this could end up suffering from the same issue with getting blocked etc. It would also require an overhaul of the way that the integration works and communicates externally
- Integrate something like ‘grott’ into the HA integration and make the whole setup completely ‘local’, however this will take time and be a complete overhaul of the way that the integration currently works.
Finally
Thank you all for your patience with this integration, it is a labour of love (and pain) but we’ll get there eventually.
I’ll be picking this work up again once the Christmas holidays have finished in the UK.
I recommend keeping an eye out for new repos appearing over on my Github page here: muppet3000 (Chris Straffon) · GitHub in the not-to-distant future
Edit/Update
Since 07/02/2023 (7th Feb) Growatt have started implementing rate limiting and blocking to user accounts that make excessive API calls i.e. this integration. There is an extended discussion around it here.
If you’re interested in the short version read these posts: first, second, third
The recent developments throw into question the long-term viability of this Integration, please see the ‘third’ link above for the proposed plan.