-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MIN TL-XH inverter format has different keys for battery info #15
Comments
@shampeon thanks for getting in touch, I believe this is a duplicate of #10, however, since we have all of the relevant information here it would be really nice if you could help me out and tell me what the "human name" is for each of these values e.g. I assume
|
I'm about to head out for a vacation, but I did find this protocol document that appears to have descriptions of these keys. See page 53. I haven't found a recent copy of "GrowattxxSxx P ESS Protocol" that supposedly has more details, though. FWIW, here's what I see in Shine: And this is from Grott:
|
Thanks @shampeon that's a great start, I'll try and implement as many of these as possible next week when I'm back at my desk. |
@shampeon Please could you try pulling the 'main' version of this integration via HACS and then letting me know if the missing battery values now appear? |
You were cutting it fine there, I was literally just about to shut my laptop down for the night. I've just pushed to main again with a corrections for both of these - can you confirm they're now correct? |
I'm now shutting down - looking forward to some feedback on this though. |
I'm going to remove/redownload once more to make sure. We can deal with this in the (UK) AM, though. Muchos gracias for your hard work here. |
Ok, let me know if you have the same issue tomorrow and I'll take another look. Maybe take a look in the HA logs as well, I maybe have made a typo that's causing it to throw an error, but that wouldn't make any sense, all the sensors would fail to update if that was the case. I'll assist further tomorrow if needed. |
Well that's a whole load of weird! Especially since the calculation of additional values has nothing to do with the battery values (unless I've made some really odd mistake). As for the configuration box not being consistent - I'll need to take a look at that, that's a separate bug in it's own right. Now that you have the battery values showing, are you able to confirm that they are correct? |
I've gone back and checked the code/logic. The only thing I can think to confirm the above suggestion is to restart HA or remove/re-add the integration. Then leave it for a while, see if the integration eventually discovers the values. There's absolutely no reason for these values not to appear based on this config check box (which I appreciate needs fixing, but isn't related to this problem). If the values are there on MQTT then they should appear in HA. |
That's odd, I can't explain that delay for the sensors at all, other than the values being pushed at different rates to MQTT. Very odd behaviour! I've just pushed a commit to main for the Current value, hopefully that should show the correct value now. |
Confirmed. LMK if you want to screenshare so you can see the behavior live. |
Thanks for the confirmation. At least the sensor is now working just not as often as it should. Would you mind opening a new big so that we can focus on that problem separately? Copy all the details from above on how to reproduce it and I'll think about how we can debug it. Maybe just some aggressive logging could help in the first instance. I'll close this bug when I do a release that contains the fix (hopefully over the weekend). |
Opened #17. |
Thanks @shampeon - So to be clear there are no issues with the new battery values any more, they persist between reboots etc and are updated. |
That's correct. Once the entities populate, they appear to persist across reboots, and as I found today, across HA upgrades. |
Released in v1.1.0 |
My MIN-TL-XH inverter uses the T06NNNNXMIN.json format. The keys for the battery information are different between these inverters and e.g. the SPH inverters.
E.g.
bms_batteryvolt
instead ofvbat
.So none of the battery entities are created in HA.
The text was updated successfully, but these errors were encountered: