I would be happy to help building something that works with set inverter series I am using (MOD 10KTL3-XH)
I guess you need to be able to monitor / sniff the communication between app and server.
I tried running a proxy in postman and directing the iPhone to use that as proxy.
But that only worked witg the browser. The app is unable to connect.
Hi - I did get someway along with it and just need a little bit of time to complete. Unfortunately work got in the way (!) but I have a couple of weeks off from next week so will work on it then.
Hey, sorry for lack of response. Been another busy period where I’ve not been able to get into my homelab as much.
I’ve not had much success in testing anything when I did try, as the severs haven’t been responding at the times I’ve been testing. Not sure if it’s being blocked or if it’s just the way it is.
If I can take a look this weekend, I’ll see i can share some code.
Aside, it sounds like @muppet3000 is making good progress with the the grott implementation. Has anyone looked that way?
Seeing explosive negative prices atm in denmark and europe this weekend… an exportlimit could be very handy… hope you have time for the project… using it everyday for battery charge/discharge. Thanks for a great project.
Hello @affer do you know if you’re using the main branch, or the testing branch? I think my outbound traffic is being blocked by my firewall (and/or pihole), so need to look into that today first.
P.s. I’ve managed to get it to read the values from the server. Run out of time for this morning, so will come back to it later. Sorry things have been quiet around here… life is busier than normal
If you Flash your shine or use an esp32 to communicate with the inverter you can easily add this as a switch in home assistant - I have been using this to plan charging, discharging etc. Biggest advantage: fully local and very quick response times.
i have another inverter using this esp32 - i can read values from the inverter, but i can not figure out how to send commands to it, do you have a link explaining this ?
growatt_app.py and config.yaml - always backing up the original working file
restarted, and i tried to compare the files with original. my coding skills is not that good :-/
config.yaml is working for both new and old growatt_app.py.
Building on your excellent ad-growatt, I have improved it to be able to control Export limit and Grid first + a few other improvements, that I think makes automations easier. It’s branched out here:
Bascially everything is now in one Lovelace card with functions to Get and Save all parameters on the card.
Thanks for your guide, it helped me eventually getting everything to work and also great thanks to @mjdyson, @KasperEdw, @muppet3000 for providing the code foundation.
My Growatt HA integration is finally where I want it to be, as it can:
Charge the battery when cheap power in the night and low forecasted production tomorrow.
Stop export when prices drop below a certain price point
Export from battery when price is high and forecasted production is high
To get it stable I rely 100% on Grott for data collection, as it will not trigger blocking on the servers and make the ad-growatt module very stable, when it’s only used for changing configuration.
The branched out ad-growatt module can be found here:
The steps to set up is:
If you have the old Growatt integration installed, remove it, as it might trigger the server block on Growatt servers. For monitoring, use Grott. This step is optional but will improve stability greatly.
Install AppDaemon from Add-ons in HA
Copy files from ad-growatt on Github to your config directory (/config on my HA Yellow, will use this path going foroward, but it might be different on your installation)
Fantastic work Kasper! I’m glad that my code was able to help.
I’m also really glad that someone else might be able to offer some support to the people on here. I really struggle to find the time.
Just been working through this, thanks Mark and Kasper!!
Got your branch working just fine. At the moment my use case is just to control charging the battery from the grid overnight (I have a cheap import rate between 02:00 and 05:00). I’ve set a button to enable charging if I want to do it manually. I also have an automation running at 23:30 - it checks if the forecast generation for tomorrow is under 10kWh and also if there is someone at home. If both are true it sets the battery for charge. I then have a fixed automation every day at 06:00 which disables the overnight charge.