Help needed to integrate custom D-Bus service with QML page inside Cerbo GX Settings menu (gui-v1)

Hello Victron community,

I’m looking for guidance on how to properly integrate a custom D-Bus service into the Settings menu UI on a Victron Cerbo GX device running gui-v1.


What I’m trying to do:

  • I want to add a new QML page inside the Settings menu, similar to how other devices or services appear under /Settings.
  • This page should interact with a custom D-Bus service, for example:
    com.victronenergy.settings.dummy
    with paths like /update, /install, /uninstall, etc.

Where I need help:

  • How can I properly link this new service to a QML page inside the Settings menu?
  • What changes are needed in GUI-v1 to make the service discoverable by the Settings page?
  • Is there a specific pattern, file, or structure I need to follow to register the service?
  • How do I bind D-Bus paths to QML components (e.g., buttons, toggles) so that changes made in the GUI reflect on the service?

Request:

If anyone has experience with creating custom entries in the Settings menu of gui-v1, or has examples of how to link a QML page to a custom D-Bus service, I would really appreciate your guidance!

Thank you in advance

As long as it’s for gui-v1, take a look at this: GitHub - kwindrem/GuiMods: VenusOS GUI enhancements and modifications
You can get a lot of info and experience by looking at how others have modified gui-v1.

It works the other way round :slight_smile:

  • You link the qml page to the service / it’s dbus-paths.
  • None, you modify the QML settings menu to show your settings page.
  • You design a control in the qml and link it to the dbus-path it should affect.

Just check the original qmls, for example for ESS-Settings, and you quickly figure out how it’s done.

Heres also a quite old service adding a UI component - should give you ideas as well:

Sure, I will try this. Thank you for this lead.

Thank you for this lead. it is working now.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.