-
Notifications
You must be signed in to change notification settings - Fork 36
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
Device inverter instead of pvinverter possible? #42
Comments
as long as you have a DTU like ahoy or opendtu, that we can read data from, it can be displayed in venus OS |
We create a PV inverter in DBUS https://github.com/victronenergy/venus/wiki/dbus#pv-inverters I guess you would need another service to make that correct |
Yes, I would assume that something like this would be through the com.victronenergy.vebus. Maybe also com.victronenergy.multi would work.. |
Sounds great! |
This looks close: https://github.com/Telekatz/venus.dbus-hoymiles |
we did a merge, your link is a different use case. Maybe that project is a better bit for your use case |
I will try to ask the autor there for a possible update to disble the steering of the HM input. |
Was just reading the code and then found this issue. It shouldn't be that hard to take this code and change |
I think it needs to be a config flag, which allows for different mode. If you are interested, please create a fork and test, we can help with the code and Pull Request. We would include this into code for sure, just have no time yet to do it myself. |
Closing this because of #53. Please reopen or create a new issue if necessary. |
Reopening, as we need to also implement it for ahoy and opendtu and not just template |
Hi, I have added the customization of servicename for dtu now as well. As I do not have any of these devices, what would you want to see and how to display? |
Inverter0 shows at not connected, Interverter1 works fine. |
I think for inverter there are other variables: |
correct, but I would need to know, which one to present to dbus. |
I think we will need: /Dc/0/Voltage <- Battery voltage with Servicename=com.victronenergy.inverter |
Dear all, was this feature request from @TheGrumpyBadger already built in ? I tried to use the Servicename=com.victronenergy.inverter for Inverter0, but without luck. Seems it is not yet implemented... |
Yes, setting the servicename was implemented in #53. But it seems there are devices (servicenames) where it is not sufficient to only set the servicename and some more attributes need to be set. This is why THIS ticket ist still open. |
Hey @Tom051276 would you mind to post the debug log? Logging=DEBUG Right now it looks correct for me. if dtuvariant != constants.DTUVARIANT_TEMPLATE:
logging.info("Registering dtu devices")
servicename=get_config_value(config, "Servicename", "INVERTER", 0, "com.victronenergy.pvinverter")
service = DbusService(
servicename=servicename,
paths=paths,
actual_inverter=0,
) Maybe there's something wrong with the getter. I'm not able to debug that right now. |
As far as I see the paths are only implemented for pv inverter: The paths for a "non-pv"-inverter I posted above. |
Got you. I created a new branch feature-non-pv-inverter. I'm not able to test it yet but maybe it's a start |
Good to know. If so, such information belongs to the readme. I also figured out that (at least in my installation) it takes up to 10 minutes before the VRM-Portal starts showing the live values of an e.g. (PV-)inverter. |
The 10 minutes can be configured in vrm or Venus, as the graphs you see are historical, that is why you have a delay. I would at least use a delay of 10 minutes, as too short delays, you can have historical errors in case of unreachable or reboot of opendtu when opendtu shows 0 |
@henne49 ah yes, that's probably the rease for the delay. I am "happily" using 1 Minute.
It's in the config.ini: |
@TheGrumpyBadger : Where do we have to look in your images? I was expecting an "inverter" instead of pvinverter. |
In general: If a device becomes an inverter, the device in the middle (with the Victron logo) represents that device. This is why there is a label "Inverting, Off, etc.". Furthermore, it works like that: The inverter takes Energy from the Battery and pushes it to AC-Loads. which then shows up in "consumption". Feel free to correct me if something that I said isn't right. |
You are right. On the screenshot are two HM-350 on a single openDTU-onbattery. |
The (now correct) numbers are showing that I got 0.2 kWh from the grid and feeded 0. |
for the inverter config it's indeed a soft decision. An inverter has no "AC input", so I thought "AC output" must be right, but perhaps not. That's why I'm in testing. |
My mistake in thinking was to assume you had a Multiplus (then, it is clear where your inverter is connected). If you have none, I understand that you have to experiment. And your result "AcPosition=0" (->"AC input 1") seems plausible, as "AC input 1" is the one that is connected to the grid. And your inverter is also connected to the grid, if I understood correctly. |
Hello, first thanks for this Project! I have these Settings in the config.ini:
Thank you! |
Hey 👋 |
That's right. I'll try your setup with a test device the next days. It could be that an Inverter does not have ac in which lead to your problem. Could you try ac out? |
Not so easy... but i have activate the AC-IN from the Multiplus, unfortunately still the same. |
Ok I see. First of all this setup was implemented without a Multiplus in place. But still... I'm wondering why there are no values at all in your setup. I'll try to figure it out but because of "Vatertag" it has to wait ;-) |
Thank you... it would be nice if it works with a Multiplus too :). But first i wish you a great "Vatertag" ;). |
Hello, I have set it to L3 in config.ini ( 2nd inverter ). How can I change it to L3? Thanks |
OK, then I have to live with it. |
We are currently (atm) doing several experiments, but yes, it seems Victron does not support it... At least not this way, maybe there is another one... |
Please keep in mind Victron never intended to use an inverter on a system conncted with the grid. |
Yes, will certainly be better, |
What do you mean by mimic/imitate a Multiplus? |
Hello, gives it already a Solution or is it not possible :) |
We're still experimenting but it seems that it does not work as a an Inverter. I'll rebuild the code base to support more device's. I cannot tell when I start because I'm also busy right now. :-( |
If I got you right, you want to tell victron that your hoymiles is actually an ac-inverter rather than an pv-inverter. If I remember right there is currently no solution for this use case. I'd like to emulate a Multiplus for this situation but I think there is much more that has to be implemented. Just a note: In your config you did not comment out the service name. So it won't work like this. Feel free to try some other variations but I'm not sure if it works. |
Yes, that is exactly what I try to achive. I do not have an victron inverter in my installation. Only the Hoymiles HM1500 which is running as an ac-inverter. I found an emulation for victron multiplus inverters. But this implementaion was also not solving the problem. It is a shame that there is not solution available. Anyhow thanks for your clarification on this issue :-( Yes I am aware the in the attached file the servicename was comment out. On my cerbo it is not. |
My HM-350 is connected to a LFP battery, which is charged by a Victron MPPT.
Is it possible to show the HM-350 as an inverter, as it is using DC power instead of PV ?
The text was updated successfully, but these errors were encountered: