-
Notifications
You must be signed in to change notification settings - Fork 51
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
New Inverter Generation "Tripower X (STP XX-50)" not working #119
Comments
I need debug logging to troubleshoot this as I dont own such a device. |
@rklomp as I just literally turned it on last week and it's my first inverter ever would you mind pointing me to the direction where to get the debug logs? Or are you talking about the support log? I'm not quite sure which data you'd need and how I can get them. Sorry for that noobish start of mine. 🫣 |
The best option for testing would be to clone this repository and run the example.py script. |
Here's what I did receive doing this (password is of course removed definitely the right one was used):
I don't know about previous inverters but this one does allow me to log in with a chosen username and not like the energy meter I also have to pick either "user" or "installer". In the initial setup it asks for a username and the role. Perhaps this was different in the previous generation? Can't tell because I do not have some "older" model which I could access so it's just a random guessing. |
Could you log traffic in your browser while logging in to the webinterface of your inverter and share that info? You can send it in a pm if you prefer that. |
Don't really know how to send a PM over GitHub. I was under the impression there is no such option... do you have a place where I can send the file to? |
Ah yes you are right. I thought my discord name was on my profile. Do you have discord? My username is rklomp#3849 |
Thanks, I did sent you a request (Kurisutian#0542)... I'm not that often in there but I did create an account at one point. |
Thanks for the har file. I looked at the communication with the inverter. These new models use a new api to communicate with the device which is completely different to the current implementation for |
Just as a remark: I have written a small proof of concept script for sending data from the Tripower X series via MQTT to the Home Assistant. A general question: Do you insist on a new library or would you accept a PR with an extension? |
If we can integrate it nicely into one library that would be great. Just make a proposal and I will have a look at it :) |
Implementing the new Tripower X series is going to involve a bit more work, as the webconnect API has been changed up completely. There's now a bearer token required for authentication and they've added proper user management (no more password-only login). All the endpoints have changed, as well as the JSON responses and naming scheme of the measurements and parameters. |
I've just today started trying to integrate my tripower unit with homeassistant, running into the same issue,leading me here. Will clone the repo and look at the code later today, is there any information/logs/etc needed to help this along? |
Has there been any new insights on this? Just asking out of curiosity not out of impatience (I have an energy meter in place so I can get the most basic information needed from there). Just wanted to know if there has been any breakthrough from anyone or anything I could help with by testing it or anything. 😄 |
Hello everyone, I found this thread since I am owner of a Tripower X STP 15-50. Really looking forward to the alfa-reseales and final result. I am unexperienced in writing code and troubleshooting connection-issues and figuring out how to write a code that implements the required API etc. |
Hi all, I got here because I tried adding a Tripower X STP 25-50 to the SMA integration in Home Assistant. If I can help testing, let me know. |
Same here. Willing to test out any new code ;-) |
FYI, this model can now be integrated using the ModBus protocol and the SunSpec integration in Home Assistant. There is some info here: https://community.home-assistant.io/t/sma-tripower-x-stp-xx-50/536572/21 |
I am also available for testing. It would be great if the X inverters would also work with the official integration. By the way, these inverters use a different operating system called ennexOS. This operating system will be used by SMA in the future. I don't know whether this is relevant for this integration, but it might be useful information. |
I am in the same situation. SMA Tripower X 12KW to be integrated in HA. |
Can someone run the example.py from this lib on a supported (Tripower SE?) inverter? https://github.com/kellerza/pysma/blob/master/example.py |
To avoid redundant work: https://github.com/littleyoda/pysma/tree/tripowerX The next steps for integration in Home Assistant will be a lot of work. |
For the german readers: I have finished a prototyp. For testing reason I created a custom integration first. Now supported:
The current version is for people who are familiar with Home Assistant and HACS. The version will certainly contain errors. Procedure:
|
Just tested with an Energy Meter 2 and a Tripower X-25, both seem to work flawless for now. Thanks for your efforts. I will keep monitoring them for stability. Hopefully it will be more reliable than the sunspec protocoll which sometimes just not work. |
Just installed on a test platform of HA. Works fine with my Sunny Tripower X 12 and my Sunny Boy Storage SBS5.0-10. One question though: How is the detection of the Sunny Home Manager 2.0 working? When I try to add it to the integration HA hangs for around 10 minutes (seems to go into some kind of timeout then). No messages shown. kr |
No everything, but a lot of it. see: If you need further measured values, please let me know.
This is definitely a bug. A timeout is probably missing there. |
@littleyoda |
I definitely want to integrate my changes into pysma at some point. After that, the way is open for HA core. But that will be a long way off. For this I will also need support from the library authors, with whom I am already in contact, but who also only have very limited time. As I also only have limited resources, I'm not in a hurry. |
Any chance it will work with a Tripower STP 8.0 SE? |
After setting up a new SMA inverter (SMA Tripower X STP 25-50) I wanted to integrate it with Home Assistant and the current SMA integration.
I have checked with all possible combinations of the settings but unfortunately the connection seems to be impossible. Although I have the installer password, a static IP address and did disable the ssl verification I always get an authentication error (Invalid Authentication) as a result.
So currently the SMA integration does not seem to work with the new SMA inverter generation at all.
I also found a comment in the HA Forum where somebody mentioned that pysma does not support the new generation at all and after opening an issue at the HA side (home-assistant/core#90313) I was asked to open one here as it seems to be rather related to pysma.
The text was updated successfully, but these errors were encountered: