article

markus avatar image
markus posted

HowTo: Change Tile Names in Venus OS Tile Overview

If you ever wondered, if it's possible to give custom names to tiles displayed in the Venus tiles overview, it is.

Navigate to: /opt/victronenergy/gui/qml and edit OverviewTiles.qml

The tile name for each tile is set with: "title: qsTr ("TILENAME")", just change the string.

I used this for example to change "PV Power" tile to "Hydro Power" for my Hydro Power MPPT

or change "DC Sytem" to "DC Loads" which sounds more appropriate in my opinion.

It is also possible to change the tile color of a tile in changing the hex value for color.

If you are looking for a good freeware text editor, I can suggest PSPad.

Best Regards,

Markus

Venus OSmodifications
8 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.

ben avatar image ben ♦ commented ·

Note that these changes will not survive a firmware update, so you'll have to go back and re-apply them after upgrading.

There is a way to make changes like this survive upgrades, but it is fairly involved and anyway probably better to manually do it each time in case the QML itself gets an update at some point.

1 Like 1 ·
Mark avatar image Mark commented ·

HI

Have you added relay switches to the tiles? I've managed to add a switch to the tile but I cant select/switch it? I added this to the tile

Tile {

width: 160

height: bottomRow.height

editable: true

readOnly: false

color: "#538ed7"

border.width: 2

border.color: "#fff"


MbSwitch {

id: manualSwitch1

name: qsTr("L/L")

bind: "com.victronenergy.system/Relay/1/State"

show: hasRelay1


}

I'm guessing ive missed a comand or something? when i added the mbswitch to page main it works ok. I'd just like to be able to switch the relays from one of the main tiles rather than having to open menu.

Hope this makes sense

Thanks Mark

0 Likes 0 ·
Show more comments
espen avatar image espen commented ·

@Markus, I've seen screenshots of your Console where you have changed the icon for the pv charger. Have you edited the original icon, or added a second one for the Hydro?

And are you manually redoing your changes after an update, or are you using scrips to auto reload your changes after an update?

I have a mppt on a wind turbine, and next is to add a new icon for wind:)

0 Likes 0 ·
-20200524-231617.jpg (172.1 KiB)
Show more comments
daniel-martin avatar image daniel-martin commented ·

Hi Markus, I have followed your commands and I find after rebooting the changes have reverted. Not sure how to save this modified OverviewTiles.qml file and have it nor revert after a reboot. Perhas newer versions on Venus have rendered this path obsolete.


0 Likes 0 ·

Article

Contributors

Markus contributed to this article