Mark avatar image
Mark asked

control relays from tile page


Has anyone added relay switches to the tiles on the main pages? 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 pagemain.qml 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

Venus OSRaspberry PiRelay
2 |3000

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

0 Answers

Related Resources

Victron Venus OS Open Source intro page

Venus OS GitHub (please do not post to this)

Additional resources still need to be added for this topic