question

fenix avatar image
fenix asked

Phoenix Inverter on Raspberry pi?

Hi

i looking to buy a Phoenix Inverter 12-800.....

Will it be show on the RasberryPI if connected via a ve direct usb cable ?

Will it be visible on the vrm?

if yes .. Any printscreen?

tks

VRMPhoenix InverterRaspberry Pi
4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

itsme avatar image itsme commented ·

yes, it will be shown on the Pi an on the vrm

No Data will be visible in the "red box". The inverter pic will not show any LED status (in my installation), but the status as text on top of the inverter pic. By the way, I have the GUI-Mods from Kevin Windrem installed.
inverter-03.png


In the devicelist you see it normally with the regular name and type. (I have min renamed to Phoenix Wechselrichter...)

inverter-01.png



you have detailed data an can switch to on/off/eco

inverter-02.png

you cannot switch the inverter status or limit the power in the RV/Boat screen (grey fields at bottom left)inverter-04.png


Hope that helps...




0 Likes 0 ·
inverter-03.png (33.7 KiB)
inverter-04.png (29.4 KiB)
inverter-01.png (21.7 KiB)
inverter-02.png (16.4 KiB)
dsfas9 avatar image dsfas9 itsme commented ·
I hope that @Kevin Windrem would add functionality to turn on/off Phoenix inverter.
0 Likes 0 ·
Kevin Windrem avatar image Kevin Windrem dsfas9 commented ·
Unfortunately this is unlikely I'll be modifying GuiMods to support Phoenix VE.Direct inverters. I would need access to one of these units to determine the proper dBus parameters to use.


A while back Mvader indicated Victron is working on integrating VE.Direct inverters into Venus which would solve this problem. No timeframe was given.

0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·

If by any chance you are in SF Bay Area - I could give you mine for testing

0 Likes 0 ·
3 Answers
Rob Duthie avatar image
Rob Duthie answered ·

Hi

They show up on the raspi OK.
As i have test bed with one running on it OK.

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Kevin Windrem avatar image Kevin Windrem commented ·
I realize the Phoenix VE.Direct inverters appear in the device list and can be controlled from that menu. But are the Overview pages displaying their data and is the mode controllable on the Mobile Overview page?
0 Likes 0 ·
Rob Duthie avatar image Rob Duthie Kevin Windrem commented ·
Hi

Yes it shows on the VRM site and AC loads on the overview pages OK only basic data like power watts.

0 Likes 0 ·
Kevin Windrem avatar image Kevin Windrem Rob Duthie commented ·
What about inverter on/off/eco control from Mobile Overview?
0 Likes 0 ·
Rob Duthie avatar image Rob Duthie Kevin Windrem commented ·
Hi Kevin

Thats not availble. I am running version 2.72.4 with a raspi 3b+ as my test unit. Running standard software to date. Do you have a dbus code change to test that? As the setting in device list turns on and off OK. A matter of adding in a change?

Regards
Rob D

NZ

0 Likes 0 ·
Kevin Windrem avatar image
Kevin Windrem answered ·

I have made some code changes to display inverters (not inverter/chargers). These changes were intended to provide control and display of the inverter mode (On/Off/Eco) for Phoenix inverters, hopefully including VE.Direct models.

I don't have a Phoenix inverter to test with so I'm looking for others to do some initial testing.

You should see and be able to control the inverter mode (On/Off/Eco) in the Mobile Overview page and also in the additions I made to the Flow Overview, including the inverter mode drop-down.

What I don't know is if the AC output information will appear for these inverters.

I also don't know if the inverter state will show properly on the Multi tile in the Flow Overview.

I also don't know if the power gauges I added to the Multi and AC Output tiles display properly.

I am considering hiding the AC Input tile for Phoenix inverters, but a grid meter complicates this as it can provide AC input data. If you have experience with grid meters and have any suggestions, please pass them on.

Please let me know and provide screen shots if appropriate, either here or preferably to the GitHub repo.

This code should also work properly with Multis and Quatros.

This code is in the test branch and test release at:

https://github.com/kwindrem/GuiMods

