question

drumond avatar image
drumond asked

Is it possible to adjust the visible elements of the CCGX overview screen

Hello,


The main page of my CCGX is showing AC input,AC loads, PV charger, etc.


As I don't have some AC components in my van, is there a way to get rid of them in this page? I have no use of seeing them.


Thank you.

CCGX Color Control
5 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.

Alistair Warburton avatar image Alistair Warburton commented ·

I looked, briefly, at that and I am pretty sure that the sure that the CCGX and GX are actually based on BeagleBone boards running Linux.

Moreover I think they are open source and have developer pages/comunitities.

Assuming I wasnt dreaming then that architecture would suggest they are running a web server and likely using the same HTML or more likely XML for the display and web interface.

I dont know much about Linux but when messing with a PI 3 I didnt find it easy, being used to PC based IDE's. I dd see that the GX code can be compiled for PI and several other platforms so I suspect you could do literally anything you want to and the information required will be there somwhere.

I also suspect it would be anything but trivual...

Sorry I was wrong...

Linux kernal yes but development of the UI is QT/QML using QT Creator apparantly, some reading this end I think.

Changable yes, easily, not unless you already knew how to or were using QT for something else.

0 Likes 0 ·
jeroen avatar image jeroen ♦ Alistair Warburton commented ·

Hello Alistair,

You are commenting on something in the advanced part of the community. Can you please make sure you know what you are talking about _before_ posting. Obviously wrong answers are really annoying.

Regards,

Jeroen

0 Likes 0 ·
Show more comments
1 Answer
jeroen avatar image
jeroen answered ·

Hi, you can have a look at /opt/victronenergy/gui/qml/OverviewHub.qml which is likely the overview you are looking at.

adding visible: false will hide the items you don't want to see.

But more interesting what do you have connected? Perhaps we should solve this is general..

Regards,

Jeroen

btw. updates undo such changes...

1 comment
2 |3000

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

Allan Yates avatar image Allan Yates commented ·

Joeroen,

"and I will write a readme about that so people don't brick their device)"

That would be extremely helpful! I just purchased a CCGX to use as a development system, have got SSH working and did your "visible: false" test successfully.

I just got QT Creator installed and will start playing with that. QML is all new to me. Any architecture information that you could include in your readme file would be greatly appreciated. May this all will be clear once I get an understanding of QML, but things like how the different QML files relate to each other, which ones are "run" when, which are the "base" files, the relationship with "com.victronenergy.system", and the relationship with "sys: theSystem".

There is a trick somewhere I read that allows a script to be run on a reboot/update, which can copy modified files from a location that doesn't get updated. No clue if this actually works.


My goals are:

  1. Customise the OverviewHub page to exclude the non-applicable elements to our ship.
  2. Display on the OverviewHub page non-Victron elements (i.e. current flow from engine alternator).


Thanks,

Allan.

0 Likes 0 ·