# Virtual switch basic slider path changed?

**URL:** <https://community.victronenergy.com/t/virtual-switch-basic-slider-path-changed/54418>\
**Category:** Node-RED\
**Tags:** virtual\_switch, bug\_report, cerbo\_gx\
**Created:** [5 March 2026 11:57 UTC](https://community.victronenergy.com/t/virtual-switch-basic-slider-path-changed/54418 "2026-03-05T11:57:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ormira](https://avatars.discourse-cdn.com/v4/letter/o/e47774/32.png) [@Ormira](https://community.victronenergy.com/u/Ormira)\
**Post date:** [5 March 2026 11:57 UTC](https://community.victronenergy.com/t/virtual-switch-basic-slider-path-changed/54418/1 "2026-03-05T11:57:42Z")

</div>

I created a basic slider last week-end with a control loop on a node-red slider. It worked until after multiple reboot of the cerbo (to debug another problem) the path in dbus seems to have changed from “/SwitchableOutput/output\_1/Value” as indicated in the doc to “SwitchableOutput/output\_1/Dimming”.

```flows
[
    {
        "id": "063b59405b5c5008",
        "type": "tab",
        "label": "Flux 1",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "c0c7105a96bef62a",
        "type": "ui_slider",
        "z": "063b59405b5c5008",
        "name": "",
        "label": "Max charge",
        "tooltip": "",
        "group": "f0d944440512ba91",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": true,
        "outs": "end",
        "topic": "topic",
        "topicType": "msg",
        "min": 0,
        "max": "120",
        "step": 1,
        "className": "",
        "x": 190,
        "y": 60,
        "wires": [
            [
                "d5588257e617819f",
                "50397b23c8b21b1e"
            ]
        ]
    },
    {
        "id": "d5588257e617819f",
        "type": "function",
        "z": "063b59405b5c5008",
        "name": "State to JSON",
        "func": "msg.payload = { \"/SwitchableOutput/output_1/Value\": msg.payload };\n\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 380,
        "y": 60,
        "wires": [
            [
                "e279d3343a5ca649",
                "c6e62db2fe2f4944"
            ]
        ]
    },
    {
        "id": "e279d3343a5ca649",
        "type": "victron-virtual-switch",
        "z": "063b59405b5c5008",
        "name": "",
        "outputs": 2,
        "switch_1_type": "7",
        "switch_1_min": "0",
        "switch_1_max": "120",
        "switch_1_initial": 0,
        "switch_1_label": "",
        "switch_1_unit": "A",
        "switch_1_step": 1,
        "switch_1_customname": "Max charge",
        "switch_1_group": "AC",
        "switch_1_include_measurement": false,
        "switch_1_rgb_color_wheel": false,
        "switch_1_cct_wheel": false,
        "switch_1_rgb_white_dimmer": false,
        "x": 580,
        "y": 60,
        "wires": [
            [
                "3433229a708a88fa"
            ],
            [
                "c0c7105a96bef62a",
                "c210ebd486efc5ec"
            ]
        ]
    },
    {
        "id": "50397b23c8b21b1e",
        "type": "debug",
        "z": "063b59405b5c5008",
        "name": "debug ui out",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 370,
        "y": 160,
        "wires": []
    },
    {
        "id": "c6e62db2fe2f4944",
        "type": "debug",
        "z": "063b59405b5c5008",
        "name": "debug fct out",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 550,
        "y": 140,
        "wires": []
    },
    {
        "id": "c210ebd486efc5ec",
        "type": "debug",
        "z": "063b59405b5c5008",
        "name": "debug vs out",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 766,
        "y": 127.0999984741211,
        "wires": []
    },
    {
        "id": "3433229a708a88fa",
        "type": "debug",
        "z": "063b59405b5c5008",
        "name": "debug vs passthrough",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 800,
        "y": 40,
        "wires": []
    },
    {
        "id": "f0d944440512ba91",
        "type": "ui_group",
        "name": "Default",
        "tab": "79e08d895c0a1d45",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "79e08d895c0a1d45",
        "type": "ui_tab",
        "name": "Home",
        "icon": "dashboard",
        "disabled": false,
        "hidden": false
    },
    {
        "id": "eba3a68b03975d55",
        "type": "global-config",
        "env": [],
        "modules": {
            "node-red-dashboard": "3.6.2",
            "@victronenergy/node-red-contrib-victron": "1.6.60"
        }
    }
]

```

Online doc :

 ![image](https://europe1.discourse-cdn.com/victron/original/3X/b/4/b49afe3f77fe1b2d7fd205cbc95ea9a9d7720531.png)

Message d’erreur :

 ![image](https://europe1.discourse-cdn.com/victron/original/3X/9/5/95bda761c1758ee753c87d6a34f528c1be10fd9f.png)

Contenu dbus :

 ![image](https://europe1.discourse-cdn.com/victron/original/3X/5/f/5fbf345e458df317284b5cfcdca0482508769f59.png)doc

---

<div class="post-metadata">

**Author:** ![rljonesau](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@rljonesau](https://community.victronenergy.com/u/rljonesau)\
**Post date:** [8 April 2026 10:52 UTC](https://community.victronenergy.com/t/virtual-switch-basic-slider-path-changed/54418/2 "2026-04-08T10:52:13Z")

</div>

Thank you for your findings Nicholas.

I too have been battling with getting a slider to behave to Value and Max as presented in the online help.

These are very much wrong, and now need to be Dimming and DimmingMax.  
Documentation is always the “unwanted chore” but yes, it would be nice to have it corrected ASAP.

On a related matter, I’d rather the slider as a pure indicator, not accepting user input.  
Is there any way to make it so it is purely for status reporting?

I cannot seem to find anything suggesting such a mode…

Ray

---

<div class="post-metadata">

**Author:** ![dfaber](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/dfaber/32/13_2.png) [@dfaber](https://community.victronenergy.com/u/dfaber)\
**Post date:** [8 April 2026 10:59 UTC](https://community.victronenergy.com/t/virtual-switch-basic-slider-path-changed/54418/3 "2026-04-08T10:59:18Z")

</div>

The indicator functions are still under development. Meanwhile you can use

- `/SwitchableOutput/output_1/Status` — Bitmask: 0x00=Off, 0x09=On, 0x01=Powered, 0x02=Tripped, 0x04=Over temperature, 0x08=Output fault, 0x10=Short fault, **0x20=Disabled** , 0x40=Bypassed, 0x80=Ext. control.

So setting it to `0x20` disables the controlling and basically mimics just an indicator.