It is NOT checked into the main branch so make sure you navigate to the test branch or download from the release branch.

Thanks for your help.

28 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Rob Duthie avatar image Rob Duthie commented ·
Hi Kevin

I will load and test for you.

Regards

Rob D

NZ

0 Likes 0 ·
dsfas9 avatar image dsfas9 commented ·
Is there an easy way to switch to test release from regular one?
0 Likes 0 ·
Kevin Windrem avatar image Kevin Windrem dsfas9 commented ·

There are many ways to do this, but the easiest is probably to type in the following commands:

wget -qO - https://github.com/kwindrem/GuiMods/archive/test.tar.gz | tar -xzf - -C /data
rm -rf /data/GuiMods
mv /data/GuiMods-test /data/GuiMods

You'll also need to rerun the setup script:

/data/GuiMods/setup

then select reinstall (r)

0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·

I am not seeing any changes from the prior version.




d2a80816-35b9-4095-b1ee-20f9719b4417.png

0 Likes 0 ·
dsfas9 avatar image dsfas9 dsfas9 commented ·

..

0 Likes 0 ·
Kevin Windrem avatar image Kevin Windrem dsfas9 commented ·
Thanks for your testing. I've obviously got more work to do.

One thing that might help is to see a screen shot of dbus-spy, the first screen that appears that shows the inverter's service name. And also the first page of parameters in the inverter showing NumberOfAcInputs. That parameter is what I base my inverter/charger vs inverter decisions on.

0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·

...

bae76f34-6d9f-4075-81f8-6666d1cc4694.png

0 Likes 0 ·
dsfas9 avatar image dsfas9 dsfas9 commented ·

..

0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·
Thank you for all your work. Is this what you are looking for or could you tell me where to find what you are looking for.
0 Likes 0 ·
Kevin Windrem avatar image Kevin Windrem dsfas9 commented ·
The info I'm looking for requires a terminal/ssh connection to the GX device.

Type in dbus-spy.

Report the service name of the inverter.

Then cursor down to the inverter and press enter.

Cursor down until you see AC/NumerOfAcInputs and report the value shown on the right side of that line.

Thanks for your help.

0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·

inv-3.pnginv-2.png

is this it? inv-1.png

0 Likes 0 ·
inv-1.png (25.3 KiB)
inv-2.png (30.4 KiB)
inv-3.png (32.2 KiB)
Kevin Windrem avatar image Kevin Windrem dsfas9 commented ·
Thanks. This helps me understand what parameters are available. Turns out the one I'm using doesn't exist! Stay tuned.
0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·

thank you again for all your work with this, much appreciated


State = 1 -- ECO Mode

Mode = 5 -- ECO Mode


State = 9 -- ON

Mode = 2 -- ON

0 Likes 0 ·
Kevin Windrem avatar image Kevin Windrem commented ·

I have made some additional changes with hopes to supporting the VE.Direct inverters. Please grab a new copy and let me know how it's working.

The Flow overview SHOULD display:

  • AC Load tile voltage and current and frequency as well as power
  • Power gauges on AC Load and Multi tiles
  • Inverter mode (On/Off/Eco) in the Multi icon
  • Inverter mode popup (touch the middle of the Multi icon)
  • Shore Power/Grid tile should be blank at this point - still haven't figured out when to hide it.

Mobile Overview SHOULD:

  • Display power, voltage, current and frequency in AC LOADS tile
  • AC MODE should cycle between ON/OFF/ECO
  • AC CURRENT LIMIT should not function

https://github.com/kwindrem/GuiMods/tree/VE.Direct-test

or

wget -qO - https://github.com/kwindrem/GuiMods/archive/test.tar.gz | tar -xzf - -C /data

rm -rf /data/GuiMods

mv /data/GuiMods-test /data/GuiMods

data/GuiMods/setup
0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·

Thanks, but I am getting different buttons than what you have above and they don't do anything.


inv1.png


