Generic custom sensor support for GUI v2 (e.g. tilt/inclinometer via MQTT)

I’ve built a DIY vehicle-leveling sensor (MPU6050 on an ESP32, publishing roll/pitch/temperature over MQTT) that I’d like to display natively in GUI v2 alongside my other Victron data, since I’m already viewing everything else through the Cerbo.

The problem is twofold:

No device type fits this kind of sensor. There’s no tilt/inclinometer type in the schema, so the closest working option via dbus-mqtt-devices is misusing the tank service type — rescaling a signed degree value into a 0–100% “level,” which loses the actual unit and meaning.

Every existing gauge/level widget assumes a fixed min-to-max fill from one end (like a tank filling from empty to full). Tilt data is naturally centre-zero and bidirectional — the value can go positive or negative either side of a resting “level” point, and the visualisation needs to reflect that directly: either

a readout that moves left/right (or up/down) from a centre point, like a balance/pan indicator, or

a bubble-level style display (a dot/bubble moving within a circle or along an axis, offset from centre in the direction of tilt).

A standard 0–100% fill bar simply can’t represent this meaningfully — you lose the sign and the “which direction am I tilting” information entirely.

This seems like the same underlying gap as the existing [Levels page tanks/environment feature request] — no path for genuinely custom sensor data to render properly without pretending to be an existing device type, and no widget style suited to naturally bidirectional data.

Request:

A generic “custom sensor” device type for dbus-mqtt-devices / GUI v2 accepting a value, unit, label, and min/max range — without impersonating a tank, temperature probe, or other existing type.

A centre-zero display option for such sensors — either a bidirectional bar/slider (filling left/right or up/down from a centre point) or a bubble-level style widget — suited to tilt, balance, and similar signed data, not just one-directional fill levels.

This would open up a lot of DIY sensor integrations (tilt, air suspension pressure differential, etc.) that currently have no clean home in the GUI. Happy to share more detail on my setup, or example visuals, if useful.