0 Likes 0 ·
inv1.png (50.5 KiB)
Kevin Windrem avatar image Kevin Windrem dsfas9 commented ·
Well ... need to do some more digging. I based everything on a parameter I though would provide in indication of the type of inverter present but sadly it's not doing what I expected. Not having a unit to test with makes this a guessing game. Need to think about this more.
0 Likes 0 ·
Kevin Windrem avatar image Kevin Windrem Kevin Windrem commented ·

The inverter mode popup indicates the code is assuming a VE.Bus inverter/charger which is wrong in your case.

Made some additional changes. See if this makes any difference.

Thanks again for testing.

0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·

am I doing something wrong or is setup file missing?

inv2.png


0 Likes 0 ·
inv2.png (10.8 KiB)
Kevin Windrem avatar image Kevin Windrem Kevin Windrem commented ·
Setup file WAS missing. It's there now.
0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·

is AC loads new? still unable to turn on the inverter :( inv2.png

0 Likes 0 ·
inv2.png (50.5 KiB)
Kevin Windrem avatar image Kevin Windrem Kevin Windrem commented ·

The fact that voltage and current show up in the AC Loads tile is sign of progress.

This next version makes the same changes in the other areas. So hopefully all will work now.

The VE.Direct inverters don't provide frequency, so I'm now hiding that rather than showing "--"

You should now be able to change inverter mode from the Flow Overview page. And the Multi tile should show the current mode.

Same controls on the Mobile Overview. Please test that also. If you haven't enabled that page, you can do so in Settings / Display & Language menu.

0 Likes 0 ·
dsfas9 avatar image dsfas9 Kevin Windrem commented ·

Good job! It works! Thank you very much!



0 Likes 0 ·
dsfas9 avatar image dsfas9 dsfas9 commented ·

..

0 Likes 0 ·
dsfas9 avatar image dsfas9 dsfas9 commented ·
...
0 Likes 0 ·
dsfas9 avatar image dsfas9 dsfas9 commented ·

....

0 Likes 0 ·
dsfas9 avatar image dsfas9 dsfas9 commented ·

....

0 Likes 0 ·
dsfas9 avatar image dsfas9 dsfas9 commented ·

....

0 Likes 0 ·
Kevin Windrem avatar image Kevin Windrem Kevin Windrem commented ·
Great! I see a few of things I need to clean up but glad the basic functionality is there.

ToDo:

  • hide frequency line in AC tiles
  • change "INVERTER ONLY" to "ON in AC MODE in Mobile Overview
  • hide AC CURRENT LIMIT

Anything else you find, let me know.

0 Likes 0 ·
Kevin Windrem avatar image
Kevin Windrem answered ·

VE.Direct inverters are now displayed on the Flow Overview and Mobile Overviews. In addition, the inverter mode can be changed from these two overviews as well.

VE.Direct inverter modes are: On/Off/Eco

VE.Direct inverters have no AC input so the AC Input on the Flow Overview is hidden. Likewise, the AC INPUT and the CURRENT LIMIT tiles of the Mobile Overview are marked NOT AVAILABLE.

VE.Diredt inverters do not provide AC output frequency so those values are not displayed.

These changes are now on the main branch and the test branch and tag have been removed:

https://github.com/kwindrem/GuiMods

Please report any issues and I'll do my best to fix them quickly. I don't have a VE.Direct inverter and rely on accurate and detailed problem reports.

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

dsfas9 avatar image dsfas9 commented ·

all is working, thanks!




inv3.png

inv2.png

inv1.png


0 Likes 0 ·
inv1.png (46.0 KiB)
inv2.png (50.0 KiB)
inv3.png (58.1 KiB)
itsme avatar image itsme commented ·
Kevin, thank you so much for your work. Excellent! I like it.
0 Likes 0 ·
itsme avatar image itsme commented ·

eco-ve-direct.png


Added to mulit.qml (~line 76):

case 5:
    return "E c o"
    break;

to show the Eco-Mode.

0 Likes 0 ·
eco-ve-direct.png (34.1 KiB)
Kevin Windrem avatar image Kevin Windrem itsme commented ·
Saw that on a friend's system and it has been fixed in the latest version.
0 Likes 0 ·

Related Resources